The netpbm tools (formerly pbmtools) have a long heritage and are great for doing shell level graphics manipulation through connecting commands via shell pipes.
The error you're getting is that the PBM file expected needs to be a multiple of 8 pixels wide. Presumably the conversion routines have a limited functionality that doesn't allow arbitrary size. Not sure what the best way to do this but you could use a sheel script with the combination of "pnmfile" and "pnmmargin" (or "pnmscale" if required) Martin Visser Network Consultant - Compaq Global Services Compaq Computer Australia 3 Richardson Place North Ryde, Sydney NSW 2113 Australia Phone: +61-2-9022-1670 Mobile: +61-411-254-513 Email:[EMAIL PROTECTED] -----Original Message----- From: Terry Collins [mailto:[EMAIL PROTECTED]] Sent: Friday, 1 March 2002 1:43 PM To: Slug List Subject: [SLUG] PBM width must be a multiple of 8 - error I'm using efax to send images to fax machines, i.e. send faxes. This works fine so long as I scan (xsane) the full scanner field. If I set the scanner to select only an A4 image size, or zoom in, then efax pops up that the error "PBM width must be a multiple of 8". I'm using a PNM image format to save under xsane, but I have no idea of what this means. I've tried making sure the image size (in mm) was a multiple of 8, eg 88mm x 88mm, but that is not it. I've done a lot of man reading, but still no idea. I'm after suggestions on post scanning processing, if anyone has any ideas on this problem. -- Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861 email: [EMAIL PROTECTED] www: http://www.woa.com.au Wombat Outdoor Adventures <Bicycles, Books, Computers, GIS> "People without trees are like fish without clean water" -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
