-
Notifications
You must be signed in to change notification settings - Fork 13
iPhone's DNG files can’t be opened #3
Description
When I use the LibRaw Wasm you compiled to open a DNG file from an iPhone, I get results like the one shown in the image. Do you have any idea what might be causing this? Could it be that the iPhone used JPEG-Lossless compression, which LibRaw doesn’t support?
metadata:
{ "width": 6048, "height": 8064, "raw_width": 8064, "raw_height": 6048, "top_margin": 0, "left_margin": 0, "camera_make": "Apple", "camera_model": "iPhone17,1 back camera", "iso_speed": 160, "shutter": 0.019999999552965164, "aperture": 1.7799999713897705, "focal_len": 6.764999866485596, "timestamp": "1970-01-21T04:16:55.493Z", "shot_order": 0, "desc": "", "artist": "", "thumb_width": 8064, "thumb_height": 6048, "thumb_format": "unknown", "color_data": { "black": 0, "data_maximum": 0, "maximum": 65535, "fmaximum": 0, "fnorm": 0, "cam_mul": [ 1, 1, 1, 0 ], "pre_mul": [ 1.3143621683120728, 0.9950683116912842, 0.7508270740509033, 0 ], "flash_used": 16, "canon_ev": 0, "model2": "", "UniqueCameraModel": "iPhone17,1 back camera", "LocalizedCameraModel": "", "ImageUniqueID": "", "RawDataUniqueID": "", "raw_bps": 10, "ExifColorSpace": 255 }, "metadata_common": { "FlashEC": 0, "FlashGN": 0, "CameraTemperature": -1000, "SensorTemperature": -1000, "SensorTemperature2": -1000, "LensTemperature": -1000, "AmbientTemperature": -1000, "BatteryTemperature": -1000, "exifAmbientTemperature": -1000, "exifHumidity": 0, "exifPressure": 0, "exifWaterDepth": 0, "exifAcceleration": 0, "exifCameraElevationAngle": 0, "real_ISO": 0, "exifExposureIndex": 0, "ColorSpace": 0, "firmware": "", "ExposureCalibrationShift": 0, "afdata": [] } }
You can download DNG from here.
https://drive.google.com/file/d/1uWkC01glVCwVbAhyEl3E2c7X2MEv1Aq7/view?usp=share_link
