Hi, all,

I’ve put enough stuff into PDL::Transform::Color that it needed unpacking from 
its autoload hack.  

I’ve set up a github repository for it at 
"https://github.com/drzowie/PDL-Transform-Color”, and it looks nearly ready for 
a CPAN release.  At the moment I’m holding on feedback from David Mertens, who 
has authored a similar module of the same name, before I upload this one to 
CPAN; I believe this one is a strict superset of David’s, with the same names 
and conventions for similar transforms (e.g. RGB->CMYK).

If you use color, it might be worth looking over PDL::Transform::Color.  It has 
transforms for the casual user (import and export “normal” 24-bit color images; 
switch back and forth to/from HSV, HSL, and CMYK), and also for the serious 
color aficionado (switch to CIEXYZ, CIELAB, or any of a number of wide-gamut 
RGB standards; modify the illuminant/white-point; or attempt to quantify the 
Helmoltz-Kohlrausch effect). 

The more I worked on this, the more I realized that we ultimately need a 
PDL::Color subclass that keeps track of which system a color is in, and manages 
the transformations itself.  This will do for now — it enables a lot of things 
— but that’s the direction I’m thinking we ultimately need to go if anyone gets 
the itch.

Feedback welcome.

Cheers,
Craig


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to