OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (OFFICE-1746) Editor Note: Section18.92 draw:blue



    [ http://tools.oasis-open.org/issues/browse/OFFICE-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901#action_12901 ] 

Michael Brauer commented on OFFICE-1746:
----------------------------------------

The following proposal clarifies what the percentages actually mean:

----
The draw:blue attribute specifies together with the attributes draw:green and draw:red a non destructive filter for a linear transformation of the white balance of a pixel image.

If any of these three attributes is specified, an offset is applied to each pixel of an image while is it rendered. The offsets for each color channel is given as a percentage in the range of -100% to +100%.
These offsets is scaled to the range -2^bits to 2^bits, where bits is the number of bits reserved for each color channel within the image. If the resulting value is less then 0 it is set to 0 and if it is greater than the maximum possible value it is set to the maximum.

Example: If the draw:blue attribute has the value 50% and and the blue color channel has 8 bits,  then 128 is added to the blue color value of each pixel inside the image before it is rendered. If draw:red has the value -50% then
128 is subtracted.

The draw:blue attribute specifies the offset for the blue color channel.
-----


> Editor Note: Section 18.92 draw:blue
> ------------------------------------
>
>                 Key: OFFICE-1746
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1746
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>    Affects Versions: ODF 1.2
>            Reporter: Robert Weir 
>            Assignee: Patrick Durusau
>            Priority: Blocker
>             Fix For: ODF 1.2
>
>
> Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt
> Original author: Patrick Durusau
> Section 18.92 draw:blue
> Ed. Note What does -50% blue mean? Shouldn't all color percentage values be positive and only up to 100%?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]