[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 --- Comment #9 from Larpon --- Thank you! -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 --- Comment #8 from Halla Rempt --- Okay, this is the best I can do: I implemented the KisAnnotation idea I first started working on in 2008. You can now associated qbytearray blobs with an image, and those blobs have a type and a description and are saved with .kra files and restored. What people put in the blobs is up to them... -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 Halla Rempt changed: What|Removed |Added Status|REPORTED|RESOLVED Latest Commit||https://invent.kde.org/grap ||hics/krita/commit/8da59a65e ||15a5c61440c50937038e4dcd9b8 ||6ee2 Resolution|--- |FIXED --- Comment #7 from Halla Rempt --- Git commit 8da59a65e15a5c61440c50937038e4dcd9b86ee2 by Halla Rempt. Committed on 02/02/2021 at 15:39. Pushed by rempt into branch 'master'. Add API to the Document class to handle annotations Annotations are blobs that are stored with the image. We use this for exif and icc data (except not really), and since 2008 we were intending to make it possible to store generic data with the image using KisAnnotation. M +55 -0libs/libkis/Document.cpp M +33 -0libs/libkis/Document.h M +45 -0libs/libkis/tests/TestDocument.cpp M +1-0libs/libkis/tests/TestDocument.h M +5-1plugins/extensions/pykrita/sip/krita/Document.sip https://invent.kde.org/graphics/krita/commit/8da59a65e15a5c61440c50937038e4dcd9b86ee2 -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 --- Comment #6 from Boudewijn Rempt --- No. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 --- Comment #5 from Larpon --- Ouch. So no base objects to implement this on? -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 Boudewijn Rempt changed: What|Removed |Added CC||b...@valdyas.org --- Comment #4 from Boudewijn Rempt --- It would be an enormous change. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 --- Comment #3 from Larpon --- ... and don't let the word "parasites" scare you off - it's basically just the ability to store key/value data globally and on prominent object types (e.g. layers, colors, brushes, patterns) -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 --- Comment #2 from Larpon --- It's a thing I've used a lot in The GIMP - and are missing in Krita's API. I'm of the understanding that many GIMP plugin authors also use parasites to store state among other things - so I think it will be useful to many other future plugin authors than just me. So to answer your question: It's a specific thing I'm missing :) It only becomes 'architectural' because this concept (parasites) touches, or could touch, many object types. I'm not enough into the codebase to know how big of a change it would be to give all/many/dominant objects this feature. -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 406763] Add similar concept to GIMP's "parasites"
https://bugs.kde.org/show_bug.cgi?id=406763 Scott Petrovic changed: What|Removed |Added CC||scottpetro...@gmail.com --- Comment #1 from Scott Petrovic --- Is this request coming from a specific thing you are trying to script with Krita, or are these just some ideas about high level coding architecture? In other words, is there something you are trying to code, but can't because of Krita's Python API? In general, the Python API is pretty new to Krita still and we are interested in seeing what people are actually trying to do with it -- but cannot because of the limited API. There are quite a few things that don't have any API at all right now. We are slowly adding stuff as people are finding uses for it. -- You are receiving this mail because: You are watching all bug changes.