Am 25.04.2006 um 20:11 schrieb Juan Salvatierra:
Hi all,
I'm having a curious problem with graphic property of pictures in
RB 5.5.
Many times if I use a pict file in my code, opening it as a
picture, it seems not to have a graphics property. I mean, it
appears as nil in the debugger and, it you try to use it, it comes
out with a nil object error. If insted of a pict file, you use any
other file type (jpg, png, even pdf) everything works perfectly well.
But you can use the picture (the pict) if you don't try to acces
the graphics property.
Has anyone experienced something like this or knows something about
it?
This because PICT file are not images, but stored QuickDraw drawing
instructions.
Thus, there are rendered in images while displayed. Details:
http://www.prepressure.com/formats/pict/fileformat.htm
As Charles explained, you need to 'flatten' the QuicKDraw instructions
by rendering the PICT file to a Picture.
_______________________________________________
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>