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

PnmImageParser throws NumberFormatException instead of ImageReadException when parsing invalid images

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-alpha1
    • Format: PNM
    • None

    Description

      The general contract for the image parsers is to throw ImageReadException if they are passed an invalid image. PnmImageParser would throw NumberFormatException if the width or header could not be parsed.

      Attachments

        Activity

          People

            britter Benedikt Ritter
            Nebu Pookins Nebu Pookins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: