Hi I don't know if this is the right mailing list, but here it goes.
I would like to use batik through Cocoon to manipulate images, for example, to bevel the corners of an image or cut the corners of the image. For cutting corners of an image, it works well. However, when I want to bevel the corners of an image, I get severe jaggies. Now, I understand that Batik/SVG may not be made for this sort of thing, but I was hoping there was some mechanism for doing this that won't eat up all my processing power.
Here is a generated version of the code. <?xml version="1.0" encoding="UTF-8"?> <svg:svg xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="235" height="160" viewbox="0 0 235 160"> <svg:clipPath id="myClip"> <svg:path d="M 20 0,h195c 20 1, 20 1 20 20l 0 120,c 1 20, 1 20, -20 20,l -195 0,c -20 1, -20 1 -20 -20,l 0 -120c 1 -20, 1 -20, 20 -20,z"/> </svg:clipPath> <svg:g style="stroke:none;clip-path:url(#myClip)"> <svg:image y="0" x="0" width="235" height="160" xlink:href="file:///data/content/tsg/cmsblocks/holidayImg/images/Malaysia/penang_sunset.jpg"/> </svg:g> </svg:svg> Thanks. -- Kamal Bhatt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
