[Kde-imaging] Manipulating image data from within a KIPI plugin
Renchi Raju
renchi at pooh.tam.uiuc.edu
Wed Jun 2 20:08:37 CEST 2004
On Fri, 14 May 2004, [iso-8859-15] Aurélien Gâteau wrote:
> Hello,
>
> One user of Gwenview wanted to implement hot-pixel removing in Gwenview. I
> told him it would be nice to write this as a KIPI plugin, but he would like
> (and I agree with him) to work directly on the image data rather than on an
> image file.
> This made me think we should add a way for the host app to let the plugin
> access the image data. I imagine something like this:
>
> class Interface {
> QImage& image();
>
> // Dirty property used by the plugin to let the host app knows it
> // modified the image data
> void setImageDirty();
> bool isImageDirty() const;
> }
>
> The only problem I see is that I'm not sure every app uses QImage to store the
> loaded image. What do you think about this?
catching up on the emails i haven't read. digikam doesn't use qimage for
displaying image in its imageviewer. we use imlib (imlib1 now. imlib2
soon) for this purpose.
renchi
More information about the Kde-imaging
mailing list