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

TIFFTag.TIFF_RATIONAL - no sign checks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:

      Description

      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}});

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              avstepan Alexander Stepanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: