decode - Methods to Read Image Formats
image=ReadAVSImage(image_info)
image=ReadBMPImage(image_info)
image=ReadCMYKImage(image_info)
image=ReadDCMImage(image_info)
image=ReadDPSImage(image_info)
image=ReadFAXImage(image_info)
image=ReadFITSImage(image_info)
image=ReadFPXImage(image_info)
image=ReadGIFImage(image_info)
image=ReadGRADATIONImage(image_info)
image=ReadGRAYImage(image_info)
image=ReadHDFImage(image_info)
image=ReadHISTOGRAMImage(image_info)
image=ReadICCImage(image_info)
image=ReadICONImage(image_info)
image=ReadIPTCImage(image_info)
image=ReadImage(image_info)
image=ReadJBIGImage(image_info)
image=ReadJPEGImage(image_info)
image=ReadLABELImage(image_info)
image=ReadLOGOImage(image_info)
image=ReadMAPImage(image_info)
image=ReadMIFFImage(filename)
image=ReadMONOImage(image_info)
image=ReadMTVImage(image_info)
image=ReadNULLImage(image_info)
image=ReadPCDImage(image_info)
image=ReadPCLImage(image_info)
image=ReadPCXImage(image_info)
image=ReadPDFImage(image_info)
image=ReadPICTImage(image_info)
image=ReadPIXImage(image_info)
image=ReadPLASMAImage(image_info)
image=ReadPNGImage(image_info)
image=ReadPNMImage(image_info)
image=ReadPSDImage(image_info)
image=ReadPSImage(image_info)
image=ReadRGBImage(image_info)
image=ReadRLAImage(image_info)
image=ReadRLEImage(image_info)
image=ReadSGIImage(image_info)
image=ReadSTEGANOImage(image_info)
image=ReadSUNImage(image_info)
image=ReadTGAImage(image_info)
image=ReadTIFFImage(image_info)
image=ReadTILEImage(image_info)
image=ReadTIMImage(image_info)
image=ReadTTFImage(image_info)
image=ReadTXTImage(image_info)
image=ReadUILImage(image_info)
image=ReadUYVYImage(image_info)
image=ReadVICARImage(image_info)
image=ReadVIDImage(image_info)
image=ReadVIFFImage(image_info)
image=ReadXBMImage(image_info)
image=ReadXCImage(image_info)
image=ReadXImage(image_info)
image=ReadXPMImage(image_info)
image=ReadXWDImage(image_info)
image=ReadYUVImage(image_info)
Method ReadAVSImage reads a AVS X image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadAVSImage routine is:
image=ReadAVSImage(image_info)
A description of each parameter follows:
Method ReadAVSImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadBMPImage reads a Microsoft Windows bitmap image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadBMPImage routine is:
image=ReadBMPImage(image_info)
A description of each parameter follows:
Method ReadBMPImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadCMYKImage reads an image of raw cyan, magenta, yellow, and black bytes and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadCMYKImage routine is:
image=ReadCMYKImage(image_info)
A description of each parameter follows:
Method ReadCMYKImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadDCMImage reads a Digital Imaging and Communications in Medicine (DICOM) file and returns it. It It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadDCMImage routine is:
image=ReadDCMImage(image_info)
A description of each parameter follows:
Method ReadDCMImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadDPSImage reads a Adobe Postscript image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadDPSImage routine is:
image=ReadDPSImage(image_info)
A description of each parameter follows:
Method ReadDPSImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadFAXImage reads a Group 3 FAX image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadFAXImage routine is:
image=ReadFAXImage(image_info)
A description of each parameter follows:
Method ReadFAXImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadFITSImage reads a FITS image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadFITSImage routine is:
image=ReadFITSImage(image_info)
A description of each parameter follows:
Method ReadFITSImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies the name of the image to read.
Method ReadFPXImage reads a FlashPix image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. This routine was contributed by BillR@corbis.com.
The format of the ReadFPXImage routine is:
image=ReadFPXImage(image_info)
A description of each parameter follows:
Method ReadFPXImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadGIFImage reads a Compuserve Graphics image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadGIFImage routine is:
image=ReadGIFImage(image_info)
A description of each parameter follows:
Method ReadGIFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or an error occurs.
Specifies a pointer to an ImageInfo structure.
Method ReadGRADATIONImage creates a gradation image and initializes it to the X server color range as specified by the filename. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadGRADATIONImage routine is:
image=ReadGRADATIONImage(image_info)
A description of each parameter follows:
Method ReadGRADATIONImage returns a pointer to the image after creating it. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadGRAYImage reads an image of raw grayscale bytes and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadGRAYImage routine is:
image=ReadGRAYImage(image_info)
A description of each parameter follows:
Method ReadGRAYImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadHDFImage reads a Hierarchical Data Format image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadHDFImage routine is:
image=ReadHDFImage(image_info)
A description of each parameter follows:
Method ReadHDFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadHISTOGRAMImage reads a HISTOGRAM image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadHISTOGRAMImage routine is:
image=ReadHISTOGRAMImage(image_info)
A description of each parameter follows:
Method ReadHISTOGRAMImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadICCImage reads an image file in the ICC format and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. This method differs from the other decoder methods in that only the color profile information is useful in the returned image.
The format of the ReadICCImage routine is:
image=ReadICCImage(image_info)
A description of each parameter follows:
Method ReadICCImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadICONImage reads a Microsoft icon image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadICONImage routine is:
image=ReadICONImage(image_info)
A description of each parameter follows:
Method ReadICONImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadIPTCImage reads an image file in the IPTC format and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. This method differs from the other decoder methods in that only the iptc profile information is useful in the returned image.
The format of the ReadIPTCImage routine is:
image=ReadIPTCImage(image_info)
A description of each parameter follows:
Method ReadIPTCImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadJBIGImage reads a JBIG image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadJBIGImage routine is:
image=ReadJBIGImage(image_info)
A description of each parameter follows:
Method ReadJBIGImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadJPEGImage reads a JPEG image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadJPEGImage routine is:
image=ReadJPEGImage(image_info)
A description of each parameter follows:
Method ReadJPEGImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies the name of the jpeg image to read.
Method ReadLABELImage reads a LABEL image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadLABELImage routine is:
image=ReadLABELImage(image_info)
A description of each parameter follows:
Method ReadLABELImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadLOGOImage reads a LOGO image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadLOGOImage routine is:
image=ReadLOGOImage(image_info)
A description of each parameter follows:
Method ReadLOGOImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadMAPImage reads an image of raw RGB colormap and colormap index bytes and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadMAPImage routine is:
image=ReadMAPImage(image_info)
A description of each parameter follows:
Method ReadMAPImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadMIFFImage reads a MIFF image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadMIFFImage routine is:
image=ReadMIFFImage(filename)
A description of each parameter follows:
Method ReadMIFFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadMONOImage reads an image of raw bites in LSB order and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadMONOImage routine is:
image=ReadMONOImage(image_info)
A description of each parameter follows:
Method ReadMONOImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadMTVImage reads a MTV image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadMTVImage routine is:
image=ReadMTVImage(image_info)
A description of each parameter follows:
Method ReadMTVImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadNULLImage reads a NULL image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadNULLImage routine is:
image=ReadNULLImage(image_info)
A description of each parameter follows:
Method ReadNULLImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPCDImage reads a Photo CD image file and returns it. It
allocates the memory necessary for the new Image structure and returns a
pointer to the new image. Much of the PCD decoder was derived from the
program hpcdtoppm(1)
by Hadmut Danisch.
The format of the ReadPCDImage routine is:
image=ReadPCDImage(image_info)
A description of each parameter follows:
Method ReadPCDImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPCLImage reads a Page Control Language image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPCLImage routine is:
image=ReadPCLImage(image_info)
A description of each parameter follows:
Method ReadPCLImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPCXImage reads a ZSoft IBM PC Paintbrush file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPCXImage routine is:
image=ReadPCXImage(image_info)
A description of each parameter follows:
Method ReadPCXImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPDFImage reads a Portable Document Format image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPDFImage routine is:
image=ReadPDFImage(image_info)
A description of each parameter follows:
Method ReadPDFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPICTImage reads an Apple Macintosh QuickDraw/PICT image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPICTImage routine is:
image=ReadPICTImage(image_info)
A description of each parameter follows:
Method ReadPICTImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPIXImage reads a Alias/Wavefront RLE image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPIXImage routine is:
image=ReadPIXImage(image_info)
A description of each parameter follows:
Method ReadPIXImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPLASMAImage creates a plasma fractal image. The image is initialized to to the X server color as specified by the filename.
The format of the ReadPLASMAImage routine is:
image=ReadPLASMAImage(image_info)
A description of each parameter follows:
Method ReadPLASMAImage returns a pointer to the image after creating it. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPNGImage reads a Portable Network Graphics image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPNGImage routine is:
image=ReadPNGImage(image_info)
A description of each parameter follows:
Method ReadPNGImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPNMImage reads a Portable Anymap image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPNMImage routine is:
image=ReadPNMImage(image_info)
A description of each parameter follows:
Method ReadPNMImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPSImage reads a Adobe Postscript image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPSImage routine is:
image=ReadPSImage(image_info)
A description of each parameter follows:
Method ReadPSImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadPSDImage reads an Adobe Photoshop image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadPSDImage routine is:
image=ReadPSDImage(image_info)
A description of each parameter follows:
Method ReadPSDImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadRGBImage reads an image of raw red, green, and blue bytes and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadRGBImage routine is:
image=ReadRGBImage(image_info)
A description of each parameter follows:
Method ReadRGBImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadRLAImage reads a run-length encoded Wavefront RLA image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
Note: This module was contributed by Lester Vecsey (master@internexus.net)
The format of the ReadRLAImage routine is:
image=ReadRLAImage(image_info)
A description of each parameter follows:
Method ReadRLAImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadRLEImage reads a run-length encoded Utah Raster Toolkit image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadRLEImage routine is:
image=ReadRLEImage(image_info)
A description of each parameter follows:
Method ReadRLEImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadSGIImage reads a SGI RGB image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadSGIImage routine is:
image=ReadSGIImage(image_info)
A description of each parameter follows:
Method ReadSGIImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadSTEGANOImage reads a steganographic image hidden within another image type. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadSTEGANOImage routine is:
image=ReadSTEGANOImage(image_info)
A description of each parameter follows:
Method ReadSTEGANOImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage of if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadSUNImage reads a SUN image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadSUNImage routine is:
image=ReadSUNImage(image_info)
A description of each parameter follows:
Method ReadSUNImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadTGAImage reads a Truevision TGA image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadTGAImage routine is:
image=ReadTGAImage(image_info)
A description of each parameter follows:
Method ReadTGAImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadTIFFImage reads a Tagged image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadTIFFImage routine is:
image=ReadTIFFImage(image_info)
A description of each parameter follows:
Method ReadTIFFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadTILEImage tiles a texture on an image. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadTILEImage routine is:
image=ReadTILEImage(image_info)
A description of each parameter follows:
Method ReadTILEImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadTIMImage reads a PSX TIM image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
Contributed by os@scee.sony.co.uk.
The format of the ReadTIMImage routine is:
image=ReadTIMImage(image_info)
A description of each parameter follows:
Method ReadTIMImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadTTFImage reads a TrueType font file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadTTFImage routine is:
image=ReadTTFImage(image_info)
A description of each parameter follows:
Method ReadTTFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadTXTImage reads a text file and returns it as an image. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadTXTImage routine is:
image=ReadTXTImage(image_info)
A description of each parameter follows:
Method ReadTXTImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadUILImage reads a X-Motif UIL table and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadUILImage routine is:
image=ReadUILImage(image_info)
A description of each parameter follows:
Method ReadUILImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadUYVYImage reads an image in the UYVY (16bit/pixel) format and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadUYVYImage routine is:
image=ReadUYVYImage(image_info)
A description of each parameter follows:
Method ReadUYVYImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadVICARImage reads a VICAR image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadVICARImage routine is:
image=ReadVICARImage(image_info)
A description of each parameter follows:
Method ReadVICARImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies the name of the image to read.
Method ReadVIDImage reads one of more images and creates a Visual Image Directory file. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadVIDImage routine is:
image=ReadVIDImage(image_info)
A description of each parameter follows:
Method ReadVIDImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadVIFFImage reads a Khoros Visualization image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadVIFFImage routine is:
image=ReadVIFFImage(image_info)
A description of each parameter follows:
Method ReadVIFFImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies the name of the image to read.
Procedure ReadXImage reads an image from an X window.
The format of the ReadXImage routine is:
image=ReadXImage(image_info)
A description of each parameter follows:
Specifies a pointer to an ImageInfo structure.
Method ReadXBMImage reads an X11 bitmap image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadXBMImage routine is:
image=ReadXBMImage(image_info)
A description of each parameter follows:
Method ReadXBMImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadXCImage creates a constant image and initializes it to the X server color as specified by the filename. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadXCImage routine is:
image=ReadXCImage(image_info)
A description of each parameter follows:
Method ReadXCImage returns a pointer to the image after creating it. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadXPMImage reads an X11 pixmap image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadXPMImage routine is:
image=ReadXPMImage(image_info)
A description of each parameter follows:
Method ReadXPMImage returns a pointer to the image after creating it. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadXWDImage reads an X Window System window dump image file and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadXWDImage routine is:
image=ReadXWDImage(image_info)
A description of each parameter follows:
Method ReadXWDImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadYUVImage reads an image with digital YUV (CCIR 601 4:1:1) bytes and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
The format of the ReadYUVImage routine is:
image=ReadYUVImage(image_info)
A description of each parameter follows:
Method ReadYUVImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.
Method ReadImage reads an image and returns it. It allocates the memory necessary for the new Image structure and returns a pointer to the new image. By default, the image format is determined by its magic number. To specify a particular image format, precede the filename with an explicit image format name and a colon (i.e. ps:image) or as the filename suffix (i.e. image.ps).
The format of the ReadImage routine is:
image=ReadImage(image_info)
A description of each parameter follows:
Method ReadImage returns a pointer to the image after reading. A null image is returned if there is a a memory shortage or if the image cannot be read.
Specifies a pointer to an ImageInfo structure.