(blob *imagor.Blob, n, page int)
| 516 | } |
| 517 | |
| 518 | func isMultiPage(blob *imagor.Blob, n, page int) bool { |
| 519 | return blob != nil && (blob.SupportsAnimation() || blob.BlobType() == imagor.BlobTypePDF) && ((n != 1 && n != 0) || (page != 1 && page != 0)) |
| 520 | } |
| 521 | |
| 522 | func applyMultiPageOptions(params *vips.LoadOptions, n, page int) { |
| 523 | if page < -1 { |
no test coverage detected