about summary refs log tree commit diff
path: root/converter/other/pngx.h
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pngx.h')
-rw-r--r--converter/other/pngx.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/converter/other/pngx.h b/converter/other/pngx.h
index 10e8204d..1252e32a 100644
--- a/converter/other/pngx.h
+++ b/converter/other/pngx.h
@@ -128,6 +128,20 @@ void
 pngx_setChrm(struct pngx *      const pngxP,
              struct pngx_chroma const chroma);
 
+typedef enum {
+    PNGX_PERCEPTUAL,
+    PNGX_RELATIVE_COLORIMETRIC,
+    PNGX_SATURATION,
+    PNGX_ABSOLUTE_COLORIMETRIC
+} pngx_srgbIntent;
+
+const char *
+pngx_srgbIntentDesc(pngx_srgbIntent const srgbIntent);
+
+void
+pngx_setSrgb(struct pngx *   const pngxP,
+             pngx_srgbIntent const srgbIntent);
+
 void
 pngx_setCompressionSize(struct pngx * const pngxP,
                         unsigned int  const bufferSize);
@@ -196,7 +210,7 @@ pngx_setText(struct pngx * const pngxP,
 
 void
 pngx_setTime(struct pngx * const pngxP,
-             png_time      const time);
+             time_t        const timeArg);
 
 void
 pngx_setTrnsPalette(struct pngx *    const pngxP,