darktable
darktable copied to clipboard
Apple iPhone 12 Pro camera support
Before filing any support requests, please do make sure that you have already contributed the whole raw sample set for your camera under CC0 license to https://raw.pixls.us/ ! Yes. 2 images have been contributed.
Important note: to make sure that darktable can keep on supporting the raw
file format for your camera, please read this post on how/what raw samples you can contribute to ensure that we have the full raw sample set for your camera under CC0 license!
Opened this based on comments on #7571
Adding the exiv2 data to this one since #7571 has been closed:
exiv2 -pt Desktop/IMG_1357.DNG
Exif.Image.NewSubfileType Long 1 Thumbnail/Preview image
Exif.Image.ImageWidth Long 1 4032
Exif.Image.ImageLength Long 1 3024
Exif.Image.BitsPerSample Short 3 8 8 8
Exif.Image.Compression Short 1 JPEG
Exif.Image.PhotometricInterpretation Short 1 YCbCr
Exif.Image.Make Ascii 6 Apple
Exif.Image.Model Ascii 14 iPhone 12 Pro
Exif.Image.StripOffsets Long 1 64156
Exif.Image.Orientation Short 1 right, top
Exif.Image.SamplesPerPixel Short 1 3
Exif.Image.RowsPerStrip Long 1 3024
Exif.Image.StripByteCounts Long 1 8108769
Exif.Image.Software Ascii 5 14.3
Exif.Image.DateTime Ascii 20 2020:12:28 14:51:01
Exif.Image.SubIFDs Long 2 4858 63334
Exif.SubImage1.NewSubfileType Long 1 Primary image
Exif.SubImage1.ImageWidth Long 1 4032
Exif.SubImage1.ImageLength Long 1 3024
Exif.SubImage1.BitsPerSample Short 3 12 12 12
Exif.SubImage1.Compression Short 1 JPEG
Exif.SubImage1.PhotometricInterpretation Short 1 Linear Raw
Exif.SubImage1.SamplesPerPixel Short 1 3
Exif.SubImage1.PlanarConfiguration Short 1 1
Exif.SubImage1.TileWidth Long 1 504
Exif.SubImage1.TileLength Long 1 378
Exif.SubImage1.TileOffsets Long 64 8417756 9019841 9615484 10043503 10431266 10849471 11338797 11773416 12174907 12821607 13458666 1393 ...
Exif.SubImage1.TileByteCounts Long 64 602085 595643 428019 387763 418205 489326 434619 401491 646700 637059 476345 424541 486909 518372 45 ...
Exif.SubImage1.LinearizationTable Short 4096 0 8 16 24 31 39 47 55 63 71 79 86 94 102 110 118 126 134 141 149 157 165 173 181 189 196 204 212 220 ...
Exif.SubImage1.BlackLevel Short 3 0 0 0
Exif.SubImage1.WhiteLevel Short 3 65535 65535 65535
Exif.SubImage1.OpcodeList3 Undefined 88 0 0 0 1 0 0 0 1 1 3 0 0 0 0 0 0 0 0 0 68 0 0 0 1 63 239 55 170 64 0 0 0 63 209 17 233 32 0 0 0 191 2 ...
Exif.SubImage1.NoiseProfile Double 2 3e-05 3e-08
Exif.SubImage2.NewSubfileType Long 1 (65540)
Exif.SubImage2.ImageWidth Long 1 2016
Exif.SubImage2.ImageLength Long 1 1512
Exif.SubImage2.BitsPerSample Short 1 8
Exif.SubImage2.Compression Short 1 (34892)
Exif.SubImage2.PhotometricInterpretation Short 1 (52527)
Exif.SubImage2.StripOffsets Long 1 8172928
Exif.SubImage2.SamplesPerPixel Short 1 1
Exif.SubImage2.RowsPerStrip Long 1 1512
Exif.SubImage2.StripByteCounts Long 1 244826
Exif.SubImage2.XMLPacket Byte 623 60 120 58 120 109 112 109 101 116 97 32 120 109 108 110 115 58 120 61 34 97 100 111 98 101 58 110 11 ...
Exif.Image.ExifTag Long 1 2782
Exif.Photo.ExposureTime Rational 1 1/122 s
Exif.Photo.FNumber Rational 1 F2.4
Exif.Photo.ExposureProgram Short 1 Auto
Exif.Photo.ISOSpeedRatings Short 1 64
Exif.Photo.ExifVersion Undefined 4 2.32
Exif.Photo.DateTimeOriginal Ascii 20 2020:12:28 14:51:01
Exif.Photo.DateTimeDigitized Ascii 20 2020:12:28 14:51:01
Exif.Photo.ShutterSpeedValue SRational 1 1/122 s
Exif.Photo.ApertureValue Rational 1 F2.4
Exif.Photo.BrightnessValue SRational 1 6.09135
Exif.Photo.ExposureBiasValue SRational 1 0 EV
Exif.Photo.MeteringMode Short 1 Multi-segment
Exif.Photo.Flash Short 1 No, compulsory
Exif.Photo.FocalLength Rational 1 1.5 mm
Exif.Photo.SubjectArea Short 4 2015 1509 2323 1393
Exif.Photo.MakerNote Undefined 1196 65 112 112 108 101 32 105 79 83 0 0 1 77 77 0 32 0 1 0 9 0 0 0 1 0 0 0 12 0 2 0 7 0 0 2 46 0 0 1 148 ...
Exif.Photo.SubSecTimeOriginal Ascii 4 319
Exif.Photo.SubSecTimeDigitized Ascii 4 319
Exif.Photo.PixelXDimension Long 1 4032
Exif.Photo.PixelYDimension Long 1 3024
Exif.Photo.SensingMethod Short 1 One-chip color area
Exif.Photo.SceneType Undefined 1 Directly photographed
Exif.Photo.ExposureMode Short 1 Auto
Exif.Photo.WhiteBalance Short 1 Auto
Exif.Photo.FocalLengthIn35mmFilm Short 1 13.0 mm
Exif.Photo.LensSpecification Rational 4 77/50 6/1 8/5 12/5
Exif.Photo.LensMake Ascii 6 Apple
Exif.Photo.LensModel Ascii 46 iPhone 12 Pro back triple camera 1.54mm f/2.4
Exif.Image.GPSTag Long 1 4582
Exif.GPSInfo.GPSLatitudeRef Ascii 2 North
Exif.GPSInfo.GPSLatitude Rational 3 33deg 57' 6"
Exif.GPSInfo.GPSLongitudeRef Ascii 2 West
Exif.GPSInfo.GPSLongitude Rational 3 84deg 23' 54"
Exif.GPSInfo.GPSAltitudeRef Byte 1 Above sea level
Exif.GPSInfo.GPSAltitude Rational 1 247.9 m
Exif.GPSInfo.GPSSpeedRef Ascii 2 km/h
Exif.GPSInfo.GPSSpeed Rational 1 0/1
Exif.GPSInfo.GPSImgDirectionRef Ascii 2 True direction
Exif.GPSInfo.GPSImgDirection Rational 1 956136/9355
Exif.GPSInfo.GPSDestBearingRef Ascii 2 True direction
Exif.GPSInfo.GPSDestBearing Rational 1 956136/9355
Exif.GPSInfo.GPSDateStamp Ascii 11 2020:12:28
Exif.Image.DNGVersion Byte 4 1 4 0 0
Exif.Image.DNGBackwardVersion Byte 4 1 3 0 0
Exif.Image.UniqueCameraModel Ascii 34 iPhone13,3 back ultra wide camera
Exif.Image.ColorMatrix1 SRational 9 1407317376/1073741824 -659221120/1073741824 -265484032/1073741824 -425484896/1073741824 1543517568/1 ...
Exif.Image.ColorMatrix2 SRational 9 1012543040/1073741824 -354455360/1073741824 -138979840/1073741824 -442609984/1073741824 1386930560/1 ...
Exif.Image.AsShotNeutral Rational 3 528230432/1073741824 1073741824/1073741824 546612800/1073741824
Exif.Image.BaselineExposure SRational 1 1092538624/536870912
Exif.Image.BaselineSharpness Rational 1 1610612736/1073741824
Exif.Image.CalibrationIlluminant1 Short 1 17
Exif.Image.CalibrationIlluminant2 Short 1 21
Exif.Image.NoiseReductionApplied Rational 1 1020054720/1073741824
Exif.Image.ProfileName Ascii 29 Apple Embedded Color Profile
Exif.Image.ProfileToneCurve Float 514 0 0 0.00390625 3.42501261911821e-05 0.0078125 0.000146448815939948 0.01171875 0.000350768561474979 0 ...
https://github.com/darktable-org/rawspeed/issues/258
Thank you for the sample. I guess it's about time i deal with this class of missing functionality..
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
Just thought I'd check in to see if I can provide any additional data files to help with the effort.
In case it might be helpful, here's what the Rawtherapee folks are doing to be able to deal with Apple 12/proRaw files:
https://github.com/Beep6581/RawTherapee/pull/6214
https://github.com/Beep6581/RawTherapee/issues/6036
Hello,
I am sorry when I ask a stupid question, but maybe I missunderstand the case wrong (I didn't work with github much). For me it look like the Darktable for iPhone ProRaw is still not supported.
Is this correct or do I missinterpret someting wrong ?
For others who find this thread, stuck, it's actually only the compressed DNG that is unsupported in Darktable (as of today). If you convert your "ProRAW" DNG to a normal uncompressed DNG with Adobe's DNG Converter (non-libre) https://helpx.adobe.com/camera-raw/using/adobe-dng-converter.html you can then open and edit that DNG file as usual in Darktable.
Thank you very mich for your hint.
I assume "non-libre" means, that there is no open source linux version availble. Am I correct ?
You could also try to experiment w/ https://github.com/dnglab/dnglab
normal uncompressed DNG with Adobe's DNG Converter
Adobe DNG Converter actually produces compressed DNGs, just that that "normal" compression scheme has been around for a while, it is well specified, understood, and implemented widely.