-
Notifications
You must be signed in to change notification settings - Fork 11
Description
The following features would be useful in the isyntax-to-tiff
- Embed ICC profile
- Create our own downsampling
The first is self-explanatory; the second would mean that we create the pyramid ourselves from the tiff. Right now I'm using isyntax-to-tiff and subsequently use libvips to create dense pyramid. This solves the misalignment issue.
However, the downsampling is not really trivial, if we feel this is a good feature, does anyone have a suggestion for a lightweight downsample library (probably uses anti-aliasing too, I will check the libvips code). EDIT:
EDIT: Vips seems to be using the 'mean' operator: https://github.com/libvips/libvips/blob/159e8bea25fbc70316e32cd36add0b7c899568b7/libvips/foreign/tiffsave.c#L424C24-L424C47 that should be fine with stb_image.h
Would this be of interest? I can create it.