Yes and no. I have something implemented for PDL::Drawing::Prima that
converts RGB => HSL and back. It's independent of Prima itself, so you
could create an Inline::Pdlpp module or .pd file for it. But nothing's on
the CPAN at the moment.

The code is on github here:
https://github.com/run4flat/PDL-Drawing-Prima/blob/master/lib/PDL/Drawing/Prima/Utils.pm.PL

On Tue, Jan 10, 2012 at 1:21 PM, Maggie X <[email protected]> wrote:

> I have a lot of RGB data that I'd like to convert to LCH or HSL. There is
> Graphics::ColorObject that can do the conversion, but it's pure perl. Is
> there an algorthm that converts RGB data to LCH or HSL in PDL?
>
> Thanks!
>
> Best,
> Maggie
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
>


-- 
Sent via my carrier pigeon.
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to