PA_PictureToGIF


version 2003


PA_PictureToGIF (picture; size) → PA_Handle

Parameter Type Description
picture void * Pointer to the picture to convert
size long Picture size in bytes
Function result PA_Handle The converted picture

Description

The routine PA_PictureToGIF converts a PICT picture to a GIF picture.

Pass a pointer to the data of the picture in picture and the picture size in bytes in size . The routine then converts the picture and returns a handle to the new picture. This handle belongs to the plug-in , it is the plug-in's responsibility to dispose of it ( PA_DisposeHandle ) once the GIF is no longer needed.

See Also

PA_ConvertPicture , PA_PictureToEMF , PICTURE TO GIF .

Error Handling

PA_GetLastError

always returns eER_NoErr