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

TranscoderException: null Enclosed Exception: Unable to transform src image

    XMLWordPrintableJSON

    Details

    • Flags:
      Important

      Description

      When i try to convert svg to png file, i got this exception
      org.apache.batik.transcoder.TranscoderException: null
      Enclosed Exception:
      Unable to transform src image
      at org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
      at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
      at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)

      I have no idea what happened.The svg file‘s content is

      <?xml version="1.0" encoding="UTF-8"?>
      <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="text/ecmascript" width="1572.48" zoomAndPan="magnify" shape-rendering="geometricPrecision" contentStyleType="text/css" viewBox="0 0 1572.48 2134.08" height="2134.08" preserveAspectRatio="xMidYMid meet" version="1.0">
      <rect fill="none" width="1572.48" stroke-miterlimit="1" height="2134.08" style="fill:rgb(255, 255, 255)"/>
      <defs><filter id="SVG_FILTER_ID_599952"><feGaussianBlur class="gaussianBlur" stdDeviation="2.75"/><feComponentTransfer class="brightness" color-interpolation-filters="sRGB"><feFuncR type="linear" intercept="0.075" slope="1"/><feFuncG type="linear" intercept="0.075" slope="1"/><feFuncB type="linear" intercept="0.075" slope="1"/></feComponentTransfer><feComponentTransfer class="contrast" color-interpolation-filters="sRGB"><feFuncR type="linear" intercept="0.04799999999999999" slope="0.904"/><feFuncG type="linear" intercept="0.04799999999999999" slope="0.904"/><feFuncB type="linear" intercept="0.04799999999999999" slope="0.904"/></feComponentTransfer><feColorMatrix values="0.6543 0.3047 0.041 0 0 0.1543 0.8047 0.041 0 0 0.1543 0.3047 0.541 0 0 0 0 0 1 0" type="matrix" color-interpolation-filters="sRGB" class="saturation"/></filter></defs>
      <svg x="350.767" y="369.0442" enable-background="new 0 0 121 121" width="844.72064" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" height="847.3197" opacity="1" viewBox="0 0 121 121" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="visible" version="1.1">
      <g id="db" transform="rotate(0,60.5,60.5) matrix(1,0,0,1,0,0) translate(0,0)">
      <g>
      <defs>
      <rect x="0" width="121" y="0.1" height="121" id="0325_45_1_"/>
      </defs>
      <clipPath class="wonAd" id="0325_45_2_">
      <use xlink:href="#0325_45_1_" overflow="visible"/>
      </clipPath>
      <g clip-path="url(#0325_45_2_)">
      <rect x="-9.7" fill="#D4ECF8" width="311.9" y="0" height="121.4"/>
      <path fill="#BBD180" d="M-9.7,88.9c0,0,30.8,1.2,34.1,4c3.1,2.8,40.5-4,40.5-4s13.5-9.2,39.3-5.9c25.6,3.1,24.9,4.5,31.3,4.5 s7.6-2.1,19.9,0.7c6.9,1.7,9.2,2.4,10.9,2.8c2.4,0.7,2.8,0.7,12.8,4.7c20.1,7.8,22.5,9,22.5,9s52.9-10.4,71.8-13.5 c18.5-3.1,24.9-2.4,28.9-2.4l0,0c0,0.5,0,1.2,0,2.4c0,3.1,0,8.8-0.5,14.5c-0.5,8.1,0,15.6,0,15.6H-9.7V88.9z"/>
      <path fill="#7F982D" d="M-9.7,104.8c0,0,14.7-2.4,28.9-15.6c14-13.3,40.1-10.4,43.6-0.5c4,6.4,12.3,15.6,26.1,16.1 c14.5,0.7,34.1-7.3,40.1-8.8c4.7-1.2,6.4-2.1,10-2.8c4-0.7,10.7-1.4,27.5,2.1c32,6.4,39.6,4.5,56.4-4 c16.8-8.3,31.3-14.7,51.7,1.2c20.4,16.1,22.8,10,27.3,12.3l0,0v0.5c0,0.7,0,2.1,0,3.6c0.5,4.7,0,12.3,0,12.3H-10.2v-16.4H-9.7 L-9.7,104.8z"/>
      <path fill="#FBFBFC" d="M133.7,19.2c0,0,0.5-10.4,12.8-10.9c12.3-0.5,14,14,12.8,15.6c-1.2,2.1,5.2-6.9,10,2.1 c4.7,8.8-8.8,8.8-3.1,8.8c5.7-0.5-39.3,0-39.3,0s-7.3-1.7-6.9-8.8C120.4,19.2,127.8,15.2,133.7,19.2z"/>
      <path fill="#F8FCFE" d="M50.8,19.9c0,0,0.5-7.3,9.2-7.6c8.8-0.5,9.5,9.5,9.2,10.9c-0.7,1.7,3.6-4.7,7.3,1.7 c3.1,5.9-5.9,6.4-2.4,5.9c4,0-27.7,0-27.7,0s-5.2-1.2-4.7-5.9C42,19.9,46.7,17.3,50.8,19.9z"/>
      </g>
      </g>
      <g>
      <defs>
      <rect x="0" width="121" y="0.1" height="121" id="0325_45_3_"/>
      </defs>
      <clipPath class="wonAd" id="0325_45_4_">
      <use xlink:href="#0325_45_3_" overflow="visible"/>
      </clipPath>
      <g class="layoutImgWrap" enable-background="new " clip-path="url(#0325_45_4_)">

      <image x="-30.25" y="0.10000000149011612" width="181.5" filter="url(#SVG_FILTER_ID_599952)" class="sorb_1" height="121" xlink:href="http://testeykimage.oss-cn-beijing.aliyuncs.com/materials/745?Expires=1445848840&OSSAccessKeyId=5jnc5LMLExLYmSdF&Signature=p5xaruWm6LJYBA2Pw53RKWUReAs%3D" overflow="visible">
      </image>
      </g>
      </g>
      </g>
      </svg>
      </svg>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zhoujie_0101 周杰
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 504h
                504h
                Remaining:
                Remaining Estimate - 504h
                504h
                Logged:
                Time Spent - Not Specified
                Not Specified