Quick hack to print images with ImageMagick
Andy Bair
pab at korelogic.com
Tue Dec 11 13:12:20 EST 2007
On Tue, Dec 11, 2007 at 12:23:25PM -0500, VirginSnow at vfemail.net wrote:
>
> Have you ever had an image and said "I want to print that." As a
> Linux user, you know there's about a billion different ways to do
> *anything*, so you ask yourself "How easiest to do that?"
>
> "Do I open up firefox, print to file, fit to page? Do I use
> ImageMagic's 'display' command and save to Postscript? Should I load
> the 10,000lb gorilla named 'The Gimp' to create the Postscript?"
>
> As it turns out, many of these will get the scale and/or position of
> the image on the page WRONG. They'll either convert the image to
> postscript pixel-for-pixel, scale the width but not the height, and/or
> position the image in the lower-left corner of the page. Fortunately,
> there's a really quick & easy hack (as the message subject promises)
> to get a reasonable result:
>
> $ convert -verbose -rotate 180 -page Letter foo.gif foo.ps
>
> This image will come out on your printer upside down, but it'll be
> nicely scaled to fit on Letter-size paper.
That's very cool. I've used convert to "convert" many things and it's a
great utility with lots of good options.
>
> [Keywords: quick easily print image convert postscript ps imagemagick
> convert correct scale resize fit shrink letter page size]
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
--
Andy
KoreLogic Security
603.465.3236 (Office)
603.340.2498 (Mobile)
http://www.korelogic.com
GnuPG Fingerprint: 688A 79EC B1E5 5748 CE87 1F20 2C45 60E7 0583 23B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20071211/3605efa8/attachment.bin
More information about the gnhlug-discuss
mailing list