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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 camera raw files report incorrect or no Exif dim
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
266 Posts

Posted - Jul 23 2016 :  18:23:14  Show Profile  Reply
I have just discovered that ImageEn is not reporting the correct information for EXIF_ExifImageWidth and EXIF_ExifImageHeight when reading a Panasonic .RW2 file or a Nikon .NEF file.

.RW2 file: EXIF_ExifImageWidth x EXIF_ExifImageHeight: 1920x1440
ImageEnView1.IEBitmap.Width x ImageEnView1.IEBitmap.Height: 4624x3472

The matching .JPG file reports:EXIF_ExifImageWidth x EXIF_ExifImageHeight: 4608x3456
ImageEnView1.IEBitmap.Width x ImageEnView1.IEBitmap.Height: 4608x3456

So the .JPG file reports the same image dimensions with either measure but the .RW2 file does not. I don't know why the raw file reports slightly different image dimensions, but that is probably a camera design issue. Incorrect reading of the Exif values is an ImageEn issue since I've used Picmeta Picture Information Extractor and it reports the Exif values in the raw file correctly.

For the .NEF file, it reports the Exif dimensions as 0, but reports:
ImageEnView1.IEBitmap.Width x ImageEnView1.IEBitmap.Height:4310x2868. Picmeta agrees with this but reads the Exif as 4352x2868

For the time being I will display the larger of the two values, but I hope ImageEn can report a correct Exif value.


J.R.

xequte

38613 Posts

Posted - Jul 24 2016 :  01:42:45  Show Profile  Reply
Hi JR

Where can I download your test files?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

jrpcguru

USA
266 Posts

Posted - Jul 24 2016 :  07:04:16  Show Profile  Reply
I will send them via TransferBigFiles.com. I also found a Leica raw file that demonstrates the same issues.

J.R.
Go to Top of Page

xequte

38613 Posts

Posted - Jul 24 2016 :  16:38:29  Show Profile  Reply
Hi JR

Are you sure PicMeta is outputting the EXIF Image Width and Height values (and not just defaulting to the image dimensions)? When I compare the data output by ImageEn with ExifPro and EXIFRead, I get the same result. The NEF file does not contain the tags, and the RW2 file have incorrect values.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

jrpcguru

USA
266 Posts

Posted - Jul 25 2016 :  20:08:32  Show Profile  Reply
PicMeta displays the Image Height and Image Width in three different places. Two report 4624x3472 for the raw file and the other reports 1440x1920. Presumably that wrong figure is the real Exif. The others could be image dimensions or makers notes values. I can't check the makers notes because my only makers notes reader is CCR-Exif which only works on JPG files. But I think it is safe to say that you have found a bug in several Panasonic cameras in how they store Exif in a raw file. Thank you for checking. I have modified my program to check the Exif values and the image dimensions and report the highest value.

J.R.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: