SAS Component Language Dictionary |
Category: | Image |
Syntax | |
Commands Used with IMGOP |
Syntax |
rc=IMGOP(task-id,command,<other arguments>); |
contains the return code for the operation:
0 | |
>0 |
contains the identifier (returned by a previous IMGINIT function) of the task to be operated upon.
is the command to execute. Valid commands are listed in Commands Used with IMGOP.
lists arguments that are used for a command. The arguments required for a command may include image file attributes. You can specify image file attributes by enclosing the attributes in quotation marks and separating multiple attributes with blanks. For example:
rc=imgop(tid,"WRITE",filename, "FORMAT=TIFF COMPRESS=G3FAX"):
Note: When read with IMGOP, Encapsulated Postscript Interchange (EPSI) files display as low-resolution and monochrome. This degraded image is the preview version of the actual image.
Commands Used with IMGOP |
For detailed information about these commands, see Commands Used with the IMGCTRL, IMGOP and PICFILL Functions.
dithers the selected image to a monochrome black and white image.
returns the RGB values of the index positions of a color map for the selected image.
returns the pixel value of a specified position in the selected image.
prints an image.
reads an image from an external file, a SAS catalog, or a device.
assigns the RGB values for the index positions of a color map for the current image.
assigns the pixel value in an image at the specified position.
converts color images to black and white, using the value that is specified with the THRESHOLD command.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.