×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    16

    Thumbs down Modifying exif information of JPEG-Exif encoded image

    I want to modify or add exif information into a image file which has already Exif information. We are able to modify exif information if we decode and write exif information. But we want to write exif information to a jpeg-exif encoded file using encoder only. Means we dont want to decode it.

    We have used Texifutilitywriter , Mexifmetadata and CJpegExifencoder and CJpegExifdecoder classes. We want to use only Symbian class for this task or UIQ classes. PLease give me a pointer.
    Accredited Symbian Developer

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Modifying exif information of JPEG-Exif encoded image

    Have you consided on searching ?

    Just write Exif into the search box and you'll find plenty of discussions on this topic, as well as a link to a wiki example which I did couple of months ago.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    14

    Re: Modifying exif information of JPEG-Exif encoded image

    Hello Umesh,
    It can be done using only Symbian classes. You need to use only Texifwriterutility,Mexifmetadata and CJpegExifencoder classes to do this job.
    Also you need to check what tags you want to add.
    For example if you want to modify/add a tag named "Make".
    Then call:
    SetMake(HBufC8 *aMake); using TExifWriterUtility instance.
    It will set the "Make" tag with the value you passed if tag is already there.
    or
    It will create a new tag "Make" and will initialise it with the value you pass.

    Byt suppose you want to add a tag for which there is no direct API of class CExifWriterUtility, then you need to use APIs of MEXifMetaData class and pass the appropriate tag id for the tag you want to create. These tag id are defined in standard pdfs.

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Modifying exif information of JPEG-Exif encoded image

    The actual GPS-location tag writing APIs are actually non-public, but if you find the example from the Wiki, you could check how to make it with public APIs as well.

  5. #5
    Registered User
    Join Date
    Sep 2004
    Posts
    16

    Re: Modifying exif information of JPEG-Exif encoded image

    Thanks for Reply. We have uses Exif Decoder to decode Exif Encoded Jpeg Image and tried to read and write , In this case read is success but writing is not happening into the file and there is no error or panic while writing. decoder is initialise with FileNewL function of Exif Decoder.
    Other way we have uses Exif Decoder to decode Exif Encoded Jpeg Image and tried to read and write , In this case while initialising the decoder we left with " Not File Found" . Here i have used DataNewL() of exif decoder.

    Please suggest what could be the mistake ?
    Accredited Symbian Developer

Similar Threads

  1. Prototype SDK 2.0 setup problem
    By jackmcardle in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-01-09, 16:21
  2. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  3. access image exif data
    By bercobeute in forum Symbian
    Replies: 2
    Last Post: 2005-09-29, 13:55
  4. URGENT: how to save Image to JPEG Format?
    By rj_cybersilver in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2005-06-03, 12:13
  5. URGENT: how to save Image to JPEG Format?
    By rj_cybersilver in forum Mobile Java General
    Replies: 0
    Last Post: 2005-05-31, 11:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •