Hi, <br>
I work on a scheme project, (I'm a student)<br>
<br>
I have a canvas & a double buffer, <br>
<br>
When, I load a bitmap for my background, why my program, does take 5 or 6 seconds to run????,<br>
(my frame appears 5 or 6 seconds later)<br>
<br>
(my bitmap => 800 * 400 px, and I try png or jpg )<br>
<br>
so I put just this :<br>
(define img (make-object bitmap% "bg.jpg" 'jpg #f))<br>
in a new window: I run --> same problem <br>
<br>
but when I use small bitmap (4*4 px ) it's OK no delay.<br>
<br>
<b>how to reduce this waiting? </b><br>
<br>
because I use 6 or 7 different backgrounds.<br>
so when my frame appears and I swap my background there are no waiting it's really just the initial loading.<br>
<br>
thanks <br>
<br>
-------------------------------------<br>
my config (e6750 3.2ghz, 2go ram etc.... i try on windows xp pro, ubuntu)<br>