-
Notifications
You must be signed in to change notification settings - Fork 264
IMG_SaveWEBP treats quality=100 as lossless #703
Copy link
Copy link
Open
Milestone
Description
The docs for IMG_SaveWEBP says the following about the quality parameter:
between 0 and 100. For lossy, 0 gives the smallest size and 100 the largest. For lossless, this parameter is the amount of effort put into the compression: 0 is the fastest but gives larger files compared to the slowest, but best, 100.
But there is no way to specify whether the image should be saved as lossless or not. Instead SDL uses lossless if quality is 100, and lossy otherwise. I don't know if this is intentional but it should at least be reflected in the documentation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels