diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/colorspace.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/fitz/colorspace.c b/source/fitz/colorspace.c index f697cd44..026953cb 100644 --- a/source/fitz/colorspace.c +++ b/source/fitz/colorspace.c @@ -235,21 +235,6 @@ fz_device_cmyk(fz_context *ctx) return ctx->colorspace->cmyk; } -fz_colorspace * -fz_lookup_device_colorspace(fz_context *ctx, char *name) -{ - if (!strcmp(name, "DeviceGray")) - return fz_device_gray(ctx); - if (!strcmp(name, "DeviceRGB")) - return fz_device_rgb(ctx); - if (!strcmp(name, "DeviceBGR")) - return fz_device_bgr(ctx); - if (!strcmp(name, "DeviceCMYK")) - return fz_device_cmyk(ctx); - assert(!"unknown device colorspace"); - return NULL; -} - void fz_set_device_gray(fz_context *ctx, fz_colorspace *cs) { |