diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-26 00:41:16 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-26 00:41:16 +0000 |
commit | 698569f8428ca088f764d704034a1330517b98c0 (patch) | |
tree | bf45be6946ebbbee9cce5a5bcf838f4c952d87e6 /chalk/doc/impexp.txt | |
parent | 2785103a6bd4de55bd26d79e34d0fdd4b329a73a (diff) | |
download | koffice-698569f8428ca088f764d704034a1330517b98c0.tar.gz koffice-698569f8428ca088f764d704034a1330517b98c0.zip |
Finish rebranding of Krita as Chalk
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238363 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/doc/impexp.txt')
-rw-r--r-- | chalk/doc/impexp.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/chalk/doc/impexp.txt b/chalk/doc/impexp.txt new file mode 100644 index 00000000..123807dc --- /dev/null +++ b/chalk/doc/impexp.txt @@ -0,0 +1,41 @@ +THIS IS OBSOLETE + +Import/Export & ImageMagick + +Import/Export is currently hardcoded to use ImageMagick and the RGB colormodel. +Additionally, export is broken and even when working, only supported exporting +to images with one layer. + +Kimgio is not suitable for Chalk since it only supports importing images as one +QImage. + +The new design should support plugins instead of hardcoded filters, so we can +add an ImageMagick plugin, an openExr plugin or any other kind of image readers. + +Issues: + + * conflicts -- more than one plugin might want to support JPEG, for instance. + * configuration -- compression settings, optional flattening, adding + profiles, colorspace conversion + * identification -- no sane way to distinguish a particular type of tiff from + another type, for instance. + * colormodel integration -- basically, there are cmyk, rgb and grayscale + images in a variety of bit depths (e.g., openexr supports 16 bit and half). + Colorspaces must interpret the file data to build Chalk pixels and must + unpack chalk pixels to a format a file exporter (e.g, ImageMagick pixel + packets) can work with. This means that plugins can depend on the presence + of other plugins. + * Import/export should be lossless -- i.e., all extra information any file + format may attach to the image should be kept around and used on export. + Examples are Exif data and profiles, but also Gimp comments. + + +KisAnnotation contains metadata about an image that is grabbed from +a file, such as exif data or TIFF tags and that we should be able to save. + +KisAnnotation + + KisAnnotation(QString type, QString annotation); + KisAnnotation(QString type, QByteArray annotation);; + + |