Undoing after saving as
Bart Coppens
kde at bartcoppens.be
Tue Jun 28 16:58:47 CEST 2005
On Tuesday 28 June 2005 16:48, Casper Boemann wrote:
> To me it looks like the problem is that you copy the image but the
> magicconverter works on the original including the undoadapter of the
> original
>
> KisImage * img = new KisImage(*output->currentImage());
> Q_CHECK_PTR(img);
>
> KisImageMagickConverter ib(output, output->undoAdapter());
>
> img->flatten();
Afaik, the original and the copied image share their undoAdapter, that being
the KisDoc. Also, the imagebuilder uses the output KisDoc only for decode
apparantly, and the adapter itself as given to the constructor not at all...
More information about the kimageshop
mailing list