[futurebasic] Re: [FB] How to scale a picture

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2010 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Fri, 4 Jun 2010 11:15:06 -0400
Rich asked:

>Is there some way to convert the url variable to a web url?


Rich,

I'm on the road with no way to test, but play with something like this:


dim as Str255      url
dim as CFURLRef  imageURL

url = 
"http://upload.wikimedia.org/wikipedia/commons/3/3e/Phalaenopsis_JPEG.png"

imageURL = fn CFURLCreateWithString( _kCFAllocatorDefault, fn CFSTR ( 
url ), 0 )


Ken