Fixed mirror colorspace

This commit is contained in:
Essem 2021-12-30 15:32:39 -06:00
parent 1a76d4d0c4
commit 923349408e
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -48,6 +48,7 @@ Napi::Value Mirror(const Napi::CallbackInfo &info) {
}
for (Image &image : coalesced) {
image.colorSpace(Magick::sRGBColorspace);
list<Image> mirrored;
Image final;
image.extent(Geometry(to_string(vertical ? image.baseColumns()
@ -96,4 +97,4 @@ Napi::Value Mirror(const Napi::CallbackInfo &info) {
} catch (...) {
throw Napi::Error::New(env, "Unknown error");
}
}
}