Re: How should the image widget work?

Phil <[email protected]> Thu, 20 Jan 2005 20:14:52 +0000
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
Michiel ten Hagen wrote:
> Using libMagick will create an extra dependency. I believe this should
> be prevented. Using libMagick on the client side isnt a problem ofcourse.

Since the server is no use without clients, I don't see that it makes a 
difference which side prereqs it.

> An image widget should be just an RGBA buffer in principle. Widgets
> implementing decompression of specific formats should be seperated.

But that requires the application to know the name of the accelerated 
widget (which may not have been written at the time the app was created).

> Separating image specific widgets would also alllow that Y can be
> compiled without these widgets to save memory if Y would be used in
> embedded systems.

I suspect that even embedded systems will find it cheaper to store and 
decompress a 66KiB JPEG serverside than to transfer a 1.62MiB ARGB 
pixmap from client to server.

Phil