Skip to content

novomesk/jpeg-xl_avif_example

Repository files navigation

jpeg-xl_avif_example

Simple example how to save AVIF and JXL images

Required libraries:

  • libaom - AV1 encoder used by libavif
  • libavif - to save AVIF images
  • libjxl - to save JXL (JPEG XL) images

How to compile:

g++ -Wall -Og *.cpp -lavif -ljxl -ljxl_threads -lexiv2 -o example

Run: ./example

The program will generate output.avif and output.jxl in current folder.

About

Simple example how to save AVIF and JXL images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published