You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2010/11/18 11:49:39 UTC
DO NOT REPLY [Bug 50291] New: JPG does not render radialGradient
style
https://issues.apache.org/bugzilla/show_bug.cgi?id=50291
Summary: JPG does not render radialGradient style
Product: Batik
Version: 1.7
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: SVG Rasterizer
AssignedTo: batik-dev@xmlgraphics.apache.org
ReportedBy: da.turner@logica.com
Test File below fine in .svg format but .jpeg is missing radial gradient fill.
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
contentScriptType="text/ecmascript" width="300"
zoomAndPan="magnify" contentStyleType="text/css" height="300"
preserveAspectRatio="xMidYMid meet" version="1.0">
<radialGradient xmlns:xlink="http://www.w3.org/1999/xlink"
gradientUnits="objectBoundingBox" xlink:type="simple"
xlink:actuate="onLoad" id="spherizeBlue" xlink:show="other"
fx="30%" fy="30%">
<stop style="stop-color:#FFFFFF" offset="0%" />
<stop style="stop-color:#0000AA" offset="40%" />
<stop style="stop-color:#000077" offset="100%" />
</radialGradient>
<radialGradient xmlns:xlink="http://www.w3.org/1999/xlink"
gradientUnits="objectBoundingBox" xlink:type="simple"
xlink:actuate="onLoad" id="spherizeGreen" xlink:show="other"
fx="30%" fy="30%">
<stop style="stop-color:#FFFFFF" offset="0%" />
<stop style="stop-color:#00CD00" offset="40%" />
<stop style="stop-color:#066E09" offset="100%" />
</radialGradient>
<radialGradient xmlns:xlink="http://www.w3.org/1999/xlink"
gradientUnits="objectBoundingBox" xlink:type="simple"
xlink:actuate="onLoad" id="spherizeRed" xlink:show="other"
fx="30%" fy="30%">
<stop style="stop-color:#FFFFFF" offset="0%" />
<stop style="stop-color:#FF6000" offset="40%" />
<stop style="stop-color:#ED0000" offset="100%" />
</radialGradient>
<circle fill="none" style="fill:url(#spherizeBlue)" r="10"
cx="20" cy="20" stroke="black" stroke-width="1" />
<circle fill="none" style="fill:url(#spherizeRed)" r="10" cx="20"
cy="80" stroke="black" stroke-width="1" />
<circle fill="none" style="fill:url(#spherizeGreen)" r="10"
cx="20" cy="140" stroke="black" stroke-width="1" />
</svg>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org