Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1371

[Patch] Allow ImageReader to process other image formats than JPEG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.5
    • 2.1.9, 2.2
    • * Cocoon Core
    • None
    • Operating System: All
      Platform: All
    • 32586
    • Patch available

    Description

      Changed org.apache.cocoon.reading.ImageReader (from the 2.1.5.1 release) to
      accept any input image type supported by the j2se. Of course, due to the lack of
      available encoders the output is still jpeg. Instead of the JPEGDecoder used
      previously this now uses classes from java.awt and java.swing. In order for this
      to work on environments without graphics support, use -Djava.awt.headless=true

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--ImageReader.java.diff
          2 kB
          george georgovassilis
        2. ASF.LICENSE.NOT.GRANTED--ImageReader.java.diff
          4 kB
          george georgovassilis

        Activity

          People

            jbq Jean-Baptiste Quenot
            georgeg@open.gr george georgovassilis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: