You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (liq_set_speed(handle.get(), 4) != LIQ_OK) {
return false;
}
Whether the default value of speed is different, I just changed the c++ default value to 4, it is OK.
The C++ wrapper hasn't been developed by me, so I don't know what it's doing.
Setting the speed to a lower value will improve images.
Also make sure to set max quality to 100 to allow best gradients. Lower quality limits may posterize.
when using libimagequant to compress images, why does the Rust version produce smoother compression quality without artifacts or banding
c/c++:
m_pngHandler use libpng;
Rust
TEST_IMAGE.zip
What's the difference? Which parameter is wrong?
The text was updated successfully, but these errors were encountered: