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

Non-APM WMF files render with the wrong width and height

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      I have a WMF file which has an APM header and a size of 1266 x 766.

      I chopped off the APM header, expecting the resulting file to have the same
      size. However, what I end up with is an image with size 1793 x 657.

      Scaling wouldn't have bothered me... it's a vector format and if the height and
      width are missing it's okay to pick sensible values IMO. But in this situation
      the width has increased but the height has decreased, which is a bit unusual.

        Attachments

        1. test.wmf
          11 kB
          Trejkaz
        2. nonapm.wmf
          11 kB
          Trejkaz

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              trejkaz Trejkaz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: