Package javax.media.jai

Examples of javax.media.jai.RenderedOp


    }

    public void testScaleLargerDisabledGreyGIF2Bit()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GREYSCALEGIF2, 700, "false");
        assertEquals("Image is not greyscale2", true,
                     TestUtilities.isGreyscale2(image));
    }
View Full Code Here


    }

    public void testScaleLargerDisabledMonochromePNG()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GRAYSCALEPNG1, 700, "false");
        assertEquals("Image is not monochrome", true,
                     TestUtilities.isMonochrome(image));
    }
View Full Code Here

    }

    public void testScaleLargerDisabledMonochromeGIF()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GREYSCALEGIF1, 700, "false");
        assertEquals("Image is not monochrome", true,
                     TestUtilities.isMonochrome(image));

    }
View Full Code Here

    }

    public void testScaleLargerDisabledMonochromeWBMP()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.WBMP, 700, "false");
        assertEquals("Image is not monochrome", true,
                     TestUtilities.isMonochrome(image));
    }
View Full Code Here

     */

    public void testScaleLargerColorBMPTrueColor()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURBMP24, 700, "true");
        assertEquals("Image is not true colour", true,
                     TestUtilities.isTrueColour(image));
    }
View Full Code Here

    }

    public void testScaleLargerColorJPEGTrueColor()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURJPEG24, 700, "true");
        assertEquals("Image is not true colour", true,
                     TestUtilities.isTrueColour(image));
    }
View Full Code Here

    }

    public void testScaleLargerColorPNGTrueColor()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURPNG24, 700, "true");
        assertEquals("Image is not true colour", true,
                     TestUtilities.isTrueColour(image));
    }
View Full Code Here

    }

    public void testScaleLargerColorTIFFTrueColor()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURTIFF24, 700, "true");
        assertEquals("Image is not true colour", true,
                     TestUtilities.isTrueColour(image));
    }
View Full Code Here

    }

    public void testScaleLargerColorPNGIndexed()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURPNG8, 700, "true");
        assertEquals("Image is not indexed", true,
                     TestUtilities.isIndexed(image));
    }
View Full Code Here

    }

    public void testScaleLargerColorGIFIndexed()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURGIF8, 700, "true");
        assertEquals("Image is not indexed", true,
                     TestUtilities.isIndexed(image));
    }
View Full Code Here

TOP

Related Classes of javax.media.jai.RenderedOp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.