Re: [Jmagick] [JAI-IMAGEIO] Google summer of code and imageio
On Wed, 26 Mar 2008, Simone Giannecchini wrote:
> My suggestion would be creating a module specific for JMAGICK which
> would handle most part of the mechanics plus some plugins for the
> formats we want to support and the support for metadata we want to
> implement (not much at the beginning I guess :-)).
An approach would be to re-implement ImageMagick "pixel cache" storage
in Java. ImageMagick would then invoke a callback to "persist" any
pixels which are read in a native Java image. When writing,
ImageMagick would invoke a callback to retrieve the pixels to write.
While processing an image, ImageMagick would use the same callbacks to
retrieve and store pixels. Since Java would need to copy the pixels,
there would be some added overhead.
There is already a "pixel stream" interface in ImageMagick which
exposes some of this, but unfortunately, it still stores its own
pixels, which doubles memory requirements.
This approach assumes that the images are not too large for Java to be
able to allocate memory for them.
Bob
======================================
Bob Friesenhahn
[bfriesen@masked-domain], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
JMagick mailing list
[JMagick@masked-domain]
http://www.yeo.id.au/mailman/listinfo/jmagick
Please ensure that [JMagick@masked-domain] is a recipient when replying.
Other messages in this topic
| Sender | Date sent | Subject |
| Harald Kuhr [harald.kuhr@masked-domain] | Thu, 27 Mar 2008 21:17:22 +0100 | Re: [Jmagick] [JAI-IMAGEIO] Google summer of code and imageio |
| Harald Kuhr [harald.kuhr@masked-domain] | Thu, 27 Mar 2008 20:47:21 +0100 | Re: [Jmagick] [JAI-IMAGEIO] Google summer of code and imageio |
| "Simone Giannecchini" [simboss1@masked-domain] | Wed, 26 Mar 2008 16:51:46 +0100 | Re: [Jmagick] [JAI-IMAGEIO] Google summer of code and imageio |
| "Jacob Nordfalk" [jacob.nordfalk@masked-domain] | Wed, 26 Mar 2008 10:48:13 +0545 | Re: [Jmagick] [JAI-IMAGEIO] Google summer of code and imageio |
| "Simone Giannecchini" [simboss1@masked-domain] | Tue, 25 Mar 2008 16:26:23 +0100 | Re: [Jmagick] [JAI-IMAGEIO] Google summer of code and imageio |
| Bob Friesenhahn [bfriesen@masked-domain] | Wed, 12 Mar 2008 18:14:28 -0500 (CDT) | Re: [Jmagick] Google summer of code and imageio |
| Bob Friesenhahn [bfriesen@masked-domain] | Wed, 12 Mar 2008 18:09:39 -0500 (CDT) | Re: [Jmagick] Google summer of code and imageio |
| "Simone Giannecchini" [simboss1@masked-domain] | Wed, 12 Mar 2008 22:56:39 +0100 | Re: [Jmagick] Google summer of code and imageio |
| "Simone Giannecchini" [simboss1@masked-domain] | Wed, 12 Mar 2008 23:01:40 +0100 | Re: [Jmagick] Google summer of code and imageio |
| Bob Friesenhahn [bfriesen@masked-domain] | Wed, 12 Mar 2008 10:40:38 -0500 (CDT) | Re: [Jmagick] Google summer of code and imageio |
| "Simone Giannecchini" [simboss1@masked-domain] | Wed, 12 Mar 2008 09:15:44 +0100 | [Jmagick] Google summer of code and imageio |
| "Jacob Nordfalk" [jacob.nordfalk@masked-domain] | Wed, 12 Mar 2008 11:55:52 +0545 | Re: [Jmagick] Google summer of code and imageio |
| "Simone Giannecchini" [simboss1@masked-domain] | Wed, 12 Mar 2008 03:51:13 +0100 | [Jmagick] Google summer of code and imageio |