Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-68

Add a field with the raw bytes in org.apache.sanselan.formats.jpeg.iptc.IPTCRecord

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.0-alpha1
    • None
    • None

    Description

      Hi there,

      I was wondering if you could add a field with the raw bytes of the IPTCRecord, such as :
      public final byte[] data; or with a getter().

      Because when the IPTCParser creates each IPTCRecord, it assumes the record is using the ISO-8859-1 charset, which of course is not always the case.

      It would be nice to perform some automatic charset detection in there too.

      But having access to the raw bytes can be usefull anyway, if for some reason the record is not a string.

      Thanks already!

      Attachments

        Activity

          People

            Unassigned Unassigned
            blop Olivier Voortman
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified