Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2006-09-20T17:30:37-07:00
Try the following:
convert xc:#af037b -depth 32 logo.rgb We get
-> od -x logo.rgb
0000000 afaf afaf 0303 0303 7b7b 7b7b Is that what you are looking for? We're using ImageMagick-6.2.9-6, the current release.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2006-09-21T09:37:13-07:00
Ok, try this:
stream -depth 8 -map ppprpppgpppb -storage-type char image.png image.raw
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2006-09-21T14:10:52-07:00
MIFF is the perferred image format when piping because it is the only format that retains all of the ImageMagick image attributes and metadata.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2006-09-21T17:28:39-07:00
Yes, use miff:- to force the output format to MIFF.