|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagecom.itextpdf.io.codec
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.
Constructs a TIFFDirectory from a SeekableStream. The directory parameter specifies which directory to read from the linked list present in the stream; directory 0 is normally read but it is possible to store multiple images in a single TIFF file by maintaining multiple directories. @param stream a SeekableStream to read from. @param directory the index of the directory to read. @throwsClass TIFFDirectory, constructor TIFFDirectory(RandomAccessFileOrArray, long, int)java.io.IOException in case of any I/Ojavaerror.io.IOException
Constructs a TIFFDirectory by reading a SeekableStream. The ifd_offset parameter specifies the stream offset from which to begin reading; this mechanism is sometimes used to store private IFDs within a TIFF file that are not part of the normal sequence of IFDs. @param stream a SeekableStream to read from. @param ifd_offset the long byte offset of the directory. @param directory the index of the directory to read beyond the one at the current stream offset; zero indicates the IFD at the current offset. @throws java.io.IOException in case of any I/O error.Class TIFFDirectory, long getIFDOffset()
Returns the offset of the IFD corresponding toClass TIFFDirectory, long getNextIFDOffset()thisthisTIFFDirectory
. @return the offset of the IFD corresponding to thisTIFFDirectory
.
Returns the offset of the next IFD after the IFD corresponding to thisClass TIFFDirectory, int getNumDirectories(RandomAccessFileOrArray)TIFFDirectory
. @return the offset of the next IFD after the IFD corresponding to thisTIFFDirectory
.
Returns the number of image directories (subimages) stored in a given TIFF file, represented by a SeekableStream
. @param stream RandomAccessFileOrArray @return The number of image directories (subimages) stored in a given TIFF file @throws java.io.IOException in case of any I/O error.
Class TIFFDirectory, boolean isBigEndian()
Returns a boolean indicating whether the byte order used in thetheTIFF file is big-endian (i.e. whether the byte order is from the most significant to the least significant) @return {@code true} if the byte order used in the TIFF file is big-endian
Constructs a TIFFField with arbitrary data. The data parameter must be an array of a Java type appropriate for the type of the TIFF field. Since there is no available 32-bit unsigned data type, long is used. The mapping between types is as follows:Class TIFFField, double getAsDouble(int)@param tag
TIFF type Java type TIFF_BYTE byte TIFF_ASCII String TIFF_SHORT char TIFF_LONG long TIFF_RATIONAL long[2] TIFF_SBYTE byte TIFF_UNDEFINED byte TIFF_SSHORT short TIFF_SLONG int TIFF_SRATIONAL int[2] TIFF_FLOAT float TIFF_DOUBLE double Thethe tagtagnumber @param type the tag type @paramcountcount the number of data items present in the field @param data the field data
Returns data in any numerical format as aClass TIFFField, double[] getAsDoubles()floatdouble.Data in TIFF_SRATIONAL or TIFF_RATIONAL format are evaluated by dividing the numerator into the denominator using double-precision arithmetic.A ClassCastException will be thrown if the field is of type TIFF_UNDEFINED or TIFF_ASCII. @param index The
indexindex @return data in any numerical format as a double.
Returns TIFF_DOUBLE data as an array of doubles.Class TIFFField, float getAsFloat(int)A ClassCastException will be thrown if the field is not of type TIFF_DOUBLE. @return TIFF_DOUBLE data as an array of doubles.
Returns data in any numerical format as a float.Class TIFFField, float[] getAsFloats()Data in TIFF_SRATIONAL or TIFF_RATIONAL format are evaluated by dividing the numerator into the denominator using double-precision arithmetic and then truncating to single precision.Data in TIFF_SLONG, TIFF_LONG, or TIFF_DOUBLE format may suffer from truncation.A ClassCastException will be thrown if the field is of type TIFF_UNDEFINED or TIFF_ASCII. @param index The
indexindex @return data in any numerical format as a float.
Returns TIFF_FLOAT data as an array of floats.Class TIFFField, int getAsInt(int)A ClassCastException will be thrown if the field is not of type TIFF_FLOAT. @return TIFF_FLOAT data as an array of floats.
Returns data in TIFF_BYTE, TIFF_SBYTE, TIFF_UNDEFINED, TIFF_SHORT, TIFF_SSHORT, or TIFF_SLONG format as an int.Class TIFFField, int[] getAsInts()TIFF_BYTE and TIFF_UNDEFINED data are treated as unsigned; that is, no sign extension will take place and the returned value will be in the range [0, 255]. TIFF_SBYTE data will be returned in the range [-128, 127].
A ClassCastException will be thrown if the field is not of type TIFF_BYTE, TIFF_SBYTE, TIFF_UNDEFINED, TIFF_SHORT, TIFF_SSHORT, or TIFF_SLONG. @param index The
indexindex @return data in TIFF_BYTE, TIFF_SBYTE, TIFF_UNDEFINED, TIFF_SHORT, TIFF_SSHORT, or TIFF_SLONG format as an int.
Returns TIFF_SLONG data as an array of ints (signed 32-bit integers).Class TIFFField, long getAsLong(int)A ClassCastException will be thrown if the field is not of type TIFF_SLONG. @return TIFF_SLONG data as an array of ints (signed 32-bit integers).
Returns data in TIFF_BYTE, TIFF_SBYTE, TIFF_UNDEFINED, TIFF_SHORT, TIFF_SSHORT, TIFF_SLONG, or TIFF_LONG format as a long.Class TIFFField, long[] getAsLongs()TIFF_BYTE and TIFF_UNDEFINED data are treated as unsigned; that is, no sign extension will take place and the returned value will be in the range [0, 255]. TIFF_SBYTE data will be returned in the range [-128, 127].
A ClassCastException will be thrown if the field is not of type TIFF_BYTE, TIFF_SBYTE, TIFF_UNDEFINED, TIFF_SHORT, TIFF_SSHORT, TIFF_SLONG, or TIFF_LONG. @param index The
indexindex @return data in TIFF_BYTE, TIFF_SBYTE, TIFF_UNDEFINED, TIFF_SHORT, TIFF_SSHORT, TIFF_SLONG, or TIFF_LONG format as a long.
Returns TIFF_LONG data as an array of longs (signed 64-bit integers).Class TIFFField, long[] getAsRational(int)A ClassCastException will be thrown if the field is not of type TIFF_LONG. @return TIFF_LONG data as an array of longs (signed 64-bit integers).
Returns a TIFF_RATIONAL data item as a two-element array of ints.Class TIFFField, long[][] getAsRationals()A ClassCastException will be thrown if the field is not of type TIFF_RATIONAL. @param index The
indexindex @return a TIFF_RATIONAL data item as a two-element array of ints
Returns TIFF_RATIONAL data as an array of 2-element arrays of longs.Class TIFFField, int[] getAsSRational(int)A ClassCastException will be thrown if the field is not of type TIFF_RATTIONAL. @return TIFF_RATIONAL data as an array of 2-element arrays of longs.
Returns a TIFF_SRATIONAL data item as a two-element array of ints.Class TIFFField, int[][] getAsSRationals()A ClassCastException will be thrown if the field is not of type TIFF_SRATIONAL. @param index The
indexindex @return a TIFF_SRATIONAL data item as a two-element array of ints.
Returns TIFF_SRATIONAL data as an array of 2-element arrays of ints.Class TIFFField, short[] getAsShorts()A ClassCastException will be thrown if the field is not of type TIFF_SRATIONAL. @return TIFF_SRATIONAL data as an array of 2-element arrays of ints.
Returns TIFF_SSHORT data as an array of shorts (signed 16-bit integers).Class TIFFField, String getAsString(int)A ClassCastException will be thrown if the field is not of type TIFF_SSHORT. @return TIFF_SSHORT data as an array of shorts (signed 16-bit integers).
Returns a TIFF_ASCII data item as a String.Class TIFFField, String[] getAsStrings()A ClassCastException will be thrown if the field is not of type TIFF_ASCII. @param index The
indexindex @return a TIFF_ASCII data item as a String.
Returns TIFF_ASCII data as an array of strings.A ClassCastException will be thrown if the field is not of type TIFF_ASCII. @return TIFF_ASCII data as an array of strings.
Add a new string to the string table. @param str the byte string which will be added to the string tableClass TIFFLZWDecoder, void addStringToTable(byte[], byte)
Add a new string to the string table. @paramClass TIFFLZWDecoder, byte[] composeString(byte[], byte)oldStringoldString the byte string at the end of which the new string will be written and which will be added to the string table @param newString the byte to be written to the end of the old string
AppendClass TIFFLZWDecoder, byte[] decode(byte[], byte[], int)newString
to the end ofoldString
. @paramoldStringoldString the byte string at the end of which the new string will be written @param newString the byte to be written to the end of the old string @return the byte string which is the sum of the new string and the old string
Method to decode LZW compressed data. @param data The compressedClass TIFFLZWDecoder, void writeString(byte[])data.data @param uncompData Array to return the uncompressed datain.in @param h The number of rows the compressed datacontains.contains @return The decoded data
Write out the string just uncompressed. @param str the byte string for uncompressed write out