summaryrefslogtreecommitdiffstats
path: root/rules/imagemagick.in
diff options
context:
space:
mode:
authorGuillermo Rodriguez <guille.rodriguez@gmail.com>2016-10-14 11:00:37 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-10-21 11:44:26 +0200
commit6f499ae260f512a24c378c139a2b88fbb1a5f82d (patch)
tree140edd8acb4bbeb86b781f5066764446e6c84bef /rules/imagemagick.in
parent52fa90d9fbd9a010dc52363922bb6920a252941d (diff)
downloadptxdist-6f499ae260f512a24c378c139a2b88fbb1a5f82d.tar.gz
ptxdist-6f499ae260f512a24c378c139a2b88fbb1a5f82d.tar.xz
New package: imagemagick
This adds a new package for ImageMagick 7. Some configuration options are set to sensible defaults for embedded targets (quantum depth set to 8 pixels, HDRI disabled). See notes in imagemagick.make. Changes since v2: - Fixed whitespace in .in file - Made comment about quantum depth choice more clear - Sorted configure options as they appear in --configure - Removed unwanted binaries and config files intead of just having them commented out. Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com> [mol: use sourceforge URL] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/imagemagick.in')
-rw-r--r--rules/imagemagick.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/rules/imagemagick.in b/rules/imagemagick.in
new file mode 100644
index 000000000..7bf7b9b99
--- /dev/null
+++ b/rules/imagemagick.in
@@ -0,0 +1,41 @@
+## SECTION=multimedia_tools
+
+menuconfig IMAGEMAGICK
+ tristate
+ select ZLIB if IMAGEMAGICK_USE_ZLIB
+ select LIBPNG if IMAGEMAGICK_USE_LIBPNG
+ select LIBJPEG if IMAGEMAGICK_USE_LIBJPEG
+ prompt "imagemagick "
+ help
+ ImageMagick® is a software suite to create, edit, compose, or convert
+ bitmap images. It can read and write images in a variety of formats
+ (over 200) including PNG, JPEG, JPEG-2000, GIF, TIFF, DPX, EXR, WebP,
+ Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror,
+ rotate, distort, shear and transform images, adjust image colors, apply
+ various special effects, or draw text, lines, polygons, ellipses and
+ Bézier curves.
+
+if IMAGEMAGICK
+
+config IMAGEMAGICK_USE_ZLIB
+ bool
+ default y
+ prompt "Enable ZLIB"
+ help
+ Enable ZLIB support
+
+config IMAGEMAGICK_USE_LIBPNG
+ bool
+ default y
+ prompt "Enable PNG"
+ help
+ Enable PNG support
+
+config IMAGEMAGICK_USE_LIBJPEG
+ bool
+ default y
+ prompt "Enable JPEG"
+ help
+ Enable JPEG support
+
+endif