[lazarus] lazarus updates(New Patch)

Andrew Johnson aj_genius at hotmail.com
Fri Sep 27 21:23:28 EDT 2002

On 27 Sep 2002 14:39:41 -0500
"Tony Maro" <tonym at nlisc.com> wrote:

>But still no TImage streaming to form?

nope. And yes... Basically the streaming itself is not the issue, it 
currently works great in and of itself, but the LCL Bitmap implementation is 
incomplete. And.... the Bitmap implementation is dependent upon Device 
Independent Bitmap(DIB)  Implementation,  and that also requires Palette 
implementation. I have what could feasibly be used for Palette's in place,  
however since DIB are a Win32 and Os/2 thing, there is nothing close to them 
in standard GTK/GDK, the closest thing being GDKPixbuf's. So essentially to 
put it blunt, I am not just trying to create a Win32 wrapper around  GTK 
code, but recreate Win32 code from Scratch. I am currently rethinking this, 
and considering screwing true Win32 Compatibility in this area and doing it 
the best way I can figure it out. Which will still take time. Unfortunatly 
it may take several more weeks before you start to see progress.(unless some 
other folks out there who actually know what they are doing decide to 
help....hint hint)

However.. the reason you cannot use TImage streaming at all is because no 
one has written a  routine to write Pixmaps to stream. This could actually 
be done feasibly much simpler than all this nonsense, however I would rather 
have full native, and more importantly, STABLE, Bitmap loading in place, 
before I worry about proper Saving. And in reality, once the loading part is 
in place, the saving of bitmap's becomes easy anyway. So.. if you want to 
try and create a platform independant routne to write pixmap data, you would 
be able to stream your XPM files. To see how it is read, you can look at the 
Win32 interface's loading code, and see if you can't do it in reverse...


MSN Photos is the easiest way to share and print your photos: 

More information about the Lazarus mailing list