ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: ivanooi on January 04, 2021, 02:27:39 AM

Title: jpgfromraw for iphone12 pro max raw file?
Post by: ivanooi on January 04, 2021, 02:27:39 AM
Will exiftool jpgfromraw support iphone12 pro max raw file?

I willing to supply the raw file.

Thanks
Title: Re: jpgfromraw for iphone12 pro max raw file?
Post by: Phil Harvey on January 04, 2021, 06:46:22 AM
There are all the previews that exist in my iPhone 12ProMax sample:

> exiftool -preview:all ../pics/Apple_iPhone12ProMax.dng
Preview Image                   : (Binary data 1237840 bytes, use -b option to extract)
> exiftool -previewimage -b ../pics/Apple_iPhone12ProMax.dng | exiftool -imagesize -
Image Size                      : 4032x3024


- Phil
Title: Re: jpgfromraw for iphone12 pro max raw file?
Post by: ivanooi on January 04, 2021, 11:03:40 AM
Thanks! yes, it work! nice if there is a command which will check jpgfromraw and previewimage together instead of under 2 commands.

Thanks again  :D
Title: Re: jpgfromraw for iphone12 pro max raw file?
Post by: Phil Harvey on January 04, 2021, 01:13:13 PM
What do you mean "check"?  The first command I gave will also show the JpgFromRaw if it exists.

- Phil
Title: Re: jpgfromraw for iphone12 pro max raw file?
Post by: ivanooi on January 04, 2021, 07:17:00 PM
I mean combine jpgfromraw and previewimage together  :D

instead of :
exiftool -b -jpgfromraw -w %d%f_%ue.jpg -execute -b -previewimage -w %d%f_%ue.jpg -common_args --ext jpg DIR

Thanks :D
Title: Re: jpgfromraw for iphone12 pro max raw file?
Post by: StarGeek on January 04, 2021, 07:21:29 PM
See this example (https://exiftool.org/exiftool_pod.html#exiftool--a--b--W-d-f_-t--c.-s--preview:all-dir) from the docs.
Title: Re: jpgfromraw for iphone12 pro max raw file?
Post by: ivanooi on January 04, 2021, 07:39:46 PM
ooo sorry, i missed it..  :P

exiftool -a -b -W %d%f_%t%-c.%s -preview:all dir

Thanks again