We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3decb94 commit eb91d4cCopy full SHA for eb91d4c
src/imageio/imageio_png.c
@@ -31,6 +31,12 @@
31
#include "imageio_common.h"
32
#include "imageio_png.h"
33
34
+
35
+// Reading of PNG files also takes place in the LUT 3D module in order to obtain
36
+// LUTs encoded in this format. To minimize code duplication, we put the code
37
+// common to both uses (reading the header and reading the image itself) into
38
+// two functions, dt_imageio_png_read_header and dt_imageio_png_read_image.
39
40
gboolean dt_imageio_png_read_header(const char *filename, dt_imageio_png_t *png)
41
{
42
png->f = g_fopen(filename, "rb");
0 commit comments