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

Expose ImageInfo's usesPalette, isTransparent, isProgressive and compressionAlgorithm

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.97
    • 1.0-alpha1
    • None
    • None

    Description

      We use Sanselan (with great success!) to extract image information in our content repository [fleXive] [1].
      For now we have to package our own modified sanselan implementation since we have to rely on 4 properties of ImageInfo that currently are not public: usesPalette, isTransparent, isProgressive and compressionAlgorithm.

      Could you possibly add the following getters to the ImageInfo class:

          public boolean isUsesPalette() {
              return usesPalette;
          }
      
          public boolean isTransparent() {
              return isTransparent;
          }
      
          public boolean isProgressive() {
              return isProgressive;
          }
      
          public String getCompressionAlgorithm() {
              return compressionAlgorithm;
          }
      

      Cheers and keep up the good work,
      Markus

      [1] http://www.flexive.org

      Attachments

        Activity

          People

            Unassigned Unassigned
            mplesser Markus Plesser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: