
Hi. Maybe it isn't bug or it is allready solved but I have problem when exporting svg into png. When I export my logo or any artwork with blur effect it cut it. For example i made circle with blured border (or stroke) and I export it to png but after export i see cuted blur to non blured stroke. I need to make four aditional shapes arrange them so my circle is in the center, export them and then cut my circle in gimp. I would like to see in next release a support for exporting blured shapes without cuting them.

Thu, 12 Jul 2007 22:04:43 +0200 Tomasz Kobiela <kobi.tk@...400...> kirjoitti:
Maybe it isn't bug or it is allready solved but I have problem when exporting svg into png. When I export my logo or any artwork with blur effect it cut it. For example i made circle with blured border (or stroke) and I export it to png but after export i see cuted blur to non blured stroke.
Well, it's more of a missing feature.
There is already a request for this feature in tracker. Here's some points about this: * theoretically, a blurred object is infinitely large * practically, the color values soon become so small, that they get rounded to zero * colour - or at least opacity - of the object affects when blur stops contributing to the result colour * so does object shape, too * there already exists a means to calculate the maximum area affected by a filter (it has some bugs, though) * this area is likely too big for a visual bounding box
It could be done, but it could also be hard to make it work well.
I need to make four aditional shapes arrange them so my circle is in the center, export them and then cut my circle in gimp. I would like to see in next release a support for exporting blured shapes without cuting them.
Well, there's easier way, too. Actually, a couple of them.
First is to make a transparent box the size of preferred export area. Being transparent, it won't affect the output but it still will be taken into account when determining the size of the drawing.
Other is to make the page the size of preferred export area. Then you can select the page as export area. If only thing you want to export from that document is the logo, this is likely the best method.
These both methods let you pick the export area freely and do not require cutting the image to correct size later on.

On Fri, 13 Jul 2007 00:06:43 +0300, Niko Kiirala <niko@...1267...> wrote:
- there already exists a means to calculate the maximum area affected
by a filter (it has some bugs, though)
SVG has a well-defined notion of a "filter effects region", doesn't it?
It seems like sizing the export region for selection according to the union of the normal rendering bboxes and the corresponding filter effects regions is all one could reasonably ask for.
Other is to make the page the size of preferred export area. Then you can select the page as export area. If only thing you want to export from that document is the logo, this is likely the best method.
This is often the best solution.
-mental

Thu, 12 Jul 2007 17:39:34 -0700 MenTaLguY <mental@...3...> kirjoitti:
SVG has a well-defined notion of a "filter effects region", doesn't it?
It seems like sizing the export region for selection according to the union of the normal rendering bboxes and the corresponding filter effects regions is all one could reasonably ask for.
Yes, filter effects region is well defined and by definition big enough to hold all pixels the filter will affect.
This sounds like a viable method. The only shortcoming I see is that this will result in some images getting enlargened for no apparent reason. For example, using blending modes instead of blur, the filter effects area still is the default of bounding box + 10%, even though blending doesn't enlarge anything.
participants (3)
-
MenTaLguY
-
Niko Kiirala
-
Tomasz Kobiela