Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Extracting Exif Data

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2008, 07:52 PM
Junior Member
 
Join Date: Jul 2007
Posts: 37
Question Extracting Exif Data

Hi everyone,

I'm wondering if it's possible to extract and use the exif data from a .JPG file. I guess that opening the .jpg file in byte mode will be the first approching, but is there any function/object/dll or something to do it?

Thanks in advance,

Jes.
Reply With Quote
  #2 (permalink)  
Old 02-14-2008, 11:40 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It is possible to do it using the BinaryFile.
The Exif raw format is pretty complicated so it is not an easy task.
There is no built-in function that does it.
Reply With Quote
  #3 (permalink)  
Old 02-14-2008, 06:37 PM
Junior Member
 
Join Date: Jul 2007
Posts: 37
Default Exif

Ok. thank you.
Reply With Quote
  #4 (permalink)  
Old 02-17-2008, 06:20 AM
tigme's Avatar
Newbie
 
Join Date: Feb 2008
Posts: 4
Default

I have done a similar thing extracting IPTC data from JPEG reading the file in binary with PHP4 and then do a search for tags to find the Caption of a photo created in Photoshop (for example). So theoretically finding EXIF would be same.

What I would like to know is:

Does anybody have some advice writing your own IPTC/EXIF data into a JPEG. I'm developing an App where the client can edit upload his pics and then FTP them as needed.

I want to do an FTP Client in B4PPC that can resize/ftp JPEG to an FTP server...
__________________
__________________________
Rudolph Thomas
www.carrara3d.co.za


Last edited by tigme : 02-17-2008 at 06:31 AM.
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 12:30 PM
maXim's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Sesto Fiorentino - Florence (Italy)
Posts: 224
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Post

Hi jesb4ppc,

Look the Thread "db2000 - JPEG Exif" in "Italian Forum"...
Full Basic4ppc OpenSource!

Best Regards.

maXim
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 03:28 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

http://www.basic4ppc.com/forum/italian-forum/1790-db2000-jpeg-exif.html#post9815
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 05:06 PM
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Netherlands
Posts: 222
Default

Hi,

Quite some time ago I have written in Visual Basic some routines to extract data from a JPEG file: the date a photo was made; the width and the height.

Today, thanks to the excellence of Basic4PPC and the support organization, I have made the same functionality in Basic4PPC.

Attached you will find the demonstration program, containing two routines. It is eay to incorporate those routines in another program: the interface is just a call with the filename and a structure to receive the data. Another structure is required for the routines.

For those who require other information to extract, on http://www.exif.org/Exif2-2.PDF you will find the codes for all other information. Adding Manufacturer and Model took me a quarter of an hour.

The JFIF format is not (yet) supported; if some body would like that to be supported, please let me know.

Harry

Harry
Attached Files
File Type: sbp JPEG.sbp (3.7 KB, 48 views)
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 05:14 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Great job HARRY!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 06:52 AM
maXim's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Sesto Fiorentino - Florence (Italy)
Posts: 224
Send a message via MSN to maXim Send a message via Skype™ to maXim
Awards Showcase
Beta Tester 
Total Awards: 1
Smile

Hi Harry,

I see with pleasure Your interest to the Exif data! I would like to exchange the experiences but there is only a problem: I don't know very the language English ... You know Italian language? (also few little)

Best Regards.

maXim
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 07:48 AM
Junior Member
 
Join Date: Jul 2007
Posts: 37
Thumbs up Thank You

Thank you very much to you all, specially maXim and Harry.

That's another side of basic4ppc. Is not only the tool itself, but also the people around it.

Thank you again.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
data transmission WolfgangGruia Questions (Windows Mobile) 9 07-15-2008 04:56 PM
db2000 - JPEG Exif maXim Italian Forum 5 03-07-2008 06:03 PM
GPS Satellites map and data derez Share Your Creations 2 01-29-2008 05:04 AM
send the hex data alex_up Questions (Windows Mobile) 10 12-18-2007 04:50 AM
Best data to work with GPS Put Claude Questions (Windows Mobile) 4 10-21-2007 08:58 PM


All times are GMT. The time now is 01:57 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0