commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IMAGING-157) Add method to color classes to convert colors to other color spaces
Date Sat, 10 Jan 2015 10:18:35 GMT

     [ https://issues.apache.org/jira/browse/IMAGING-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter updated IMAGING-157:
------------------------------------
    Fix Version/s: Discussion

> Add method to color classes to convert colors to other color spaces
> -------------------------------------------------------------------
>
>                 Key: IMAGING-157
>                 URL: https://issues.apache.org/jira/browse/IMAGING-157
>             Project: Commons Imaging
>          Issue Type: Improvement
>            Reporter: Stephan K├Âninger
>             Fix For: Discussion
>
>
> Instead of having a static util class it would be nice to have a method available to
all Color types which allows one to convert a color to another color space. See following
example for clearance:
> {code:java}
> ColorCmyk cymk = new ColorCmyk(100, 0, 100, 0);
> ColorHsl colorHsl = cymk.convertTo(Color.Hsl); 
> // or
> ColorHsl colorHsl = cymk.convertTo(ColorHsl.class); 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message