[
https://issues.apache.org/jira/browse/IMAGING-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan Köninger updated IMAGING-147:
-------------------------------------
Attachment: IMAGING-147_002.patch
Hi,
I have created another patch file which is based on the current SVN trunk
(instead of GIT head - sorry for that). I corrected the copy past error.
It would be nice to add a "convertTo" method to all color classes, which is
able to convert a color to other color models. By adding documentation to this
method it will be much clearer why the values for color models like Luv look
odd to you.
Regards
Stephan
> Color constants
> ---------------
>
> Key: IMAGING-147
> URL: https://issues.apache.org/jira/browse/IMAGING-147
> Project: Commons Imaging
> Issue Type: Improvement
> Components: imaging.color.*
> Reporter: Benedikt Ritter
> Labels: github
> Fix For: Review Patch
>
> Attachments: IMAGING-147_001.patch, IMAGING-147_002.patch
>
>
> The Color classes should provide constants for useful colors like black,
> white and maybe their base colors. For example ColorCmyk could provide
> Constants for black, white, cyan, magenta and yellow ColorCmyk objects.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)