pictconvto()

Function groupExecute on clientPlatform(s)
PictureNOWindows,macOS

Syntax

pictconvto(source-format,source-data,dest-format)

Description

Converts the binary source-data (with or without our internal header) from the source-format to the dest-format,and returns the resulting binary value.

See pictconvfrom() for details of possible formats.

The following example converts the GIF data in lGifData to JPEG.

Example

Do
 
pictconvto
(
"gif"
,
lGifData
,
"jpeg"
)
 
Returns 
lJpegData
 
## ram 16/5/17 - updated for rmm from pcx to gif

# converts the GIF data in lGifData to JPEG