Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Create/edit new meta tags w/in EXIF image jpg

Create/edit new meta tags w/in EXIF image jpg

All your problems with Audio, Video and Images.

Create/edit new meta tags w/in EXIF image jpg

Postby stevebull » Thu Mar 18, 2010 4:59 pm

On the Android device I would like to write a title and caption to a meta tag(s) structure within the header space of .jpg file. The Android library is already attaching helpful GPS data to the image. However, after taking a photo I want to write/attach/edit a title and photo caption into the meta tag space of the image file. How would I do that? I do not want to reinvent the wheel here. I prefer to use industry standard xml tag structure.

Then I send these photos to my ISP and there combined with some had coding on my part and for my proof-of-concept-to-self guided by this resource at http://www.php.net/manual/en/function.e ... d-data.php I write a nifty :D php script to extract/present a date, description....

$GPS = exif_read_data ('images/2010/IMG_0002.1.jpg','GPS' ,0 );
echo $DateTime = $GPS['DateTime'];
echo '


';
echo $ImageDescription = $GPS['ImageDescription'];
echo '


';
......

Your thoughts, guidance and/or links are gratefully appreciated.

Best,
Steve Bull
stevebull
Freshman
Freshman
 
Posts: 3
Joined: Wed Jan 06, 2010 5:03 am
Location: New York City

Top

Postby jean_francois » Thu Mar 18, 2010 6:14 pm

http://developer.android.com/intl/de/re ... .String%29

Use the setAttribute() method of the ExifInterface constructor? Never tried it, but it looks like the best way.
jean_francois
Freshman
Freshman
 
Posts: 6
Joined: Fri Mar 12, 2010 1:20 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests