Warning, /graphics/krita/krita/dtd/krita.dtd is written in an unsupported language. File is not indexed.
0001 <!-- $Id$ 0002 0003 This is an XML document type definition (DTD) for the KImageShop 0004 image format. 0005 Written by Matthias Elter <elter@kde.org>. 0006 --> 0007 0008 0009 <!-- 0010 A DOC element can contain only one IMAGE element. 0011 0012 Attributes 0013 0014 editor: The program this file was written with 0015 depth: The number of bytes a pixel uses per channel. 0016 syntaxVersion: always 1 for now 0017 --> 0018 0019 <!ELEMENT DOC (IMAGE)> 0020 <!ATTLIST DOC 0021 editor CDATA 'krita' 0022 depth CDATA #REQUIRED 0023 syntaxVersion CDATA #REQUIRED> 0024 0025 <!-- An image contains at most _one_ LAYERS element. 0026 0027 Attributes: 0028 0029 mime: The MIME type 0030 If this is 'application/x-kra', then search for LAYERS component. 0031 The data is saved in external binary files 0032 name: Every image has a name. This is also the in-store filename where to get the pixel data or foreign image. 0033 width: The image with in pixels. 0034 height: The image height in pixels. 0035 --> 0036 0037 <!ELEMENT IMAGE (LAYERS)> 0038 <!ATTLIST IMAGE 0039 name CDATA #REQUIRED 0040 mime CDATA #REQUIRED 0041 width CDATA #REQUIRED 0042 height CDATA #REQUIRED 0043 x-res CDATA #REQUIRED 0044 y-res CDATA #REQUIRED 0045 profile CDATA #REQUIRED 0046 colorspacename CDATA #REQUIRED> 0047 0048 0049 <!-- The layers element holds the image's layers. 0050 0051 Attributes: none 0052 0053 --> 0054 <!ELEMENT LAYERS (layer)+> 0055 0056 0057 <!-- 0058 The data is saved in external binary files. 0059 Attributes: 0060 0061 name: The channel's name. 0062 x: The layer's horizontal position in the image. 0063 y: The layer's vertical position in the image. 0064 width: The layer's width in pixels OBSOLETE 0065 height: The layers height in pixels OBSOLETE 0066 opacity: The layer's opacity. A value between 0 and 255. 0067 visible Is the layer visible? (yes or no) 0068 linked: Is the layer linked? (yes or no) OBSOLETE 0069 filename: The name of the binary file of the layer' data. 0070 layertype: The type of layer. paintlayer is assumed if absent. 0071 filtername The name of the filter in case the layer is an adjustment layer 0072 filterversion The version of the filter in case the layer is an adjustment layer 0073 --> 0074 <!ELEMENT layer (LAYERS)?> 0075 <!ATTLIST layer 0076 name CDATA #REQUIRED 0077 x CDATA #REQUIRED 0078 y CDATA #REQUIRED 0079 width CDATA #IMPLIED 0080 height CDATA #IMPLIED 0081 opacity CDATA #REQUIRED 0082 visible CDATA #REQUIRED 0083 linked CDATA #IMPLIED 0084 colorspacename CDATA #REQUIRED 0085 profile CDATA #REQUIRED 0086 filename CDATA #IMPLIED 0087 layertype CDATA "paintlayer" 0088 filtername CDATA "" 0089 filterversion CDATA "" 0090 > 0091 0092 <!ELEMENT FILTERCONFIG (filterconfig)> 0093