Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4042

API unifications for image factories

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: PDModel
    • Labels:
      None

      Description

      HI guys!

      JPEGFactory has a lot of factory methods to create itself from byte array, from BufferedImage or from Stream
      CCITTFactory has factory methods to read from byte array, from File and from BufferedImage
      LosslessFactory has only one factory method to read from BufferedImage.

      I think it would be reasonable to unify the factory methods.

      Thanks, Philip

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              phax Philip Helger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: