ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 corrupting maker notes

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jrpcguru Posted - Aug 22 2014 : 14:45:17
I have identified a possible bug in ImageEn version 5.1.1

My program uses ImageEn for scanning and is written in Delphi XE2. It also allows editing photos. In both cases the purpose is to input various dscriptive data and store it in IPTC fields. The major description field, up to 2,000 characters, is stored with this command:

ImageEnView1.IO.Params.WriteIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Caption, IPTCCaption.Text);

This worked fine for a batch of photos that needed major descriptive details last Nov. More recently I changed my program so that it flagged the file as having been edited via this program when inputting this IPTC data. I did it as follows:

ImageEnView1.IO.Params.EXIF_XPComment := 'Edited by: ' + ExtractFileName(Application.ExeName) + ' Ver ' + jrProgramVersionInfo() + ' using ImageEn version ' + ImageEnView1.ImageEnVersion;

The actual save was performed as follows:
ImageEnView1.IO.InjectJpegIPTC(ImageFileName);
ImageEnView1.IO.InjectJpegEXIF(ImageFileName);

After a few days I discovered that this procedure was corrupting portions of the makers notes. For example:

Correct maker notes:
Lens serial number = 12101551279
Lens type = LUMIX G VARIO 12-35/F2.8

Maker notes after injecting Exif data:
Lens serial number = ªªëªbªªâªª«ªª
Lens type = ªêª«¢ªº¦«ª¨¨ºªºŠªªj*«ªêª«Jªª¢

A variety of maker notes tags are corrupted, but not any contiguous blocks of tag numbers.

I have now confirmed that if I do not inject Exif data, this corruption does not happen.

I changed my program to store the editing program information as follows:
ImageEnView1.IO.Params.WriteIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Instructions, ExtractFileName(Application.ExeName) + ' Ver ' + jrProgramVersionInfo() + ' using ImageEn version ' + ImageEnView1.ImageEnVersion);


And now I just inject IPTC data. The maker notes are not corrupted by this approach.

J.R.
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 06 2014 : 13:06:53
Hi

We have a fix for this. Please email me.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
jrpcguru Posted - Aug 25 2014 : 06:39:13
I have only seen it so far with my Panasonic GH3 camera since that is my current camera that I'm processing new files for. I could try it with old unedited .JPG files from my G-1 or I could borrow my neighbor's Nikon D5200 if you want. I could also send sample before/after .JPG files if you want.

J.R.
xequte Posted - Aug 24 2014 : 22:45:08
Hi

Did this corruption only occur with JPEG's of a specific source (e.g. camera) or all JPEGs you have tested?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com