Package javax.media.jai

Examples of javax.media.jai.RenderedOp


    }

    public void testScaleSmallerGreyGIF8Bit()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GREYSCALEGIF8, 120, "false");
        assertEquals("Image is not greyscale", true,
                     TestUtilities.isGreyscale(image));
    }
View Full Code Here


    }

    public void testScaleSmallerGreyJPEG8Bit()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GREYSCALEJPEG8, 120, "false");
        assertEquals("Image is not greyscale", true,
                     TestUtilities.isGreyscale(image));
    }
View Full Code Here

    }

    public void testScaleSmallerGreyPNG4Bit()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GRAYSCALEPNG4, 120, "false");
        assertEquals("Image is not greyscale", true,
                     TestUtilities.isGreyscale(image));
    }
View Full Code Here

    }

    public void testScaleSmallerGreyGIF4Bit()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.GREYSCALEGIF4, 120, "false");
        assertEquals("Image is not greyscale4", true,
                     TestUtilities.isGreyscale4(image));
    }
View Full Code Here

                     TestUtilities.isGreyscale4(image));
    }

    public void testScaleSmallerGreyPNG2Bit()
        throws Throwable {
        RenderedOp image = doScale(OutputImageRules.GRAYSCALEPNG2, 120, "false");
        assertEquals("Image is not greyscale", true,
                     TestUtilities.isGreyscale(image));
    }
View Full Code Here

    }

    public void testScaleSmallerMonochromePNG()
        throws Throwable {

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

    }

    public void testScaleSmallerMonochromeGIF()
        throws Throwable {

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

    }
View Full Code Here

    }

    public void testScaleSmallerMonochromeWBMP()
        throws Throwable {

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

     */

    public void testScaleLargerDisabledColorBMPTrueColor()
        throws Throwable {

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

    }

    public void testScaleLargerDisabledColorJPEGTrueColor()
        throws Throwable {

        RenderedOp image = doScale(OutputImageRules.COLOURJPEG24, 700, "false");
        assertEquals("Image is not true colour", true,
                     TestUtilities.isTrueColour(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.