2 * Copyright 2002-2015 Drew Noakes
4 * More information about this project is available at:
6 * https://drewnoakes.com/code/exif/
7 * https://github.com/drewnoakes/metadata-extractor
9 package tim.prune.jpeg.drew;
12 * An enumeration of data formats used by the TIFF specification.
14 * @author Drew Noakes https://drewnoakes.com
16 public class TiffDataFormat
18 public static final int CODE_INT8_U = 1;
19 public static final int CODE_STRING = 2;
20 public static final int CODE_INT16_U = 3;
21 public static final int CODE_INT32_U = 4;
22 public static final int CODE_RATIONAL_U = 5;
23 public static final int CODE_INT8_S = 6;
24 public static final int CODE_UNDEFINED = 7;
25 public static final int CODE_INT16_S = 8;
26 public static final int CODE_INT32_S = 9;
27 public static final int CODE_RATIONAL_S = 10;
28 public static final int CODE_SINGLE = 11;
29 public static final int CODE_DOUBLE = 12;
31 public static int getComponentSize(int tiffFormatCode)
33 switch (tiffFormatCode)