[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Saving and loading annotations using Krita files
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2012-09-26 13:40:02
Message-ID: 201209261540.02515.boud () valdyas ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic