-
Newbie question. I just created a pyramid tif as a preprocessing step by running:
Now I have a tif with 7 "pages", where each page is half the resolution of the previous one. I want to allow users to request first |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @dersmon, That's the old vips7 interface. For vips8, use:
As well as being easier to read, performance should be a little better too. By default libvips will use the full resolution image. You can select lower res levels with
To crop from the 1/4 size level. |
Beta Was this translation helpful? Give feedback.
-
Thanks! So for the pipeline I would need to check first which page the requested resize would match best, then use that page to extract and do a final resize. |
Beta Was this translation helpful? Give feedback.
Hi @dersmon,
That's the old vips7 interface. For vips8, use:
As well as being easier to read, performance should be a little better too.
By default libvips will use the full resolution image. You can select lower res levels with
page
, so perhaps:To crop from the 1/4 size level.