Skip to content

Add pyramid and tiling output options for TIFF images#1483

Merged
lovell merged 1 commit intolovell:masterfrom
mbklein:tiled-pyramid-tiffs
Dec 6, 2018
Merged

Add pyramid and tiling output options for TIFF images#1483
lovell merged 1 commit intolovell:masterfrom
mbklein:tiled-pyramid-tiffs

Conversation

@mbklein
Copy link
Copy Markdown
Contributor

@mbklein mbklein commented Nov 30, 2018

This change adds the libvips tiffsave pyramid, tile, tile_width, and tile_height options to sharp's tiff() output format function to allow for the creation of multires/deep-zoom TIFFs.

I wrestled with the idea of trying to overload the tile() function to handle tiff as another container type, but I stuck with the straightforward “do it more or less the way libvips does it” approach.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 30, 2018

Coverage Status

Coverage increased (+0.02%) to 98.997% when pulling 3eb132a on mbklein:tiled-pyramid-tiffs into fd1ca1d on lovell:master.

@lovell
Copy link
Copy Markdown
Owner

lovell commented Nov 30, 2018

Fantastic, thank you Michael, this looks like the right approach and with lots of tests too. I should have some time to review this properly early next week.

@mbklein mbklein force-pushed the tiled-pyramid-tiffs branch from 52896e1 to 6d510da Compare December 1, 2018 03:17
@mbklein
Copy link
Copy Markdown
Contributor Author

mbklein commented Dec 1, 2018

Thanks! I just realized that I left the trailing > off my email address in the contributor list, so I force-pushed it in. All ready to go now.

…ple `is.object(options)` checks into an enclosing block
@mbklein mbklein force-pushed the tiled-pyramid-tiffs branch from 74f7e30 to 3eb132a Compare December 5, 2018 16:35
@lovell lovell merged commit c695c40 into lovell:master Dec 6, 2018
@lovell
Copy link
Copy Markdown
Owner

lovell commented Dec 6, 2018

Marvellous, thank you for this Michael, it will be included in the next release.

@lovell lovell added this to the v0.21.1 milestone Dec 6, 2018
lovell added a commit that referenced this pull request Dec 6, 2018
@mbklein mbklein deleted the tiled-pyramid-tiffs branch January 15, 2019 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants