1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-12-09 09:56:01 +02:00

Merge pull request #43 from Vasfed/master

Fix cmyk profile path
This commit is contained in:
Sergey Alexandrovich 2018-01-11 16:29:06 +06:00 committed by GitHub
commit 28d5784c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
vips.h
View File

@ -160,7 +160,7 @@ vips_need_icc_import(VipsImage *in) {
int
vips_icc_import_go(VipsImage *in, VipsImage **out, char *profile) {
return vips_icc_import(in, out, "input_profile", "cmyk.icm", "embedded", TRUE, "pcs", VIPS_PCS_XYZ, NULL);
return vips_icc_import(in, out, "input_profile", profile, "embedded", TRUE, "pcs", VIPS_PCS_XYZ, NULL);
}
int