SVN revision 14676 (2014-01-29 6.8.8-4)
but I can't find the right syntax
first check binary IM_MOD_RL_png_.dll for the new option png:swap-bytes:
Code: Select all
> strings.exe ImageMagick-6.8.8-Q16\modules\coders\IM_MOD_RL_png_.dll | grep swap
png:swap-bytes
png_set_swap
Code: Select all
ImageMagick-6.8.8-Q16\convert.exe -define png:swap-bytes t1.png -auto-level test.jpg
ImageMagick-6.8.8-Q16\convert.exe -define png:swap-bytes=on t1.png -auto-level test.jpg
ImageMagick-6.8.8-Q16\convert.exe -define png:swap-bytes=on png:t1.png -auto-level test.jpg
etc.
Code: Select all
> convert.exe -version
Version: ImageMagick 6.8.8-3 Q16 x64 2014-01-19 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps rsvg tiff webp xml zlib