Package com.alibaba.simpleimage.io

Examples of com.alibaba.simpleimage.io.ByteArraySeekableStreamWrap


            ImageWrapper img = null;
            ImageFormat format = ImageUtils.identifyFormat(input);
            if(format == null) {
                throw new IllegalArgumentException("Unsupported image format, only JPEG, GIF, PNG, BMP and TIFF are supported");
            }
            ByteArraySeekableStreamWrap wrap = null;
            wrap = ByteArraySeekableStreamWrap.wrapInputStream(input);

            /**
             * 利用JAI读取源图片
             */
 
View Full Code Here

TOP

Related Classes of com.alibaba.simpleimage.io.ByteArraySeekableStreamWrap

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.