Page 1 of 1

Workflow, saving extracted JPEGs

Posted: January 13th, 2014, 7:06 am
by Dieter Mayr
I have a workflow extracting the JPEG from a raw file (in my case NEF files), resizing it to a e-mail-able size and saving it .
In the saving widget Output File Type is set to Unchanged.
With this setting the files are saved as TIFF.
Is this intended behaviour? I would imagine to get JPEGs when saving the extracted JPEG.
Of course its no problem to set the File Type to JPEG, I was just wonderfing why it saves as TIFF.

Thanks!

Re: Workflow, saving extracted JPEGs

Posted: January 13th, 2014, 10:58 am
by ksinkel
The original file type is indeed a raw file. This raw file is processed with an 'extract jpeg' operation, (which is shorthand for extract the raw image processed by the camera). However the Save File widget actually does not know what operations were performed on the original file -- all it knows is its original type which is raw. The widget's 'save unchanged' option saves all file types unchanged when possible. However there are some file types that it cannot write, such as raw and Photo CD. It saves these as Tiffs.

Note that your workflow would work even if some of the input files were not raw images -- for these the extract jpeg widget would be skipped but the resizing steps would still be performed.

The bottom line is that if you want to save all the files thrown into the workflow as jpeg rather than whatever they originally were, you need to specify this explicitly.

Kiril

Re: Workflow, saving extracted JPEGs

Posted: January 13th, 2014, 11:15 am
by Dieter Mayr
Thanks for clarification, Kiril, the behaviour makes sense from this point of view.
I had in my mind somehow that a embedded JPEG image, created by the camera, is just extracted from the RAW, but the RAW file is actually processed, can be clearly seen when PWP works.
And it's no big deal at all to set the file type. Just helps if one knows why :) .