Package: imagemagick
Version: 6:6.2.4.5-0.3
Severity: important

Note: possibly related to 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275894.


I'm trying to make an index picture of some photos, to have it printed along 
with them to have an easy overview.
66 JPEGs, totaling 140MB; most 3400x2300 pixel, some with 1.3 MPixel.

Memory usage goes through the roof.


First try was 
        $ montage -label %f -background '#fff' -geometry +4+4 -resize 10% 
*-*.jpg index.jpg
I'd have believed 140MB * 10% * 10% ~ 1.4MB; maybe times 100 while 
uncompressed in memory. Having 512MB real memory I thought that to be 
an easy task.

But soon I had to kill that command; top shows
 6960 flip      18   0  988m 271m 270m D 11.0 53.9   0:17.30 montage
with all of swap and main memory used.


Next I tried to convert the picture to a smaller size; thinking that it 
would then be ok.
        $ convert -geometry 100x100 '*-*.jpg'
But that ate all memory, too.


Only way was to do something along
        $ for a in *-*.jpg ; do convert $a -geometry 100x100 _$a; done
        $ montage -label %f -background '#fff' -geometry +4+4 _* index.jpg
That worked.


BTW, is there a way to tell imagemagick to respect the rotation tag, and 
possible sort the images by rotation? So that I get a row of portrait images,
below a row with fewer landscape images, and so on - to fully utilize the
given space?

Thank you.


Regards,

Phil


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (850, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=de_AT, LC_CTYPE=de_AT (charmap=ISO-8859-1)

Versions of packages imagemagick depends on:
ii  libbz2-1.0        1.0.2-10               high-quality block-sorting file co
ii  libc6             2.3.5-6                GNU C Library: Shared libraries an
ii  libdps1           6.8.2.dfsg.1-7         Display PostScript (DPS) client li
ii  libfreetype6      2.1.10-1               FreeType 2 font engine, shared lib
ii  libice6           1:6.3.5-3              X11 Inter-Client Exchange library
ii  libjasper-1.701-1 1.701.0-2              The JasPer JPEG-2000 runtime libra
ii  libjpeg62         6b-10                  The Independent JPEG Group's JPEG 
ii  liblcms1          1.13-1                 Color management library
ii  libmagick9        6:6.2.4.5-0.2          Image manipulation library
ii  libpng12-0        1.2.8rel-5             PNG library - runtime
ii  libsm6            1:6.0.4-2              X11 Session Management library
ii  libtiff4          3.7.4-1                Tag Image File Format (TIFF) libra
ii  libx11-6          1:6.2.1+cvs.20050722-6 X11 client-side library
ii  libxext6          1:6.4.3-3              X11 miscellaneous extension librar
ii  libxml2           2.6.22-2               GNOME XML library
ii  xlibs             6.8.2.dfsg.1-7         X Window System client libraries m
ii  zlib1g            1:1.2.3-4              compression library - runtime

imagemagick recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to