[futurebasic] Re: [FB] Jpeg to PICT Rsrc

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2005 : Group Archive : Group : All Groups

From: Brian Stevens <brilor@...>
Date: Wed, 3 Aug 2005 18:34:22 -0700
On Aug 3, 2005, at 4:38 PM, Joe Smith wrote:

> Anyone have any code that takes a Jpeg file and makes a PICT  
> resource of it
> ??

I don't know about the resource part but

usr saveimagefileaspict

usr imagefiletopict

usr convertimagefile

along with

def getimagefilerect
def drawimagefile
def getimagefilerect

should get you started.

Also, if you have the image in a GWorld you can call some of the  
QuickTime utilities (see Robert Purves' example titled "Save GWorld  
as image file" in the Donations--> Robert P's Favorite Examples-- 
 >Graphics folder.

Brian S.