-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
https://libvips.github.io/pyvips/vimage.html#pyvips.Image.get_n_pages
get_n_pagesactually returns number of pages of the file, and it's not the page number of pages in the file the image was loaded.
Also the libvips document says:
https://www.libvips.org/API/8.17/method.Image.get_n_pages.html
[−]
Description
[src]
Fetch and sanity-check VIPS_META_N_PAGES. Default to 1 if not present or crazy.This is the number of pages in the image file, not the number of pages that have been loaded into image.
[−]
Return value
Type: intThe number of pages in the image file.
The error should be fixed.
Should create a PR?
Metadata
Metadata
Assignees
Labels
No labels