Replies: 2 comments · 2 replies
-
Hi @gregordr, I had a look at your image and it's a CR2. These are Canon camera raw files that look a bit like TIFF, but are not really TIFF. I think this is out of scope for libvips -- you need a specialist raw converter. I think most people have moved to libraw for this type of image: It's a library-ization of the famous |
Beta Was this translation helpful? Give feedback.
2 replies
-
A dedicated LibRaw loader is now available on the master branch (which will be part of the upcoming 8.18 release). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
When trying to read metadata with sharp I get the following error:
I found an issue explaining more about it in #1328, but not a clear solution. I am using libvips to extract the size of images and create thumbnails of them. Unlike in the linked issue, I am able to provide you with an image that causes such an issue. Ironically, it seems like Github doesn't support this type of file, so I need to give you a link. I hope this stays valid for long enough.
To Reproduce
Download the image and try using libvips on it. I did it via sharp(image).metadata
Expected behavior
Ideally the image should be processed correctly.
Actual behavior
The mentioned error is thrown.
Environment
(please complete the following information)
Additional context
If even with the image you can't add support to libvips, I would like to hear your opinion on what would best work as a substitute.
Beta Was this translation helpful? Give feedback.
All reactions