You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load an AVIF file and save as PNG, like I do with many of the other formats, but I get:
NetVips.VipsException: unable to call VipsForeignSaveSpngFile
source_custom: bad seek to 83048
heif: Invalid input: Unspecified: Bitstream not supported by this decoder (2.0)
using var thumbnail = Image.ThumbnailBuffer(Convert.FromBase64String(encodedImage), thumbnailWidth);
fileName += (saveAsWebP ? ".webp" : ".png");
thumbnail.WriteToFile(_directoryService.FileSystem.Path.Join(_directoryService.CoverImageDirectory, fileName));
My knowledge of AVIF is pretty low, but is this something that is planned to be enhanced in the future (by libvips) or should I just hold off on AVIF support? It seems like 10bit images are the key which don't have support?
I wanted to validate against these free images to understand NetVips support for the format, given Firefox has just released with full support.
Please subscribe to lovell/sharp-libvips#97 for updates about a possible switch to smaller/faster alternatives for AVIF that might allow reading higher bit depth images again.
I'm trying to load an AVIF file and save as PNG, like I do with many of the other formats, but I get:
when using it on https://raw.githubusercontent.com/link-u/avif-sample-images/master/fox.profile0.10bpc.yuv420.avif
NetVips code:
My knowledge of AVIF is pretty low, but is this something that is planned to be enhanced in the future (by libvips) or should I just hold off on AVIF support? It seems like 10bit images are the key which don't have support?
I wanted to validate against these free images to understand NetVips support for the format, given Firefox has just released with full support.
https://github.com/link-u/avif-sample-images/blob/master/fox.profile0.10bpc.yuv420.avif
The text was updated successfully, but these errors were encountered: