Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144266 - convert from imagemagick ignore the -size argument
Summary: convert from imagemagick ignore the -size argument
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-17 17:57 UTC by François Bissey
Modified: 2006-08-17 18:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2006-08-17 17:57:06 UTC
I am on ppc and I am using imagemagick-6.2.8.0. More specifically
I use convert. I tried to convert images from 1280x640 to 320x240
with 
convert DQ2-shape01-T2.png -size 320x240 test.png
or 
convert -size 320x240 DQ2-shape01-T2.png test.png
with absolutely no changes in size. I tried gif as well with no results.
using the -verbose option yeld the following results:
convert -verbose test.gif -size 320x240 test2.gif
test.gif GIF 1280x1024 1280x1024+0+0 PseudoClass 256c 1.3e+02kb 0.720u 0:02
test.gif=>test2.gif GIF 1280x1024 1280x1024+0+0 PseudoClass 256c 1.3e+02kb

showing that the size argument is discarded. Suspecting overoptimization
I recompiled imagemagick with CFLAGS="" CXXFLAGS="" as shown on the following
emerge --info:
Portage 2.1-r2 (default-linux/ppc/ppc32/2006.1/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 ppc)
=================================================================
System uname: 2.6.16-gentoo-r9 ppc 7450, altivec supported
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS=""
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/"
LC_ALL="C"
LINGUAS="fr en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/ebuild-exchange"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib alsa altivec arts asf audiofile berkdb bitmap-fonts bonobo bzip2 cairo cddb cdf cdparanoia cdr cli crypt cups curl dlloader dri dts dv dvd dvdr dvdread emboss encode esd expat f77 ffmepg fftw firefox flac foomaticdb fortran gdbm gif gmp gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imlib imlib2 ipv6 isdnlog java jbig jpeg jpeg2k kde kdehiddenvisibility kdexdeltas lcms libg++ libwww live lzo mad mikmod mjpeg mng mp3 mp4 mpeg musepack musicbrainz ncurses netcdf network nls nptl nptlonly ogg openal openexr opengl oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection ruby samba sdl session slang slp sndfile spell spl ssl svg szip tcl tcltk tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wmf xine xml xml2 xmms xorg xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_fr linguas_en_GB userland_GNU video_cards_fbdev video_cards_nv video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 François Bissey 2006-08-17 18:03:12 UTC
Bummer I just filed this bug to discover that I mistook the -size and -scale
options.

Sorry for the disturbance.