Skip to content

Commit

Permalink
Make it clear that the best quality is lossless
Browse files Browse the repository at this point in the history
Define AVIF_QUALITY_LOSSLESS right after AVIF_QUALITY_BEST to make it
clear that AVIF_QUALITY_LOSSLESS is the same as AVIF_QUALITY_BEST.
  • Loading branch information
wantehchang committed Feb 24, 2025
1 parent ae966be commit ab17abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/avif/avif.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ typedef int avifBool;
#define AVIF_DEFAULT_IMAGE_COUNT_LIMIT (12 * 3600 * 60)

#define AVIF_QUALITY_DEFAULT -1
#define AVIF_QUALITY_LOSSLESS 100
#define AVIF_QUALITY_WORST 0
#define AVIF_QUALITY_BEST 100
#define AVIF_QUALITY_LOSSLESS 100

#define AVIF_QUANTIZER_LOSSLESS 0
#define AVIF_QUANTIZER_BEST_QUALITY 0
Expand Down

0 comments on commit ab17abb

Please sign in to comment.