On Oct 11, 2006, at 10:12 AM, Alexander Bauza wrote:
>>>Do what? SaveAsPicture can't create a BMP file on the Mac. It
creates
>>>a PICT file. That's all it does; you can't make it do
something else.
I thought .bmp was "native" for RB. How can I save a .bmp file?
If you want to save a bmp from the Mac you could do something like this:
dim p as new Picture(100,100,32)
p.Graphics.FillOval 0,0,100,100
dim f as FolderItem = DesktopFolder.Child("test.bmp")
dim exporter as QTGraphicsExporter = GetQTGraphicsExporter("BMPf")
if exporter.SavePicture(f,p) then MsgBox "image saved"
More details about QTGraphicsExporter are available in the Language
Reference.
Best regards, David
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>