summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/README.footprint
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-01-23 11:57:17 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-25 09:38:12 +0100
commitc64ae4f1615f0fe9322ffcb09e50e360068fd11a (patch)
tree2e6bec67c939e226e0efa46f966b5e990aa8abb2 /src/3rdparty/libmng/README.footprint
parent2564c403a1fbcf110475b071c3b60eca1991a455 (diff)
Long live the qtimageformats module
This module contains plugins for image formats that aren't part of the "core" (qtbase) offering, starting with mng. Task-number: QTBUG-21869 Change-Id: I85e51ed6f84c07419b1676f9def234c36f10141f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: aavit <qt_aavit@ovi.com>
Diffstat (limited to 'src/3rdparty/libmng/README.footprint')
-rw-r--r--src/3rdparty/libmng/README.footprint46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/3rdparty/libmng/README.footprint b/src/3rdparty/libmng/README.footprint
new file mode 100644
index 0000000..34dba7f
--- /dev/null
+++ b/src/3rdparty/libmng/README.footprint
@@ -0,0 +1,46 @@
+/*
+ You can use one or more of the following defines to
+ reduce the size of the compiled library. Define the
+ SKIPCANVAS macros for any canvas configurations that
+ your application doesn't use. Define the SKIPCHUNK
+ macros for any chunks that your application doesn't
+ process. Define MNG_OPTIMIZE_FOOTPRINT to choose
+ smaller code size over faster execution and less memory
+ usage. These macros became available in version 1.0.6.
+*/
+
+/* eliminate unused features from libmng */
+#define MNG_OPTIMIZE_FOOTPRINT
+#define MNG_OPTIMIZE_OBJCLEANUP
+#define MNG_OPTIMIZE_CHUNKINITFREE
+#define MNG_OPTIMIZE_CHUNKASSIGN
+#define MNG_OPTIMIZE_CHUNKREADER
+
+#define MNG_SKIPCANVAS_ABGR8
+#define MNG_SKIPCANVAS_ARGB8
+#define MNG_SKIPCANVAS_BGR8
+#define MNG_SKIPCANVAS_BGRA8
+#define MNG_SKIPCANVAS_BGRA8_PM
+#define MNG_SKIPCANVAS_BGRX8
+#define MNG_SKIPCANVAS_RGBA8
+#define MNG_SKIPCANVAS_BGR565
+#define MNG_SKIPCANVAS_RGB565
+#define MNG_SKIPCANVAS_BGRA565
+#define MNG_SKIPCANVAS_RGBA565
+
+#define MNG_SKIPCHUNK_iCCP
+#define MNG_SKIPCHUNK_tEXt
+#define MNG_SKIPCHUNK_zTXt
+#define MNG_SKIPCHUNK_iTXt
+#define MNG_SKIPCHUNK_bKGD
+#define MNG_SKIPCHUNK_pHYs
+#define MNG_SKIPCHUNK_sBIT
+#define MNG_SKIPCHUNK_sPLT
+#define MNG_SKIPCHUNK_hIST
+#define MNG_SKIPCHUNK_tIME
+#define MNG_SKIPCHUNK_eXPI
+#define MNG_SKIPCHUNK_fPRI
+#define MNG_SKIPCHUNK_nEED
+#define MNG_SKIPCHUNK_pHYg
+
+