-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Is it possible to use magickload? #2852
Comments
I think Nikon RAW files masquerade as TIFF files. Given you're building your own libvips, try compiling it without libtiff support via |
Thanks @lovell. That'd most likely work, but wouldn't that leave me with no tiff support overall? That's something I still use. Seems like the |
sharp currently relies on libvips to determine the relevant loader for a given input and I'm unsure if the added complexity (error handling, testing etc.) of code in sharp to specify the loader is worth it. Given you're building your own libvips, perhaps you could patch one/both of the relative https://github.com/libvips/libvips/blob/97f5417aaa16c0eda19d98816b823bc92ebc93b3/libvips/foreign/tiffload.c#L182 |
I hope this information helped. Please feel free to re-open with more details if further assistance is required. |
I'm trying to convert RAW images to JPG. I've got vips compiled with magick support, and the following cli command works:
vips magickload /test-photos/Nikon/RAW_NIKON_D3200.NEF /test-photos/Nikon/RAW_NIKON_D3200.JPG
Now, when I try the same thing with Sharp, I get a really low resolution JPG as the output.
I suspect what's happening is that the raw input has an embedded jpg thumbnail, and that's what's being converted here. Is there a way for me to specify that I want to use the full image data as input?
The text was updated successfully, but these errors were encountered: