June 2001 (Release 5)
Use this simple function to convert a graphic image file into a PICT format. destName$ indicates the name of the converted file and destVol% its location. The following example allows to select a graphic file whose format is recognized by QuickTime and save the converted file with a PICT format. INCLUDE "Subs Image Files.Incl"
err = USR SaveImageFileAsPICT(fName$,vRef%,
PRINT "You now have a file named:"fName$" Converted"
STOP END IF Note: Before you can use this function, you must include it in your project with the following statement: include "Subs Image Files.Incl
USR IMAGEFILETOPICT, USR CONVERTIMAGEFILE