PA_PictureToGIF

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_PictureToGIF (picture; size) PA_Handle

ParameterTypeDescription
picturevoid *Pointer to the picture to convert
sizelongPicture size in bytes
Function resultPA_HandleThe 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


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next