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.
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.
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.