]> mj.ucw.cz Git - libucw.git/blobdiff - images/io-libpng.c
Conf: Rewritten configuration parser to support multiple contexts (step 1)
[libucw.git] / images / io-libpng.c
index 2095065f189a9c4a198697b3c90081d230a627b2..e62e5ebae34a105fd25ced94506718edfb20a7d9 100644 (file)
@@ -9,13 +9,13 @@
 
 #undef LOCAL_DEBUG
 
-#include "lib/lib.h"
-#include "lib/mempool.h"
-#include "lib/fastbuf.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/io-main.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/io-main.h>
 
 #include <png.h>
 #include <setjmp.h>
@@ -201,7 +201,7 @@ libpng_read_data(struct image_io *io)
     }
 
   uns read_flags = io->flags;
-  
+
   /* Apply transformations */
   if (rd->bit_depth == 16)
     png_set_strip_16(rd->png_ptr);
@@ -254,7 +254,7 @@ libpng_read_data(struct image_io *io)
              read_flags = (read_flags & IMAGE_CHANNELS_FORMAT) | IMAGE_ALPHA;
            else
               png_set_strip_alpha(rd->png_ptr);
-         }  
+         }
        break;
       case PNG_COLOR_TYPE_RGB:
        if ((read_flags & IMAGE_COLOR_SPACE) == COLOR_SPACE_GRAYSCALE)