Skip to content

Are there any considerations for pyramid files with different resolutions as input? #4422

Answered by jcupitt
dersmon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dersmon,

That's the old vips7 interface. For vips8, use:

vips tiffsave test.tif test_pyramid.tif --compression deflate --tile --tile-width 256 --tile-height 256 --pyramid 

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:

vips crop test_pyramid.tif[page=2] tile.tif 100 100 300 200

To crop from the 1/4 size level.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dersmon
Comment options

You must be logged in to vote
2 replies
@jcupitt
Comment options

@jcupitt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants