411 REFERENCE · Wikibooks
Futurebasic/Language/Reference/usr convertimagefile
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USR CONVERTIMAGEFILE(srcName$,srcRef%,¬
destName$,destRef%,newTypeIn&,newCreator&)
Revised June 2001 (Release 5)
Description - This function takes the picture information from one disk file and translates it into a different format. A new file is built with the correct file type and creator in the location that you determine. If the final four parameters are left blank, QuickTime will bring up a "Save As..." dialog so that you may specify the type of file, its name, and its location. The following example opens a graphic file and translates it into any specified format.
Include
"Subs Image Files.Incl" gFBUseNavServices = _zTrue
WHAT IS THIS!!!
dim fName$,err
dim @vRef% fName$ = files$(_fOpen, "Locate a picture",vRef%) long if fName$[0]
err = USR CONVERTIMAGEFILE(fName$,vRef%,"",0,0,0)
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 SAVEIMAGEFILEASPICT