-
Type: Sub-task
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: ODF 1.2
-
Fix Version/s: ODF-Next
-
Component/s: Graphics, Part 3 (Schema) [1.2: 1]
-
Labels:None
ODF1.2 part 1 has got attributes for color adjustment: 20.94 draw:blue, 20.129 draw:green, and 20.149 draw:red.
It has got attributes for tone adjustments: 20.103 draw:color-inversion, 20.105 draw:contrast, 20.128 draw:gamma, and 20.135 luminance.
The schema has these attributes as elements in "style-graphic-properties-attlist" and gives them kind <interleave>.
When combining these filters, the result depends on the order in which the filters are applied. It might be, that the order in which applications apply the filter is not the same as the order in the file itself. Apache OpenOffice applies gamma after color, luminance, and contrast, but writes it in the order luminance, contrast, gamma, red, green, blue. Therefore a rule in the attribute description is needed to set the order.
The order of color adjustment, luminance, contrast, and gamma in Apache OpenOffice is described in the attachment of mail https://www.oasis-open.org/apps/org/workgroup/office/email/archives/201304/msg00030.html. I don't know what order other applications use.