Resizing gif produces weird, striped jpg and png

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
qwertyuiop15678
Posts: 1
Joined: 2013-03-29T16:49:53-07:00
Authentication code: 6789

Resizing gif produces weird, striped jpg and png

Post by qwertyuiop15678 »

I installed newest ImageMagick and tried to resize gif image, but the result is not correct, it is striped somehow.

The command was:

Code: Select all

mogrify -format jpg -quality 100 -geometry x140 tuomas.gif

The same occurs in gif->png:

Code: Select all

convert -format png -quality 100 -geometry x140 tuomas.gif tuomas.png
Original gif (click to see in original size):
Image

Result jpg:
Image

Server is Centos6 64 and ImageMagick is ImageMagick-6.8.4, installed from source http://www.imagemagick.org/download/ImageMagick.tar.gz.

The problem didn't exists in Centos 6 default (ImageMagick-6.5.4.7-6.el6_2.x86_64).

Am I doing something wrong or is this a bug in 6.8.4?

Below is my configure:

Code: Select all

# convert -list configure

Code: Select all

Path: /usr/lib/ImageMagick-6.8.4//config-Q16/configure.xmlName           Value-------------------------------------------------------------------------------CC             gcc -std=gnu99 -std=gnu99CFLAGS         -I/usr/include/freetype2 -fopenmp -g -O2 -Wall -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16CODER_PATH     /usr/lib/ImageMagick-6.8.4/modules-Q16/coders
CONFIGURE      ./configure  '--prefix=/usr' '--enable-shared' '--disable-static' '--with-modules' '--with-perl' '--without-magick_plus_plus' '--with-wmf' '--with-lcms' '--with-rsvg'
CONFIGURE_PATH /usr/etc/ImageMagick-6/
COPYRIGHT      Copyright (C) 1999-2013 ImageMagick Studio LLC
CPPFLAGS       -I/usr/include/ImageMagick-6
CXX            g++
CXXFLAGS       -g -O2 -pthread
DEFS           -DHAVE_CONFIG_H
DELEGATES      bzlib djvu fontconfig freetype jbig jng jp2 jpeg lcms lzma openexr pango png ps rsvg tiff wmf x xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gvc=no --with-webp=no
DOCUMENTATION_PATH /usr/share/doc/ImageMagick-6
EXEC-PREFIX    /usr
EXECUTABLE_PATH /usr/bin
FEATURES       DPC OpenMP Modules
FILTER_PATH    /usr/lib/ImageMagick-6.8.4/modules-Q16/filters
HOST           x86_64-unknown-linux-gnu
INCLUDE_PATH   /usr/include/ImageMagick-6
LDFLAGS        -L/usr/lib 
LIB_VERSION    0x684
LIB_VERSION_NUMBER 6,8,4,2
LIBRARY_PATH   /usr/lib/ImageMagick-6.8.4
LIBS           -lMagickCore -llcms2 -lfreetype -lfontconfig -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lltdl -lm -lgomp -lpthread
NAME           ImageMagick
PCFLAGS        -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX         /usr
QuantumDepth   16
RELEASE_DATE   2013-03-29
SHARE_PATH     /usr/share/ImageMagick-6
SHAREARCH_PATH /usr/lib/ImageMagick-6.8.4/config-Q16
SVN_REVISION   11558
TARGET_CPU     x86_64
TARGET_OS      linux-gnu
TARGET_VENDOR  unknown
VERSION        6.8.4
WEBSITE        http://www.imagemagick.org

Path: [built-in]

Name           Value
-------------------------------------------------------------------------------
FEATURES       OpenMP 
NAME           ImageMagick
QuantumDepth   16
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Resizing gif produces weird, striped jpg and png

Post by magick »

We have a fix for the problem you reported. Look for it in ImageMagick 6.8.4-5 Beta by sometime tomorrow. Thanks.
Post Reply