-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Hello and thank you for the amazing binding.
I am trying to make a "universal" loader which accepts all kinds of images, but for example I would like to set those that have a property named dpi
to a value of 300
.
If I add an option called dpi
to the Vips\Image::newFromFile
options, and I am loading a normal gif image, I get a gifload: no property named dpi
error.
I already use Vips\Image::findLoad
to detect the kind of image I'm loading before I set the options. But I was wondering if it's possible to check if a dpi
option exists for a specific loader (so I wouldn't have to hardcode the option exceptions for gif/jpg/etc)?
Metadata
Metadata
Assignees
Labels
No labels