Enhance ColverConverter#toColor(String) to also support Hexa-Codes containing 
alpha channels
--------------------------------------------------------------------------------------------

                 Key: MGNLIMG-96
                 URL: http://jira.magnolia-cms.com/browse/MGNLIMG-96
             Project: Magnolia Imaging Module
          Issue Type: Improvement
    Affects Versions: 2.2.1
            Reporter: Daniel Lipp


Here's how this operation should work like:

@Test
public void testCanDecodeHexaWithAlphaChannel() {
  assertEquals(new Color(128, 64, 23, 35), ColorConverter.toColor("#80401723"));
}


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

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to