From kde-kimageshop Wed Sep 26 13:40:02 2012 From: Boudewijn Rempt Date: Wed, 26 Sep 2012 13:40:02 +0000 To: kde-kimageshop Subject: Re: Saving and loading annotations using Krita files Message-Id: <201209261540.02515.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=134866682412203 On Wednesday 26 September 2012 Sep, Francisco Fernandes wrote: > Hello everyone, > > I want to save the generated particles in the sandbrush in a Krita file. In > a new document, > the annotations work just fine: you add grains (implying in their > serialization after each stroke) > and them you spread them (which happens after loading their properties from > the annotations in > the image). > > However, when I save the current image, close Krita, and open the file, the > grains annotations are lost. > How can I save them in a ".kra" file and load them properly? > > Check the code in bool KisKraSaver::saveBinaryData. You'll see a comment about only saving exif; that's the place where you need to add your own code. -- Boudewijn Rempt http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop