pict.PictureToPICT

Syntax pict.PictureToPICT (addr1, addr2)

Params addr1 is the address of a Frontier picture object.

addr2 is the address where you wish to store the converted picture.

Action Converts the graphic object stored in the Frontier picture at addr1 to Macintosh PICT (binary) form and stores the result at addr2. (See "Notes," below for details.)

Returns True

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Examples examples.picture contains a picture stored in Frontier picture format. Create a PICT version of it in your people table with this line, typed and executed in the Quick Script window:
pict.PictureToPICT (@examples.picture, @people.[user.initials].testPict2)

» true

Notes If addr2 does not exist, this verb will create it.

This verb is implemented as a script.

Picture objects can exist in two forms in Frontier: binary PICTs and Frontier pictures. Macintosh PICTs are a component of a Frontier picture object. This verb is designed to extract the graphic stored in a Frontier picture so that the PICT data itself

can be passed to another application or placed on the clipboard.

See Also pict.PICTToPicture

pict.getPicture

Discuss