[
About ImageMagick
] [ Command-line Tools Processing Options Usage Program Interfaces MagickWand MagickCore PerlMagick Magick++ Architecture ] [ Install from Source Unix Windows Binary Releases Unix Mac OS X Windows Resources ] [ Download ] [ Site Map Links ] [ Sponsors: ] |
Stream is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large images or when you require raw pixel components. We list a few examples of the stream command here to illustrate its usefulness and ease of use. To get started, lets stream the red, green, blue components of a 640x480 JPEG image to disk as unsigned characters: stream -map rgb -storage-type char image.jpg pixels.dat display -depth 8 -size 640x480 rgb:pixels.dat Here we extract a 100x100 region from a TIFF image in the grayscale format as doubles: stream -map i -storage-type double -extract 100x100+30+40 image.tif gray.raw You can also associate the region to extract with the image filename: stream -map i -storage-type double 'image.tif[100x100+30+40]' gray.raw The stream command recognizes these options. Click on an option to get more details about how that option works.
|