Re: convert - downscaling comic pages
Posted: 2014-08-26T19:25:09-07:00
That is very odd that it creates an edge-like result for either JPG or PNG? Perhaps there is an issue with your older IM version or older png and jpg delegates. Can you upgrade?
I ran this with no problem of that sort on IM 6.8.9.7 Q16 Mac OSX
Version: ImageMagick 6.8.9-7 Q16 x86_64 2014-08-19 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib
Portable Network Graphics (libpng 1.6.12)
Joint Photographic Experts Group JFIF format (90)
I ran this with no problem of that sort on IM 6.8.9.7 Q16 Mac OSX
Version: ImageMagick 6.8.9-7 Q16 x86_64 2014-08-19 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib
Portable Network Graphics (libpng 1.6.12)
Joint Photographic Experts Group JFIF format (90)
Code: Select all
convert \( bw-thin_line.jpg -set colorspace sRGB -colorspace RGB \) \
\( -clone 0 -gamma 1.666666666666666 -filter RobidouxSharp -distort Resize 750x1125 -gamma 0.6 \) \
\( -clone 0 -filter RobidouxSharp -distort Resize 750x1125 \) \
-delete 0 \
\( -clone 1 -colorspace gray -auto-level \) \
-compose over -composite \
-set colorspace RGB -colorspace sRGB -depth 8 +repage \
robidouxsharp_rgb_gamma_blend_ewa.png
Code: Select all
convert \( bw-thin_line.jpg -set colorspace sRGB -colorspace RGB \) \
\( -clone 0 -gamma 1.666666666666666 -filter Catrom -distort Resize 750x1125 -gamma 0.6 \) \
\( -clone 0 -filter Catrom -distort Resize 750x1125 \) \
-delete 0 \
\( -clone 1 -colorspace gray -auto-level \) \
-compose over -composite \
-set colorspace RGB -colorspace sRGB -depth 8 +repage \
catrom_rgb_gamma_blend_ewa.png
Code: Select all
convert \( bw-thin_line.jpg -set colorspace sRGB -colorspace RGB \) \
\( -clone 0 -gamma 1.666666666666666 -filter Catrom -resize 750x1125 -gamma 0.6 \) \
\( -clone 0 -filter Catrom -resize 750x1125 \) \
-delete 0 \
\( -clone 1 -colorspace gray -auto-level \) \
-compose over -composite \
-set colorspace RGB -colorspace sRGB -depth 8 +repage \
catrom_rgb_gamma_blend_non_ewa.png
Code: Select all
convert \( bw-thin_line.jpg -set colorspace sRGB -colorspace RGB \) \
\( -clone 0 -gamma 1.666666666666666 -filter RobidouxSharp -resize 750x1125 -gamma 0.6 \) \
\( -clone 0 -filter RobidouxSharp -resize 750x1125 \) \
-delete 0 \
\( -clone 1 -colorspace gray -auto-level \) \
-compose over -composite \
-set colorspace RGB -colorspace sRGB -depth 8 +repage \
robidouxsharp_rgb_gamma_blend_non_ewa.png