Fixed mirror colorspace
This commit is contained in:
parent
1a76d4d0c4
commit
923349408e
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ Napi::Value Mirror(const Napi::CallbackInfo &info) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Image &image : coalesced) {
|
for (Image &image : coalesced) {
|
||||||
|
image.colorSpace(Magick::sRGBColorspace);
|
||||||
list<Image> mirrored;
|
list<Image> mirrored;
|
||||||
Image final;
|
Image final;
|
||||||
image.extent(Geometry(to_string(vertical ? image.baseColumns()
|
image.extent(Geometry(to_string(vertical ? image.baseColumns()
|
||||||
|
@ -96,4 +97,4 @@ Napi::Value Mirror(const Napi::CallbackInfo &info) {
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
throw Napi::Error::New(env, "Unknown error");
|
throw Napi::Error::New(env, "Unknown error");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue