Fix sepia
This commit is contained in:
parent
94f34fa40f
commit
a01e2ae77b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ char *Colors(string type, char *BufferData, size_t BufferLength,
|
|||
if (color == "grayscale") {
|
||||
out = in.colourspace(VIPS_INTERPRETATION_B_W);
|
||||
} else if (color == "sepia") {
|
||||
out = in.flatten().recomb(sepia);
|
||||
out = in.extract_band(0, VImage::option()->set("n", 3)).recomb(sepia);
|
||||
}
|
||||
|
||||
void *buf;
|
||||
|
|
Loading…
Reference in a new issue