Undoing after saving as

Bart Coppens kde at bartcoppens.be
Tue Jun 28 16:46:08 CEST 2005


On Tuesday 28 June 2005 16:32, Boudewijn Rempt wrote:
> On Tuesday 28 June 2005 16:26, Bart Coppens wrote:
> > Maybe someone else has an idea?
>
> Not much -- I wonder though what happens after a manual flatten? Anyway,
A manual flatten (of course with undo enabled) does not seem to be affected by 
this.

> this part of the export code is exceedingly primitive. We should be able to
> save in layers to those file formats that support it (only... are there
> any?  We cannot save to .psd or .xcf yet), and I think it would be best to
> composite the pixels for the flattened images in the writer, not
> beforehand, in runs as long as possible. Should save a lot of memory.
Yes, this part is very primitive. And that's the weird part of it: it's not as 
if the code is doing all kinds of trickery to get it working: only a meagre 5 
lines of code can apparantly make krita crash without any obvious cause...
And indeed, it would be a good idea to merge the image on-the-fly, but that's 
not a very pressing thing to fix at the moment. As for the multiple-layer 
support: maybe we should just ignore them for the imagemagick code, and only 
implement these kind of things in specialized export filters that only handle 
xcf, psd and so.

Bart Coppens


More information about the kimageshop mailing list