AVIF is the imagepart of new upcoming AV1-Videoformat (free, open, replace webp)
AVIF seems to be better then HEIF (not free)
do you plan to support this WEBP-Follower?
Windows 10 2019 H1 Update adds AVIF-Support
its possible to use this via WIC (Windows Image Component)?
AVIF Support
Re: AVIF Support
https://www.reddit.com/r/AV1/comments/a ... le_format/
important to know - its use the a HEIF container
important to know - its use the a HEIF container
Re: AVIF Support
another way is to support the WIC (Windows Image Component)
if the AVIF-Extension is installed (Windows Store) all Programs use WIC automatically support AVIF
if the AVIF-Extension is installed (Windows Store) all Programs use WIC automatically support AVIF
-
- Posts: 1
- Joined: Sun Apr 12, 2020 9:14 pm
Re: AVIF Support
You can simply convert using an official codec https://github.com/AOMediaCodec/libavif
Re: AVIF Support
@Pierre:: Is Quantizer for color/alpha in XnView's DlgWriteAvif.ui responsible for the min/max Q and the minalpha/maxalpha Q parameters of the encoder?
<PS>
OK, I've found these strings in xnview.exe, …
Code: Select all
AvifColorLossless AvifColorMin AvifColorMax
AvifAlphaLossless AvifAlphaMin AvifAlphaMax
Code: Select all
cbColorLossless sbColorMin sbColorMax
cbAlphaLossless sbAlphaMin sbAlphaMax
</PS>
https://joedrago.github.io/colorist/docs/Usage.html wrote:Choose a lossy quality (0-100) for any output file format that supports it (JPG, JP2 if not using -2, WebP). The lower the value, the lower the file size and quality. For WebP and JP2 (without -2), 100 is lossless.Code: Select all
-q, –quality
See --quantizer for an explanation of how quality is mapped to AVIF encoding.
Quantizer Ranges: 0-63Code: Select all
–quantizer MIN,MAX
The quality emitted by AVIF encoder is controlled by two quantizer values (a minimum and maximum). The higher these numbers are, the worse the image quality will be. For example, choosing [0,0] will create a lossless AVIF, and choosing [63,63] will encode something that barely looks like the original image.
If this option isn't used, colorist will map the single -q quality value to these, by slowly ramping up the maximum quantizer first as you turn down the quality from 100, until it caps out at 63 (e.g. Q=99 will have a max quantizer of 1). The min quantizer will begin to ramp up from 0 in the 60s until it hits 63 right at Q=1, making Q=1 have quantizer settings of [63,63].
Due to how the encoder uses these values, there can be a bit of a plateau in the Q30-Q50 range, but dual ramp provides a reasonable single dial for quality. Q100->Q60 has a reasonable descent in quality, and Q30->Q1 really trashes the image.
Use this option if you want to specify your own min/max quantizers instead.
https://github.com/link-u/cavif wrote:Code: Select all
q Constant Quality cq Constrained Quality --bit-rate Bit rate of output image. --crf CQ Level in CQ rate control mode --qmin Minimum (Best Quality) Quantizer --qmax Maximum (Worst Quality) Quantizer --adaptive-quantization Set adaptive-quantization mode
https://github.com/AOMediaCodec/libavif/blob/master/apps/avifenc.c wrote:Code: Select all
printf(" --min Q : Set min quantizer for color (%d-%d, where %d is lossless)\n", AVIF_QUANTIZER_BEST_QUALITY, AVIF_QUANTIZER_WORST_QUALITY, AVIF_QUANTIZER_LOSSLESS); printf(" --max Q : Set max quantizer for color (%d-%d, where %d is lossless)\n", AVIF_QUANTIZER_BEST_QUALITY, AVIF_QUANTIZER_WORST_QUALITY, AVIF_QUANTIZER_LOSSLESS); printf(" --minalpha Q : Set min quantizer for alpha (%d-%d, where %d is lossless)\n", AVIF_QUANTIZER_BEST_QUALITY, AVIF_QUANTIZER_WORST_QUALITY, AVIF_QUANTIZER_LOSSLESS); printf(" --maxalpha Q : Set max quantizer for alpha (%d-%d, where %d is lossless)\n", AVIF_QUANTIZER_BEST_QUALITY, AVIF_QUANTIZER_WORST_QUALITY, AVIF_QUANTIZER_LOSSLESS);