-
Notifications
You must be signed in to change notification settings - Fork 645
Open
Labels
core APIsAffecting public APIs of core functionality classes, such as ImageInput, ImageOutput, ImageBuf.Affecting public APIs of core functionality classes, such as ImageInput, ImageOutput, ImageBuf.file formatsImage file formats, ImageInput, ImageOutputImage file formats, ImageInput, ImageOutput
Description
ImageInput and ImageBuf() have get_thumbnail() methods. But they assume that there are 0 or 1 thumbnails per subimage. But some raw camera formats (and libraw) supports multiple reduced-resolution versions of the main image. We don't particularly have a way for an app to find out that there are multiple thumbnails, what their resolutions are, or to pick a specific one.
Maybe one possible route for the future is to extend the get_thumbnail() method to take a thumbnail index, to select which one is chosen.
Note that this would be a breaking change to the ImageInput API, so could not be backported to existing releases. (And in main, it would require making a v3_2 namespace version of ImageInput.)
Metadata
Metadata
Assignees
Labels
core APIsAffecting public APIs of core functionality classes, such as ImageInput, ImageOutput, ImageBuf.Affecting public APIs of core functionality classes, such as ImageInput, ImageOutput, ImageBuf.file formatsImage file formats, ImageInput, ImageOutputImage file formats, ImageInput, ImageOutput