Package org.apache.commons.imaging.common

Examples of org.apache.commons.imaging.common.SimpleBufferedImageFactory


     * @param params A valid Map object, or a null.
     * @return A valid instance of an implementation of a IBufferedImageFactory.
     */
    protected IBufferedImageFactory getBufferedImageFactory(final Map<String, Object> params) {
        if (params == null) {
            return new SimpleBufferedImageFactory();
        }

        final IBufferedImageFactory result = (IBufferedImageFactory) params
                .get(ImagingConstants.BUFFERED_IMAGE_FACTORY);

        if (null != result) {
            return result;
        }

        return new SimpleBufferedImageFactory();
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.imaging.common.SimpleBufferedImageFactory

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.