Graphics in clean

Peter Achten peter88@cs.kun.nl
Wed, 13 May 1998 14:16:09 +0200


Dear Koen,

At 01:45 PM 5/13/98 +0200, you wrote:
>  Dear Clean folks,
>First of all, I want to say to Ana that BELGIAN beer is the best in the
>world, I think 
>of Leffe, Kriek and so on, no one argue this
If I am not misinformed, I think that Czech beer is actually pils and not beer. So you and Ana are both right :-)

>But I have also a question: How have I to put GIF, BMP pictures in my
>applications, you can of course read it as an array, and then put it pixel
>per pixel on the screen, but this would be very slow. (there is no function
>for putting a whole region on the screen, as in other GUI libs).
>So I ask if anyone could help me to put images on the screen at a
>reasonable speed. 
I am just finishing a small interface for including bitmap images in the Clean I/O library (one version for 0.8, one version for Object I/O). For Macintosh, the file format should be PICT files, for Windows the format is BMP. They should both be included in the new release version, to be expected soon...

>Is it hard to write a system module that makes use of
>winAPI library ?
No.

Greetings,

Peter