pict.PICTToPicture

Syntax pict.PICTToPicture (addr1, addr2)

Params addr1 is the address of a binary picture object.

addr2 is the address where you wish to store the picture in a standard Frontier picture object.

Action Creates a new picture object at addr2 if one doesn't already exist, and sets its picture to be the Macintosh PICT stored in binary form at addr1 . (See "Notes," below for details.)

Returns True

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

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

» 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. Binary values containing the data of a Macintosh PICT cannot be viewed in their own window. This verb is designed to create a Frontier picture object containing the

binary picture data so that it can be viewed.

See Also pict.PictureToPICT

pict.setPicture

Discuss