6encode - Methods to Write Image Formats;/


NAME



'encode - Methods to Write Image Formats




(

SYNOPSIS



7status=WriteAVSImage(image_info,image)

7status=WriteBMPImage(image_info,image)

8status=WriteCMYKImage(image_info,image)

7status=WriteEPTImage(image_info,image)

7status=WriteFAXImage(image_info,image)

8status=WriteFITSImage(image_info,image)

7status=WriteFPXImage(image_info,image)

7status=WriteGIFImage(image_info,image)

8status=WriteGRAYImage(image_info,image)

7status=WriteHDFImage(image_info,image)

=status=WriteHISTOGRAMImage(image_info,image)

8status=WriteHTMLImage(image_info,image)

7status=WriteICCImage(image_info,image)

8status=WriteIPTCImage(image_info,image)

4status=WriteImage(image_info,image)

8status=WriteJBIGImage(image_info,image)

8status=WriteJPEGImage(image_info,image)

8status=WriteLOGOImage(image_info,image)

7status=WriteMAPImage(image_info,image)

9status=WriteMATTEImage(image_info,image)

8status=WriteMIFFImage(image_info,image)

8status=WriteMONOImage(image_info,image)

7status=WriteMTVImage(image_info,image)

7status=WritePCDImage(image_info,image)

7status=WritePCLImage(image_info,image)

7status=WritePCXImage(image_info,image)

7status=WritePDFImage(image_info,image)

8status=WritePICTImage(image_info,image)

7status=WritePNGImage(image_info,image)

7status=WritePNMImage(image_info,image)

;status=WritePREVIEWImage(image_info,image)

7status=WritePS2Image(image_info,image)

7status=WritePSDImage(image_info,image)

6status=WritePSImage(image_info,image)

7status=WriteRGBImage(image_info,image)

7status=WriteSGIImage(image_info,image)

7status=WriteSUNImage(image_info,image)

7status=WriteTGAImage(image_info,image)

8status=WriteTIFFImage(image_info,image)

7status=WriteTXTImage(image_info,image)

7status=WriteUILImage(image_info,image)

8status=WriteUYVYImage(image_info,image)

9status=WriteVICARImage(image_info,image)

8status=WriteVIFFImage(image_info,image)

7status=WriteXBMImage(image_info,image)

5status=WriteXImage(image_info,image)

7status=WriteXPMImage(image_info,image)

7status=WriteXWDImage(image_info,image)

7status=WriteYUVImage(image_info,image)




B

FUNCTION DESCRIPTIONS






2

WriteAVSImage



EMethod WriteAVSImage writes an image to a file in AVS X image format.

+The format of the WriteAVSImage routine is:

3

        status=WriteAVSImage(image_info,image)


(A description of each parameter follows.

5
status:


KMethod WriteAVSImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteBMPImage



HMethod WriteBMPImage writes an image in Microsoft Windows bitmap encoded image format.

+The format of the WriteBMPImage routine is:

3

        status=WriteBMPImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteBMPImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteCMYKImage



IMethod WriteCMYKImage writes an image to a file in cyan, magenta, yellow,and black rasterfile format.

,The format of the WriteCMYKImage routine is:

4

        status=WriteCMYKImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteCMYKImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteEPTImage



IMethod WriteEPTImage writes an image in the Adobe Encapsulated Postscriptformat with a TIFF preview.

+The format of the WriteEPTImage routine is:

3

        status=WriteEPTImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteEPTImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteFAXImage



JProcedure WriteFAXImage writes an image to a file in 1 dimensional Huffmanencoded format.

+The format of the WriteFAXImage routine is:

3

        status=WriteFAXImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteFAXImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteFITSImage



IMethod WriteFITSImage writes a Flexible Image Transport System image to a(file as gray scale intensities [0..255].

,The format of the WriteFITSImage routine is:

4

        status=WriteFITSImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteFITSImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteFPXImage



GMethod WriteFPXImage writes an image in the FlashPix image format. Thisroutine was contributed by BillR@corbis.com.

+The format of the WriteFPXImage routine is:

3

        status=WriteFPXImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteFPXImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteGIFImage



IMethod WriteGIFImage writes an image to a file in the Compuserve Graphics image format.

+The format of the WriteGIFImage routine is:

3

        status=WriteGIFImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteGIFImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteGRAYImage



GMethod WriteGRAYImage writes an image to a file as gray scale intensityvalues.

,The format of the WriteGRAYImage routine is:

4

        status=WriteGRAYImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteGRAYImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteHDFImage



IMethod WriteHDFImage writes an image in the Hierarchial Data Format imageformat.

+The format of the WriteHDFImage routine is:

3

        status=WriteHDFImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteHDFImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






>

WriteHISTOGRAMImage



IMethod WriteHISTOGRAMImage writes an image to a file in HISTOGRAM format.KThe image shows a histogram of the color (or gray) values in the image. TheKimage consists of three overlaid histograms: a red one for the red channel,Ka green one for the green channel, and a blue one for the blue channel. TheFimage comment contains a list of unique pixel values and the number oftimes each occurs in the image.

=This routine is strongly based on a similar one written by muquit@warm.semcor.com which in&turn is based on ppmhistmap of netpbm.

1The format of the WriteHISTOGRAMImage routine is:

9

        status=WriteHISTOGRAMImage(image_info,image)


(A description of each parameter follows.

status:


HMethod WriteHISTOGRAMImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteHTMLImage



GMethod WriteHTMLImage writes an image in the HTML encoded image format.

,The format of the WriteHTMLImage routine is:

4

        status=WriteHTMLImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteHTMLImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteJBIGImage



GMethod WriteJBIGImage writes an image in the JBIG encoded image format.

,The format of the WriteJBIGImage routine is:

4

        status=WriteJBIGImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteJBIGImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteJPEGImage



KMethod WriteJPEGImage writes a JPEG image file and returns it. It allocatesIthe memory necessary for the new Image structure and returns a pointer tothe new image.

,The format of the WriteJPEGImage routine is:

4

        status=WriteJPEGImage(image_info,image)


(A description of each parameter follows:

status:


CMethod WriteJPEGImage return True if the image is written. False isHreturned is there is of a memory shortage or if the image file cannot beopened for writing.$

image_info:


.Specifies a pointer to an ImageInfo structure.$

jpeg_image:


A pointer to a Image structure.






2

WriteICCImage



7Method WriteICCImage writes an image in the ICC format.

+The format of the WriteICCImage routine is:

3

        status=WriteICCImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteICCImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteIPTCImage



9Method WriteIPTCImage writes an image in the IPTC format.

,The format of the WriteIPTCImage routine is:

4

        status=WriteIPTCImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteIPTCImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteLOGOImage



JMethod WriteLOGOImage writes an image in the LOGO encoded image format. WeJuse GIF because it is the only format that is compressed without requiring-addition optional delegates (TIFF, ZIP, etc).

,The format of the WriteLOGOImage routine is:

4

        status=WriteLOGOImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteLOGOImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteMAPImage



FMethod WriteMAPImage writes an image to a file as red, green, and blue0colormap bytes followed by the colormap indexes.

+The format of the WriteMAPImage routine is:

3

        status=WriteMAPImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteMAPImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






6

WriteMATTEImage



EFunction WriteMATTEImage writes an image of matte bytes to a file. It@consists of data from the matte component of the image [0..255].

-The format of the WriteMATTEImage routine is:

5

        status=WriteMATTEImage(image_info,image)


(A description of each parameter follows.

status:


FFunction WriteMATTEImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteMIFFImage



0Method WriteMIFFImage writes an image to a file.

,The format of the WriteMIFFImage routine is:

4

        status=WriteMIFFImage(image_info,image)


(A description of each parameter follows:

status:


CMethod WriteMIFFImage return True if the image is written. False isKreturned if there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteMONOImage



IMethod WriteMONOImage writes an image of raw bits in LSB order to a file.

,The format of the WriteMONOImage routine is:

4

        status=WriteMONOImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteMONOImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteMTVImage



JMethod WriteMTVImage writes an image to a file in red, green, and blue MTVrasterfile format.

+The format of the WriteMTVImage routine is:

3

        status=WriteMTVImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteMTVImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePCDImage



JMethod WritePCDImage writes an image in the Photo CD encoded image format.

+The format of the WritePCDImage routine is:

3

        status=WritePCDImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePCDImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePCLImage



IMethod WritePCLImage writes an image in the Page Control Language encoded image format.

+The format of the WritePCLImage routine is:

3

        status=WritePCLImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePCLImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePCXImage



HMethod WritePCXImage writes an image in the ZSoft IBM PC Paintbrush fileformat.

+The format of the WritePCXImage routine is:

3

        status=WritePCXImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePCXImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePDFImage



KMethod WritePDFImage writes an image in the Portable Document image format.

+The format of the WritePDFImage routine is:

3

        status=WritePDFImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePDFImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WritePICTImage



FMethod WritePICTImage writes an image to a file in the Apple MacintoshQuickDraw/PICT image format.

,The format of the WritePICTImage routine is:

4

        status=WritePICTImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WritePICTImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePNGImage



EMethod WritePNGImage writes an image in the Portable Network Graphicsencoded image format.

+The format of the WritePNGImage routine is:

3

        status=WritePNGImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePNGImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePNMImage



GProcedure WritePNMImage writes an image to a file in the PNM rasterfileformat.

+The format of the WritePNMImage routine is:

3

        status=WritePNMImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePNMImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






:

WritePREVIEWImage



JMethod WritePREVIEWImage creates several tiles each with a varying stengthJof an image enhancement function (e.g. gamma). The image is written in the MIFF format.

/The format of the WritePREVIEWImage routine is:

7

        status=WritePREVIEWImage(image_info,image)


(A description of each parameter follows.

status:


FMethod WritePREVIEWImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






0

WritePSImage



JMethod WritePSImage translates an image to encapsulated Postscript Level IHfor printing. If the supplied geometry is null, the image is centered onKthe Postscript page. Otherwise, the image is positioned as specified by the geometry.

*The format of the WritePSImage routine is:

2

        status=WritePSImage(image_info,image)


(A description of each parameter follows:

status:


JMethod WritePSImage return True if the image is printed. False is returned0if the image file cannot be opened for printing.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


BThe address of a structure of type Image; returned from ReadImage.






2

WritePSDImage



IMethod WritePSDImage writes an image in the Adobe Photoshop encoded imageformat.

+The format of the WritePSDImage routine is:

3

        status=WritePSDImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WritePSDImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WritePS2Image



IMethod WritePS2Image translates an image to encapsulated Postscript LevelKII for printing. If the supplied geometry is null, the image is centered onKthe Postscript page. Otherwise, the image is positioned as specified by the geometry.

+The format of the WritePS2Image routine is:

3

        status=WritePS2Image(image_info,image)


(A description of each parameter follows:

status:


KMethod WritePS2Image return True if the image is printed. False is returned0if the image file cannot be opened for printing.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


BThe address of a structure of type Image; returned from ReadImage.






2

WriteRGBImage



FMethod WriteRGBImage writes an image to a file in red, green, and bluerasterfile format.

+The format of the WriteRGBImage routine is:

3

        status=WriteRGBImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteRGBImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteSGIImage



EMethod WriteSGIImage writes an image in SGI RGB encoded image format.

+The format of the WriteSGIImage routine is:

3

        status=WriteSGIImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteSGIImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteSUNImage



BMethod WriteSUNImage writes an image in the SUN rasterfile format.

+The format of the WriteSUNImage routine is:

3

        status=WriteSUNImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteSUNImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteTGAImage



FMethod WriteTGAImage writes a image in the Truevision Targa rasterfileformat.

+The format of the WriteTGAImage routine is:

3

        status=WriteTGAImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteTGAImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteTIFFImage



FMethod WriteTIFFImage writes an image in the Tagged image file format.

,The format of the WriteTIFFImage routine is:

4

        status=WriteTIFFImage(image_info,image)


(A description of each parameter follows:

status:


CMethod WriteTIFFImage return True if the image is written. False isHreturned is there is of a memory shortage or if the image file cannot beopened for writing.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteTXTImage



=Method WriteTXTImage writes the pixel values as text numbers.

+The format of the WriteTXTImage routine is:

3

        status=WriteTXTImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteTXTImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteUILImage



JProcedure WriteUILImage writes an image to a file in the X-Motif UIL tableformat.

+The format of the WriteUILImage routine is:

3

        status=WriteUILImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteUILImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteUYVYImage



CMethod WriteUYVYImage writes an image to a file in the digital UYVYH(16bit/pixel) format. This format, used by AccomWSD, is not dramaticallyHhigher quality than the 12bit/pixel YUV format, but has better locality.

,The format of the WriteUYVYImage routine is:

4

        status=WriteUYVYImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteUYVYImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


IA pointer to a Image structure. Implicit assumption: number of columns iseven.






6

WriteVICARImage



FMethod WriteVICARImage writes an image in the VICAR rasterfile format.KVicar files contain a text header, followed by one or more planes of binaryIgrayscale image data. Vicar files are designed to allow many planes to beGstacked together to form image cubes. This routine only writes a singlegrayscale plane.

4Method WriteVICARImage was written contributed by gorelick@esther.la.asu.edu.

-The format of the WriteVICARImage routine is:

5

        status=WriteVICARImage(image_info,image)


(A description of each parameter follows.

status:


DMethod WriteVICARImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






4

WriteVIFFImage



IMethod WriteVIFFImage writes an image to a file in the VIFF image format.

,The format of the WriteVIFFImage routine is:

4

        status=WriteVIFFImage(image_info,image)


(A description of each parameter follows.

status:


CMethod WriteVIFFImage return True if the image is written. False isKreturned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






.

WriteXImage



2Method WriteXImage writes an image to an X server.

)The format of the WriteXImage routine is:

1

        status=WriteXImage(image_info,image)


(A description of each parameter follows.

status:


IMethod WriteXImage return True if the image is displayed on the X server.JFalse is returned is there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteXBMImage



IProcedure WriteXBMImage writes an image to a file in the X bitmap format.

+The format of the WriteXBMImage routine is:

3

        status=WriteXBMImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteXBMImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteXPMImage



IProcedure WriteXPMImage writes an image to a file in the X pixmap format.

+The format of the WriteXPMImage routine is:

3

        status=WriteXPMImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteXPMImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteYUVImage



KMethod WriteYUVImage writes an image to a file in the digital YUV (CCIR 6014:1:1) format.

+The format of the WriteYUVImage routine is:

3

        status=WriteYUVImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteYUVImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






2

WriteXWDImage



JMethod WriteXWDImage writes an image to a file in X window dump rasterfileformat.

+The format of the WriteXWDImage routine is:

3

        status=WriteXWDImage(image_info,image)


(A description of each parameter follows.

status:


KMethod WriteXWDImage return True if the image is written. False is returnedBis there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.






,

WriteImage



9Method WriteImage writes an image to a file as defined byJimage->filename. You can specify a particular image format by prefixingGthe file with the image type and a colon (i.e. ps:image) or specify the2image type as the filename suffix (i.e. image.ps).

(The format of the WriteImage routine is:

0

        status=WriteImage(image_info,image)


(A description of each parameter follows:

status:


KMethod WriteImage return True if the image is written. False is returned is?there is a memory shortage or if the image file fails to write.$

image_info:


.Specifies a pointer to an ImageInfo structure.

image:


A pointer to a Image structure.