When I export svg as png (bitmap) I have problems with gradients. Gradients aren´t fluent (continuous), but colors are changed after steps, no continuously. Why? After next saving as jpg are this steps in gradient more marked. In full resolution you can see „lines“ or borders of colors. I try save images with 600 dpi, too.
For example:
http://www.picupine.com/ab06d19x
export bitmap - gradients aren´t fluent
Re: export bitmap - gradients aren´t fluent
Hi Julo!
The effect that you see in your images is called "Color banding".
Ref: http://en.wikipedia.org/wiki/Colour_banding
The effect that you see in your images is called "Color banding".
Ref: http://en.wikipedia.org/wiki/Colour_banding
Re: export bitmap - gradients aren´t fluent
It's a bug in Inkscape, try to go around it by using more objects.
https://bugs.launchpad.net/inkscape/+bug/180693
https://bugs.launchpad.net/inkscape/+bug/180693
just hand over the chocolate and nobody gets hurt
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
- EarlyBlake
- Posts: 302
- Joined: Tue Jun 03, 2008 5:42 pm
Re: export bitmap - gradients aren´t fluent
I ran in to this problem tonight. It seem to be worses when the gradient is between too color that was close together. I got some really strange effects when I blurred it and layed two gradients. Can't post it right now I'm at my other computer.
How do you mean using more objects?
Won't the jpeg alway add some stepping in a gradient, by the way it encodes. It basically breaks an image into a bunch of boxes, don't it?
prkos wrote:It's a bug in Inkscape, try to go around it by using more objects.
https://bugs.launchpad.net/inkscape/+bug/180693
How do you mean using more objects?
julo wrote: After next saving as jpg are this steps in gradient more marked.
Won't the jpeg alway add some stepping in a gradient, by the way it encodes. It basically breaks an image into a bunch of boxes, don't it?
Re: export bitmap - gradients aren´t fluent
Using more objects: for the first posts image - make for example 3 smaller rectangles, equal width as the example image but 3 times smaller in height. Then place them on top of the original image one next to the other vertically, and apply 3 different gradients, dark colors on the top rectangle, lighter in the middle and lightest on the bottom. Don't forget to use the same gradient steps on the seams.
just hand over the chocolate and nobody gets hurt
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download
Re: export bitmap - gradients aren´t fluent
If you would like a work around, you could use Batik Rasterizer to convert the SVG to PNG.
Re: export bitmap - gradients aren´t fluent
Thanks to all. I will try sentence with batik but it seems too hard for me.