On 9/15/06, Banlu Kemiyatorn <[EMAIL PROTECTED]> wrote:
On 9/13/06, Nicolas Roard <[EMAIL PROTECTED]> wrote:
> Frankly I think we should simply work on adding formats in GNUstep:
> 1) it's not really difficult
> 2) it would benefit _everybody_ instead of just one program :-)

 But we'll need progressive loading mechanism and there is no API for doing
such thing in GNUstep currently AFAIK.

1) I don't think we *need* (absolutely) progressive loading. Having
such a mechanism is nice, of course, but even without it I'd be more
than happy :-)

2) Anyway I don't think it's very hard to actually implement such a
progressive loading mechanism -- you'll simply need to have a task
that add a new bitmapimagerep to your NSImage, and then signal it to
the program (and the signaling/redraw part is perhaps already done,
not sure about that). I mean, the complexity of a progressive loading
mechanism -- outside the capacity of loading incrementally bigger
images, but that should be part of the image library anyway -- only
lies in beeing able to deal with multiple representations of your
image, etc. Well, NSImage already provides that mechanism :-)

So I'd say, let's forget about the progressive loading for the moment,
until somebody has time to play with -- because anyway it won't be a
huge modification on the API side (meaning, it could be a complex job
on the framework side, but it won't change much if anything on the
application side, if the application simply uses NSImage, which it
should).

--
Nicolas Roard
"I love deadlines. I like the whooshing sound they make as they fly
by." -- Douglas Adams

_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@gna.org
https://mail.gna.org/listinfo/etoile-discuss

Répondre à