Slow screen refresh in Windows

TJ Frame tjframe at gmail.com
Tue Nov 8 21:32:24 EST 2005


hmm.. on my system that code executes on a BMP in about 840 milliseconds.
 Try using a JPEG, they are much smaller - that same routine runs in 91
milliseconds when using a JPEG set at quality level 10 in Photoshop (which
is nearly loseless). In fact for on-screen use you can save a JPEG down to
about 5 in Photoshop without any serious degradation in quality.
 Also make sure that the native size of the image is used, not some huge
giant image you imported and then scaled down.

 On 11/8/05, RGould8 at aol.com <RGould8 at aol.com> wrote:
>
> I did some digging around in the archives, and I see that some folks are
> having this same problem, but in my case, I haven't read a solution:
>
> I need to be able to click on a button, and have an image "shrink",
> width-wise, until the width is zero and the image disappears:
>
> repeat with x = 300 down to 0 step -10
> set the width of image "screenshot" to x
> set the loc of image "screenshot" to 300,300
> end repeat
>
>
> This code works perfectly on a Mac, but in Windows, I get a watch-icon for
> 2
> seconds, and then the image chuggs and chuggs until it disappears. The
> performance is much much worse in Windows.
>
> I've tried putting an unlock screen in the loop, and I've tried the "wait
> 0
> with message" technique. What other way is there to accomplish this effect
> and make it work smoothly in Windows? The image is nothing special - - -
> just
> a small 300x 150 BMP file.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list