// Test default setting
double x, y;
image.chromaBluePrimary( &x, &y );
- if ( x != 0 || y != 0 )
+ if ( x != 0.1500 || y != 0.0600 )
{
++failures;
cout << "Line: " << __LINE__
// Test default setting
double x, y;
image.chromaGreenPrimary( &x, &y );
- if ( x != 0 || y != 0 )
+ if ( x != 0.3000 || y != 0.6000 )
{
++failures;
cout << "Line: " << __LINE__
// Test default setting
double x, y;
image.chromaRedPrimary( &x, &y );
- if ( x != 0 || y != 0 )
+ if ( x != 0.6400 || y != 0.3300 )
{
++failures;
cout << "Line: " << __LINE__
// Test default setting
double x, y;
image.chromaWhitePoint( &x, &y );
- if ( x != 0 || y != 0 )
+ if ( x != 0.3127 || y != 0.3290 )
{
++failures;
cout << "Line: " << __LINE__
image->colorspace=sRGBColorspace;
image->rendering_intent=PerceptualIntent;
image->gamma=0.45455;
- image->chromaticity.red_primary.x=0.6400f;
- image->chromaticity.red_primary.y=0.3300f;
- image->chromaticity.green_primary.x=0.3000f;
- image->chromaticity.green_primary.y=0.6000f;
- image->chromaticity.blue_primary.x=0.1500f;
- image->chromaticity.blue_primary.y=0.0600f;
- image->chromaticity.white_point.x=0.3127f;
- image->chromaticity.white_point.y=0.3290f;
+ image->chromaticity.red_primary.x=0.6400;
+ image->chromaticity.red_primary.y=0.3300;
+ image->chromaticity.green_primary.x=0.3000;
+ image->chromaticity.green_primary.y=0.6000;
+ image->chromaticity.blue_primary.x=0.1500;
+ image->chromaticity.blue_primary.y=0.0600;
+ image->chromaticity.white_point.x=0.3127;
+ image->chromaticity.white_point.y=0.3290;
image->interlace=NoInterlace;
image->ticks_per_second=UndefinedTicksPerSecond;
image->compose=OverCompositeOp;