-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Question for Color Change #221
Comments
Could you also provide logs with |
moz
png
|
Ok I see where the problem now. Could you remove |
The And, maybe this feature (just assume it's not a bug) should be invoked in the #200 to make users know what might happen. PNG I moved it, but still got an error for arg wrong.
|
png command doesn't accept quality option UPD: This is issue is only about color change that happens when using quantization. I suggest moving discussion about arguments here #220 |
?! I've been using this It's necessary to add it to the readme... |
TBH, I don't know the exact reason of this issue, but since you mentioned it, I agree to move this issue. After all, I'm just a Rust beginner. 😉 |
Description
Original
Here is a pic and the lips of the character are pink.
Original pic: 1717128900569_u.zip
Test MOZJPEG
Use
moz
mode and only-q
option was changed, all other options have been set to the optimal value of not interfering with original colors../_rimage.exe moz 1717128900569_u.jpg -q 90 --resize \@0.5 --quantization 100 --dithering 100 - s _ued
As you can see, the lips' color of the character has changed to pale.
Test PNG
Use
png
mode and only-q
option was changed, all other options have been set to the optimal value of not interfering with original colors../_rimage.exe png 1717128900569_u.jpg -- -q 90 --resize "@0.5" --quantization 100 --dithering 100
No change compared to the original one.
Test Squoosh
All options are setted as default (expect resize to 50%) and color doesn't be changed.
Problem or Motivation
After testing other format, I've noticed that it seems that only
png
and other loss-less format could preserve the original color (pink) of the character's lips...Is this my mistake in operation, or is it just the limitation of the algorithm itself, or is it an error caused by the Rimage when transform the codec?
Expected behavior
Preserve the original color.
The text was updated successfully, but these errors were encountered: