summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-09-12 15:42:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-09-12 17:23:38 +0200
commit1f16f058e4b7aad83c8d9575e1fc36a618eed4e8 (patch)
treedd5a0b99f35796589387da128b87e481613254ca /lib/Kconfig
parent50239e0195c6c8af99b3fa80bde084e30a33a7cd (diff)
downloadbarebox-1f16f058e4b7aad83c8d9575e1fc36a618eed4e8.tar.gz
barebox-1f16f058e4b7aad83c8d9575e1fc36a618eed4e8.tar.xz
add PNG support
use LodePNG version 20120729 from http://lodev.org/lodepng/ The original coding style is keeped to simplify update. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig25
1 files changed, 23 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 417c81ee5a..59f92c24fb 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -43,8 +43,29 @@ config IMAGE_RENDERER
depends on VIDEO
select FILETYPE
+if IMAGE_RENDERER
+
config BMP
- bool
- depends on IMAGE_RENDERER
+ bool "bmp"
+
+config PNG
+ bool "png"
+ select ZLIB
+
+if PNG
+
+choice
+ prompt "PNG Lib"
+
+config LODEPNG
+ bool "lodePNG"
+ help
+ This PNG library supports most PNG formats.
+
+endchoice
+
+endif
+
+endif
endmenu