Skip to content

What would be the best way to resize? #20

Answered by ap--
sarthakpati asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sarthakpati,

Seems I haven't gotten a notification that a new discussion opened, so here's my answer with a slight delay:

So I assume the goal of all of this is making sure that the specific file type is actually handled throughout the tests correctly. And that can be a bit complicated, because dependent on the pyramidal format you want to run through your test pipeline it's possible that there's no tool that supports writing that format.

If it's just about resizing and storing in some format you could use pyvips or even just plain opencv. You can also use tifffile.imwrite to write tiffs in various flavors. It's unlikely that writing images is going to be supported directly via tiffsl…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sarthakpati
Comment options

Answer selected by sarthakpati
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