[squeak-dev] Facelifting the second
Bert Freudenberg
bert at freudenbergs.de
Fri Mar 26 07:32:36 UTC 2010
On 26.03.2010, at 00:00, Chris Muller wrote:
>
>> A JPG just grows the image size of the standard image -
>> but maybe we should connect Squeak to a free wallpaper service ... ;)
>
> Once it's absorbed into the World's form is that still true? Or is
> the InfiniteForm a "dynamically-calculated" form that stays with the
> World even after its been initially set?
The JPG is uncompressed when loaded into Squeak, so we are talking a significantly large bitmap, a few megabytes.
> If so, I wonder how does the
> repaint performance compare with straight blitting out of the JPG
> image..
Blitting out of the uncompressed bitmap is as fast as it gets. A computed gradient would be somewhat slower, but maybe not by much. My hunch is it would be worth it to avoid the large space overhead - but measuring would be better of course.
> If a JPG source guarantees a greater image size, then I would prefer
> to avoid it in favor of either a tiny patterned image or InfiniteForm
> (or equivalent)..
+1
- Bert -
More information about the Squeak-dev
mailing list
|