Problems converting files from pnm to pdf

David N. Lombard dnl at speakeasy.net
Sun Oct 11 00:48:29 UTC 2009


Chris Mohler wrote:
> On Sat, Oct 10, 2009 at 4:33 PM, Jay Ridgley <jridgley2 at austin.rr.com> wrote:
>> I figured it out, it helps to have the file name CORRECTLY SPELLED...
> 
> Glad you got it - you could also use imagemagick as well:
> 
> convert foo.pnm foo.pdf
> 
> Or for a bunch of them (untested, but I do this w/JPEG all the time):
> ls *pnm | xargs -i convert {} {}.pdf

Yes, convert from ImageMagick is a truly wonderful tool.  Always 
consider IM whenever you're dealing with any image format.

I use Image::Magick in Perl quite a lot to create labels for my wife's 
business.

-- 
David N. Lombard




More information about the ubuntu-users mailing list