X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=images%2Fcolor.c;h=0a9da8c4c7f526876cf2db780cced098d03791ef;hb=1cf8ac51f5495ccd5187dc220ffc69e95d6e0cfc;hp=e0b079c21b8df7a61d91b7eb9e2e64f3edff062c;hpb=54833f693e97cc4c3d5b8c28e6816e8d1ce5192e;p=libucw.git diff --git a/images/color.c b/images/color.c index e0b079c2..0a9da8c4 100644 --- a/images/color.c +++ b/images/color.c @@ -9,7 +9,7 @@ #undef LOCAL_DEBUG -#include "lib/lib.h" +#include "ucw/lib.h" #include "images/images.h" #include "images/color.h" #include "images/error.h" @@ -154,7 +154,7 @@ color_put(struct image_context *ctx, struct color *color, byte *dest, uns dest_s struct image_conv_options image_conv_defaults = { .flags = IMAGE_CONV_COPY_ALPHA | IMAGE_CONV_FILL_ALPHA | IMAGE_CONV_APPLY_ALPHA, .background = { .color_space = COLOR_SPACE_GRAYSCALE } }; - + /* Grayscale <-> RGB */ #define IMAGE_WALK_PREFIX(x) walk_##x @@ -348,7 +348,7 @@ image_conv_color_space(struct image_context *ctx UNUSED, struct image *dest, str case COLOR_SPACE_CMYK: switch (src->flags & IMAGE_CHANNELS_FORMAT) { - case COLOR_SPACE_RGB: + case COLOR_SPACE_RGB: if (dest->pixel_size == 4) { image_conv_rgb_n_to_cmyk_4(dest, src);