Examples of MimeTypeSpecificImageScaler


Examples of de.innovationgate.utils.MimeTypeSpecificImageScaler

        ModuleDefinition scalerDef = core.getModuleRegistry().getModuleDefinitionByKey(MimeTypeSpecificImageScalerModuleType.class, mimeType);
        if (scalerDef == null) {
            throw new WGNotSupportedException("No image scaler implementation available for mimetype " + mimeType);
        }
       
        MimeTypeSpecificImageScaler scaler = (MimeTypeSpecificImageScaler) core.getModuleRegistry().instantiate(scalerDef);
        return scaler;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.