Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract PreviewImage from JPEG (not thumbnail) #710

Open
Viper2001 opened this issue Feb 20, 2019 · 3 comments
Open

Extract PreviewImage from JPEG (not thumbnail) #710

Viper2001 opened this issue Feb 20, 2019 · 3 comments
Labels
request feature request or any other kind of wish
Milestone

Comments

@Viper2001
Copy link

JPEG files that come from digital cameras often have an additional higher resolution preview image.

I'm testing some Sony A73 and Fuji X-H1 files, and ExifTool tells me there is a PreviewImage like this:

$ exiftool DSC00507.JPG | grep Prev
Preview Image Size : 1616x1080
Preview Image : (Binary data 1050996 bytes, use -b option to extract)

This is a larger preview image in addition to the thumbnail. It'd be great if we can retrieve this preview image from various manufacturers.

Please see forum discussion:
http://dev.exiv2.org/boards/3/topics/3341?r=3371#message-3371

@boardhead
Copy link
Collaborator

This is not a small task... There are about a zillion different ways that various camera models store the preview. Fuji seems to be still putting the preview in the archaic FlashPix metadata, while recent Sony models are putting it in the newer MPF metadata. But these are just two possible ways that the preview is stored.

@piponazo piponazo added the request feature request or any other kind of wish label May 5, 2019
@clanmills
Copy link
Collaborator

Ah yes. I know about this and discuss it in my book.

I think we need an intensive effort to deal with this. I don't think it's realistic to undertake this in 2021. I am attempting to either assign open issues to v1.00 or close them. This will have to left remain open for the future. Very desirable future feature.

@8i8
Copy link

8i8 commented May 9, 2021

Hello, I was just wondering if there could be a way of adding an interface to abstract the task of adding new schema for preview images, and to also reuse existing ones? Once done this would make the issue a non issue for future formats. The interesting thing about the preview with my cannon raw/tiff, is that it would appear to be using the tiff format correctly or as was intended; Using the layers that were specifically`1 for this sort of thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request feature request or any other kind of wish
Projects
None yet
Development

No branches or pull requests

5 participants