Rich Love wrote:
I would like to know how to convert this image to a handle that could be used with PICTURE(0,0),MyPictureHandle
No time to write code but may I suggest a different approach. DrawPicture() ( which is the basis for FB’s PICTURE statement ) only accepts a handle to a PICT. Since you already created a CGImageRef, it will be easier to complete using CoreGraphics(CG) calls instead of converting ( assuming a method is found ) the CGImageRef into a PicHandle that PICTURE can swallow. Going all CG reduces dependence on QD too. I’ll try to write code later but the ingredients will be getting the CGContextRef and using that to draw the image with ( at least on possible call ) CGContextDrawImaage()
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
To access the list archives, go to: http://freegroups.net/groups/futurebasic/