Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8169650

TIFFTag.TIFF_RATIONAL - no sign checks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • client-libs

      TIFF_RATIONAL is a "pair of unsigned 32-bit integers" (?) - e.g., http://www.fileformat.info/format/tiff/egff.htm

      for now we can set signed (negative) longs as the numerator and denominator (b142):

      TIFFField f = new TIFFField(
                  new TIFFTag("tag", 12345, 1 << type), type, 1, new long[][]{{-1L, 1L}});

            bpb Brian Burkhalter
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: