Hardcoded color level values in deepfry, default to quantum depth of 8
This commit is contained in:
parent
b6db4a869e
commit
c6589dd507
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ Napi::Value Deepfry(const Napi::CallbackInfo &info) {
|
|||
for (Image &image : coalesced) {
|
||||
Blob temp;
|
||||
image.colorSpace(Magick::sRGBColorspace);
|
||||
image.level(QuantumRange * 0.25, QuantumRange * 0.60);
|
||||
image.level(16383.75, 39321);
|
||||
image.quality(1);
|
||||
image.magick("JPEG");
|
||||
image.write(&temp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue