Skip to content

vips_foreign_find_load missing #37

Closed
@kleisauke

Description

@kleisauke

In order to pass the correct options before the Image::newFromFile operation, the vips_foreign_find_load will come in handy to determine the image format.

Example:
The page property works only for PDFs, TIFFs, and multi-size ICOs (or any other image that has more than one page). But doesn't work for a JPEG (it will fail with the error: Message: jpegload: no property named 'page'). In order to pass the page property to the correct loader we can check first with vips_foreign_find_load if the operation permits a page property.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions