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
1 changed files with 2 additions and 1 deletions

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");
}
}
}