Package com.lightcrafts.image

Examples of com.lightcrafts.image.ImageInfo


        return getImage(file, maxImageSize, true);
    }

    static RenderedImage getImage(File file, int maxImageSize, boolean colorConvert) {
        RenderedImage image = null;
        ImageInfo info = ImageInfo.getInstanceFor(file);
        ImageFileStrategy[] strategies = ImageFileStrategy.Strategies;
        for (ImageFileStrategy strategy : strategies) {
            image = strategy.getImage(info, maxImageSize);
            if (image != null) {
                break;
View Full Code Here

TOP

Related Classes of com.lightcrafts.image.ImageInfo

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.