You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I plan to save only RAW images rather than the camera generated JPEG in the future. Making such images into gallery images might work with some formats, but it is slow because a giant TIFF file or whatever ist generated by Pillow. For my images in CR2 format, it produces mostly trash.
However the CR2 files contain a full-sized JPEG preview of the image in acceptable quality. So we could create a gallery image by simply extracting this JPEG and resizing it. I have created a patch which works for me but needs to be improved because it hard-codes everything. I'll make a pull request for checking it out.
The text was updated successfully, but these errors were encountered:
I would prefer to avoid dependency on external tools though, and I think there is a pretty good Python alternative: https://github.com/letmaik/rawpy
rawpy is based on libraw so it supports a wide range of raw formats (CRW/CR2, NEF, RAF, DNG, and others), and the README has an example of how to extract the preview image.
I plan to save only RAW images rather than the camera generated JPEG in the future. Making such images into gallery images might work with some formats, but it is slow because a giant TIFF file or whatever ist generated by Pillow. For my images in CR2 format, it produces mostly trash.
However the CR2 files contain a full-sized JPEG preview of the image in acceptable quality. So we could create a gallery image by simply extracting this JPEG and resizing it. I have created a patch which works for me but needs to be improved because it hard-codes everything. I'll make a pull request for checking it out.
The text was updated successfully, but these errors were encountered: