Package org.tuba.spatschorke.diploma.operation.image.scale

Examples of org.tuba.spatschorke.diploma.operation.image.scale.ImageScaler


    String curDir = System.getProperty("user.dir"); //$NON-NLS-1$
    String imageFile = curDir + TEST_IMAGE;

    ImageRepresentation image = new ImageRepresentation(
        new File(imageFile), ImageType.PNG);
    ImageScaler scaler = new ImageScaler();
    IArtefactRepresentation result = scaler.process(image, configuration);

    Assert.assertNotNull(result);
    String type = result.getType();
    Assert.assertEquals(ImageRepresentation.TYPE, type);
View Full Code Here

TOP

Related Classes of org.tuba.spatschorke.diploma.operation.image.scale.ImageScaler

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.