Skip to content

Conversation

tongyuantongyu
Copy link
Contributor

Add support to use WIC API to support reading from any image formats Windows supported, including JPEG, PNG (these two are not used by us), TIFF, BMP, GIF and some others. It's also extensible so if with addon Windows is able to open it we are also able to read from it. (which means we also supports reading from WEBP, HEIF and even AVIF ourselves)

This PR only supports decoding, and only reads the first frame from an input file. In the future we may explore encoding using WIC to get rid of complicated dependency configuration of libjpeg and libpng on Windows, and also multiple-frame input support.

@suphamster
Copy link

Any plans to finally add this in avifenc since for now it's not possible directly convert webp to avif with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants