shyrodgau / imbraw2dng

Convert RAW from I'm Back into DNG
https://imback.eu/
Other
4 stars 0 forks source link

imbapp.apk MF raw cannot be converted correctly #3

Closed HOPS0914 closed 3 weeks ago

HOPS0914 commented 3 weeks ago

Hello, imbapp.apk converts RAW images taken with MF correctly so that they are recognized as images, but images taken with 35 are not recognized.

I tried several versions but the results were the same. V5.3.8_7630603 V5.3.5_6c9d367 V5.1.1_0d68032

The html version of imbraw2dng.html (local file), https://shyrodgau.github.io/imbraw2dng/imbapp.htm has been confirmed to work correctly. I am using an Android 14 Pixel 7 Pro.

I have attached the file for reference. 2024_1105_070716_033.RAW (image taken with 35 as original) 2024_1105_070716_033.dng (dng converted with apk) 2024_1105_070716_033_html.dng (dng converted with html)

If you have any questions, please feel free to ask. (Please forgive me for the delay in replying when I am busy)

This imbapp.apk is the most useful tool for me. I would be happy if it can be used with 35 as well as MF.

Thank you. 2024_1105_070716_033.zip 2024_1105_070716_033_html.zip

shyrodgau commented 3 weeks ago

Thank you, interesting! While I am investigating, I think that I have a workaround for you: convert RAW and JPEG in separate steps, RAW first. I can open both files without issues, but the file from the apk contains the exif data from the JPEG, and that seems to be buggy. When only RAW is converted without the JPEG, then that buggy exif data can not make it into the DNG and it should be better.

shyrodgau commented 3 weeks ago

The problem is found, it may take some time until I release it, need some regression tests

shyrodgau commented 3 weeks ago

Analysis: when copying the EXIF IFD from the JPEG into the DNG, there were a) some things cut off b) the fact that the interop tag references a separate IFD data block was not considered. Both issues were fixed.

HOPS0914 commented 3 weeks ago

Thank you for your early response. I confirmed that RAW is successfully converted to DNG with the latest V5.3.9_e04e4fb. We will continue to use this useful tool. Thank you again.

shyrodgau commented 2 weeks ago

Unfortunately, the fix broke the JPEG download (if you downloaded the same JPEG twice in the same session). Now also fixed.