[prev in list] [next in list] [prev in thread] [next in thread]
List: imagemagick-user
Subject: [magick-users] Convert a raw black & white image
From: Shaun Jackman <sjackman () telus ! net>
Date: 2004-06-29 21:05:05
Message-ID: 200406291405.05545.sjackman () telus ! net
[Download RAW message or body]
I successfully used the manual page example to convert a
raw gray-scale image to a png.
$ convert -depth 8 -size 16x9 gray:in.bin out.png
Now I'm trying to do the same for a black & white (i.e. one
bit per pixel) image with a 16 byte header.
$ convert -depth 1 -size 16x9+16 gray:foo.bin bar.bin
convert: Unexpected end-of-file (foo.bin) [No such file or directory].
convert: Missing an image file name.
I think it's still using 8 bits per pixel, because it seems
to be running out of bytes prematurely. Is there a switch
to tell it to use only one bit per pixel?
In case anyone's curious I'm converting a Palm Pilot format
bitmap.
Please cc me in your reply. Thanks!
Shaun
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic