----- Original Message ----- From: "Maggie X" <[email protected]>
To: "perldl" <[email protected]>
Sent: Friday, February 03, 2012 4:02 AM
Subject: [Perldl] announcing PDL::Graphics::ColorSpace


I just uploaded PDL::Graphics::ColorSpace to CPAN. It does typical image
color space conversions such as RGB to HSL, XYZ to Lab, etc. It is derived
and tested against Graphics::ColorObject, but since it's implemented in C
and PDL, it runs much faster than Graphics::ColorObject.

http://search.cpan.org/~maggiexyz/PDL-Graphics-ColorSpace-0.0.6/color_space.pp

Hi Maggie,

During the build I get lots and lots of warnings like:

ColorSpace.xs:9631:3: warning: passing argument 1 of 'xyY2xyz' from incompatible pointer type color_space.h:9:9: note: expected 'double *' but argument is of type 'double (*)[3]' ColorSpace.xs:9631:3: warning: passing argument 2 of 'xyY2xyz' from incompatible pointer type color_space.h:9:9: note: expected 'double *' but argument is of type 'double (*)[3]' ColorSpace.xs:9658:5: warning: passing argument 2 of 'lab2xyz' from incompatible pointer type color_space.h:13:9: note: expected 'double *' but argument is of type 'double (*)[3]'

The attached patch to color_space.pp eliminates those warnings.

Cheers,
Rob

Attachment: color_space.diff
Description: Binary data

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to