Package com.gif4j

Examples of com.gif4j.GifImage


    FileOutputStream newimage = null;
    InputStream fis = orig_img;
    try {
      if ("gif".equalsIgnoreCase(extendName)) {
        GifImage gifImage = GifDecoder.decode(fis);
        fis.close(); fis = null;
        GifImage newGif = GifTransformer.resize(gifImage, p_width,p_height, false);
        newimage = new FileOutputStream(obj_filename);
        GifEncoder.encode(newGif, newimage);
      } else {
        BufferedImage orig_portrait = (BufferedImage) ImageIO.read(fis);
        fis.close(); fis = null;
View Full Code Here

TOP

Related Classes of com.gif4j.GifImage

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.