Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-824

IllegalArgumentException is thrown when trying to use WMFTranscoder to convert a WMF into SVG

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.7
    • None
    • Utilities
    • None
    • Operating System: Windows XP
      Platform: PC

    Description

      When processing the attached WMF file using the WMFTranscoder, an IllegalArgumentException is thrown with the following text: "Dimensions (width=23789568 height=65536) are too large." It appears that this IllegalArgumentException is being thrown from the java.awt.image.BufferedImage class because the width * height is greater than the capacity of the integer used to store the dimensions. The actual height and width of the WMF is nowhere near this large, however.

      Attachments

        1. 11535032_rtfimage_3.wmf
          566 kB
          Brent Pacheco

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            brent.pacheco@cerner.com Brent Pacheco
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: