MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / PagesLoaded

Method PagesLoaded

vips/vips.go:255–257  ·  view source on GitHub ↗

PagesLoaded returns number of pages in the loaded image.

()

Source from the content-addressed store, hash-verified

253
254// PagesLoaded returns number of pages in the loaded image.
255func (img *Image) PagesLoaded() int {
256 return img.Height() / img.PageHeight()
257}
258
259func (img *Image) Load(
260 imgdata imagedata.ImageData,

Callers 2

getImageSizeMethod · 0.80
transformAnimatedMethod · 0.80

Calls 2

HeightMethod · 0.95
PageHeightMethod · 0.95

Tested by

no test coverage detected