Package net.sourceforge.jiu.codecs.tiff

Examples of net.sourceforge.jiu.codecs.tiff.TIFFImageFileDirectory


    Inflater inflater = new Inflater();
    byte[] ioBuffer = new byte[20000];
    byte[] data = new byte[getBytesPerRow()];
    // determine how many bytes have to be read from inflater
    int numRows = getY2();
    TIFFImageFileDirectory ifd = getImageFileDirectory();
    if (numRows > ifd.getHeight() - 1)
    {
      numRows = ifd.getHeight() - 1;
    }
    numRows -= getY1();
    int remainingBytes = numRows * data.length;
    // now read and decompress as long as there is data left to decompress
    while (compressedSize > 0 || remainingBytes > 0)
View Full Code Here

TOP

Related Classes of net.sourceforge.jiu.codecs.tiff.TIFFImageFileDirectory

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.