< Futurebasic < Language < Reference

Syntax

USR SAVEIMAGEFILEASPICT

Revised

June 2001 (Release 5)

Description

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

See Also

USR IMAGEFILETOPICT, USR CONVERTIMAGEFILE

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.