-
Notifications
You must be signed in to change notification settings - Fork 1
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
Files without Exif data aren't handled correctly #1
Comments
That's odd: line 32 of Image::Libexif::Raw::ExifData is the declaration of a CStruct. The only thing that might seem different from the usual is that that class has an "embedded" attribute declared with Maybe you have a different version of libexif? Here on a Linux Debian installation I have libexif v0.6.24 and everything works fine. |
The version of libexif is the same. I also tried this on a MacOS with an Intel processor: there it works. So it appears to be an Apple Silicon related issue :-( |
A hardware problem? :-o That's very unfortunate! |
Possibly: I'll investigate further after the weekly. Reason for me is to be able to add searching in EXIF information to |
It appears that some files don't actually contain any exif data. Creating an object with such a file would put a type object into the $!exif attribute, causing later havoc. This commit ensures that that is at least a bare ExifData object created when loading a file that doesn't contain any exif data. An example of such a file is: nqp/MoarVM/3rdparty/libuv/docs/src/static/architecture.png in any Rakudo installation. Fixes issue frithnanth#1
Before I can add exif searching to So my questions: would you prefer me to create a wrapper module (e.g. Image::Info) with Image::Libexif as a dependency. Or would you rather I add these methods to Image::Libexif itself? Also: would you consider me taking over support / development of this module? ( my fingers are itching :-) |
It works for me both ways, with a slight preference for a wrapper module. |
Ok, I will target an |
The example programs, and all other code I tried, failed with:
Is there something I'm missing?
The text was updated successfully, but these errors were encountered: