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
 camera raw files report incorrect or no Exif dim

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 - Jul 23 2016 : 18:23:14
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.
4   L A T E S T    R E P L I E S    (Newest First)
jrpcguru Posted - Jul 25 2016 : 20:08:32
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.
xequte Posted - Jul 24 2016 : 16:38:29
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
jrpcguru Posted - Jul 24 2016 : 07:04:16
I will send them via TransferBigFiles.com. I also found a Leica raw file that demonstrates the same issues.

J.R.
xequte Posted - Jul 24 2016 : 01:42:45
Hi JR

Where can I download your test files?



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