[Perldl] announcing PDL::Graphics::ColorSpace

Maggie X maggiexyz at gmail.com
Mon Feb 6 17:54:17 HST 2012


Thanks Rob! I'll try to get it in tomorrow.

Best,
Maggie

On Sun, Feb 5, 2012 at 12:58 PM, Sisyphus <sisyphus1 at optusnet.com.au> wrote:

>
> ----- Original Message ----- From: "Maggie X" <maggiexyz at gmail.com>
> To: "perldl" <perldl at jach.hawaii.edu>
> 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<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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.jach.hawaii.edu/pipermail/perldl/attachments/20120206/b34b8af3/attachment.html>


More information about the Perldl mailing list