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

multi_os - ufraw-batch no longer supported #398

Open
wpferguson opened this issue Aug 13, 2022 · 5 comments
Open

multi_os - ufraw-batch no longer supported #398

wpferguson opened this issue Aug 13, 2022 · 5 comments

Comments

@wpferguson
Copy link
Member

ufraw-batch is no longer available in distributions and appears to no longer be supported. dcraw is still available and appears to still be supported, so the dcraw should be used to extract the embedded thumbnail.

@supertobi
Copy link
Contributor

Perhaps a switch to dcraw_emu is even better as it is part of libraw and actively developed. (The last dcraw version is from 2018)

But as dcraw_emu is an example program, Debian doesn't install it to
/usr/bin, but to /usr/lib/libraw instead, meaning it can't be found
the usual way.

@wpferguson
Copy link
Member Author

wpferguson commented Aug 15, 2022

Learned something new, thanks. dcraw_emu doesn't support extracting the embedded preview image, however simple_dcraw does with the -e argument. However, simple_dcraw doesn't appear to support many of the newer cameras (Nikon Z, Canon EOS R). Maybe I'll look at how RPD extracts the embedded preview and see if I can get an idea from there.

@wpferguson
Copy link
Member Author

It turns out you can use exiv2 to extract preview thumbnails. Tried it on a CR3 file and it worked. You can use the command exiv2 -e p ex <image> to pull all of the previews. The first appears to be a small one perhaps for the camera back screen and the second is a full size one.

@supertobi
Copy link
Contributor

Btw. I think this is a duplicate of issue #380?

@wpferguson
Copy link
Member Author

Btw. I think this is a duplicate of issue #380?

It appears that I didn't do a very good job of looking back. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants