[futurebasic] Saving various image formats

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2011 : Group Archive : Group : All Groups

From: Warren Lanford <wdllien@...>
Date: Thu, 21 Apr 2011 19:23:58 -0400
I see a lot of comments about quickdraw going away and the use of  
'.PICT' files.

I used the following for several years to convert and save images in  
different formats in my image applications:

local fn ConvertImage
     dim fName$,vRef%,err
     fName$ = gFileName$
     vRef%  = gVol%
     err = USR CONVERTIMAGEFILE(fName$,vRef%,"",0,0,0)
end fn

runtime usr ConvertImageFile(srcName as str255,srcRef,destName as  
str255,destRef, newTypeIn&, newCreator& ) // RP 4 Feb 02  in "Subs  
Image Files.incl" has been commented out and I can't find anything  
anywhere on how we are to save different image formats with the new FB.

Can we?  And if so, how do we do this now?

Warren Lanford