mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-04-05 00:00:01 -04:00
Init TIFFUtilities for mereging, splitting and rotating tiff pages
This commit is contained in:
@@ -35,7 +35,7 @@ package com.twelvemonkeys.imageio.plugins.tiff;
|
||||
* @author last modified by $Author: haraldk$
|
||||
* @version $Id: TIFFBaseline.java,v 1.0 08.05.12 16:43 haraldk Exp$
|
||||
*/
|
||||
interface TIFFBaseline {
|
||||
public interface TIFFBaseline {
|
||||
int COMPRESSION_NONE = 1;
|
||||
int COMPRESSION_CCITT_MODIFIED_HUFFMAN_RLE = 2;
|
||||
int COMPRESSION_PACKBITS = 32773;
|
||||
|
||||
@@ -35,7 +35,7 @@ package com.twelvemonkeys.imageio.plugins.tiff;
|
||||
* @author last modified by $Author: haraldk$
|
||||
* @version $Id: TIFFExtension.java,v 1.0 08.05.12 16:45 haraldk Exp$
|
||||
*/
|
||||
interface TIFFExtension {
|
||||
public interface TIFFExtension {
|
||||
/** CCITT T.4/Group 3 Fax compression. */
|
||||
int COMPRESSION_CCITT_T4 = 3;
|
||||
/** CCITT T.6/Group 4 Fax compression. */
|
||||
|
||||
@@ -113,7 +113,7 @@ public final class TIFFImageWriter extends ImageWriterBase {
|
||||
// TODO: Allow appending/partly overwrite of existing file...
|
||||
}
|
||||
|
||||
static final class TIFFEntry extends AbstractEntry {
|
||||
public static final class TIFFEntry extends AbstractEntry {
|
||||
// TODO: Expose a merge of this and the EXIFEntry class...
|
||||
private final short type;
|
||||
|
||||
@@ -164,7 +164,7 @@ public final class TIFFImageWriter extends ImageWriterBase {
|
||||
throw new UnsupportedOperationException(String.format("Method guessType not implemented for value of type %s", value.getClass()));
|
||||
}
|
||||
|
||||
TIFFEntry(final int identifier, final Object value) {
|
||||
public TIFFEntry(final int identifier, final Object value) {
|
||||
this(identifier, guessType(value), value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user