panpf / zoomimage

ZoomImage is an gesture zoom viewing of images library specially designed for Compose Multiplatform and Android View. Supported scale, pan, locate, rotation, and super-large image subsampling.
Apache License 2.0
293 stars 15 forks source link

Subsampling not supported for AVIF, TIFF, DNG (and maybe more) (Sketch) #44

Open IacobIonut01 opened 12 hours ago

IacobIonut01 commented 12 hours ago

Describe the bug

As described in the title, the subsampling feature does not work when using different image formats, for example the AVIF, TIFF, DNG and maybe more rich formats does not tile at all when zooming

12:40:00.933  D  Image info: ImageInfo(size=7602x2135, mimeType='image/avif')
12:40:00.933  D  Active tiles: []

Affected platforms

Select of the platforms below:

Affected components

Select of the components below:

Versions

Running Devices

Sample code

Use the SketchZoomAsyncImage and a media uri as source Example images: samples.zip

Reproduction steps

Expected behavior