Your message dated Sat, 27 Dec 2008 09:28:23 -0200
with message-id <[email protected]>
and subject line #358867: convert -page .. -rotate broken
has caused the Debian Bug report #358867,
regarding imagemagick: convert -page .. -rotate broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
358867: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358867
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: imagemagick
Version: 6:6.2.4.5-0.7
Severity: normal

The combination of -page and -rotate is broken -- or if not broken,
then at least extremely unintuitive!

I used to rotate and scale my photos to ~ A6 with

convert  -page 392x283  -rotate 90 pxxx.jpg ps2:x.ps

But now that page size is mangled: head x.ps => [..]

%%BoundingBox: 0 0 204 283

Note that the page size is 204 x 283, _not_ 392 x 283.
If I want to get size 392x283, I have to multiply both numbers by
(392/283): after

convert  -page 543x392  -rotate 90 pxxx.jpg ps2:x.ps

The page size is 392x283.

In the previous version I did get the page size I requested.
(The reason for using -page rather than -geometry is so that
convert doesn't mangle the JPEG image -- it is copied verbatim
into the postscript file. With -geometry it does seem to sample the
image at 72 points/inch)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages imagemagick depends on:
ii  libbz2-1.0               1.0.3-2         high-quality block-sorting file co
ii  libc6                    2.3.6-3         GNU C Library: Shared libraries an
ii  libfreetype6             2.1.10-1        FreeType 2 font engine, shared lib
ii  libice6                  6.9.0.dfsg.1-4  Inter-Client Exchange library
ii  libjasper-1.701-1        1.701.0-2       The JasPer JPEG-2000 runtime libra
ii  libjpeg62                6b-12           The Independent JPEG Group's JPEG 
ii  liblcms1                 1.13-1          Color management library
ii  libmagick9               6:6.2.4.5-0.7   Image manipulation library
ii  libpng12-0               1.2.8rel-5      PNG library - runtime
ii  libsm6                   6.9.0.dfsg.1-4  X Window System Session Management
ii  libtiff4                 3.8.0-3         Tag Image File Format (TIFF) libra
ii  libx11-6                 6.9.0.dfsg.1-4  X Window System protocol client li
ii  libxext6                 6.9.0.dfsg.1-4  X Window System miscellaneous exte
ii  libxml2                  2.6.23.dfsg.2-2 GNOME XML library
ii  zlib1g                   1:1.2.3-9       compression library - runtime

imagemagick recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Package: imagemagick
Version: 7:6.3.7.9.dfsg1-3

Works well the current sid (unstable) version. Of course, the image keep the 
ratio.
$ jhead image.jpg | grep Resolution
Resolution   : 2816 x 2112

The ratio here is 4:3.

$ convert  -page 392x283  -rotate 90 image.jpg ps2:image.ps
$ head image.ps | grep BoundingBox
%%BoundingBox: 0 0 212 283
%%HiResBoundingBox: 0 0 212 283

Which is ~3:4. The resolution 392x283 is not 3:4 and 'convert' fits it to the 
smaller size possible without loose the ratio. Note that you can get a better 
result with:
$ convert  -page 283x392  -rotate 90 image.jpg ps2:image.ps ; head image.ps | 
grep BoundingBox
%%BoundingBox: 0 0 283 377
%%HiResBoundingBox: 0 0 283 377

Please, feel free to reopen this bug if you notice that I'm wrong or I 
misunderstood you.

luciano

luciano

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to