Search found 9 matches

by amir123
2017-03-09T04:05:55-07:00
Forum: Magick.NET
Topic: dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)
Replies: 4
Views: 17165

Re: dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)

I used IM v6.9.5-3 and Inscape v0.91. I use 1. Magick.NET-Q16-AnyCPU version:7.0.0.0 2. inkscape v0.92.0 Did your convert use Inkscape as the delegate? (Using "-verbose" will tell you.) what's this? magick code: try { ImageMagick.MagickImage image = new ImageMagick.MagickImage(@"c:\1...
by amir123
2017-03-09T03:48:25-07:00
Forum: Magick.NET
Topic: dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)
Replies: 4
Views: 17165

Re: dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)

snibgo wrote: 2017-03-09T02:53:22-07:00 Inkscape gives the same result as IM using Inkscape as a delegate, and similar to your "bad" result. If this is wrong, the fault is in Inkscape.
I convert with magick and inkscape

magick result is bad but inkscape is correct position and it is good
by amir123
2017-03-09T02:34:30-07:00
Forum: Magick.NET
Topic: how to set quality when convert svg to png
Replies: 10
Views: 39603

Re: how to set quality when convert svg to png

Imagemagick is limited to the use of Inkscape, RSVG or MSVG(XML). So if you use Imagemagick such as convert -density 400 image.svg image.jpg It will use whichever svg renderer you have installed. You can see which one using convert -list format For me, I have: SVG SVG rw+ Scalable Vector Graphics (...
by amir123
2017-03-09T02:04:39-07:00
Forum: Magick.NET
Topic: dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)
Replies: 4
Views: 17165

dominant-baseline in SVG text element not working when convert svg to image (png,jpg,...)

Hi Magick Developers Team I create svg file with one text element and set style to dominant-baseline:hanging When I browse svg file in web browser, that's right and all things is good But when I convert svg to image such as png, then text element not at own position! svg code: <svg width="500&q...
by amir123
2017-03-09T01:09:49-07:00
Forum: Magick.NET
Topic: how to set quality when convert svg to png
Replies: 10
Views: 39603

Re: how to set quality when convert svg to png

why are you dithering? seems to me that would make the edges more aliased I remove it from my code but qulity in the edges is bad. have you tried the command given by Magick for supersampling in the command line? I use command line by this code: You want to supersample, from the command-line it loo...
by amir123
2017-03-09T00:11:10-07:00
Forum: Magick.NET
Topic: how to set quality when convert svg to png
Replies: 10
Views: 39603

Re: how to set quality when convert svg to png

png file converted with magick and zoom 600% https://image.ibb.co/c8xzAa/magick.png png file converted with SVG Rendering Library and zoom 600% https://image.ibb.co/dfa83v/svg.jpg I think magick use hard pen and svg library use soft pen! I think text anti alias on magick is sharp but I need smoothed...
by amir123
2017-03-08T23:54:28-07:00
Forum: Magick.NET
Topic: how to set quality when convert svg to png
Replies: 10
Views: 39603

Re: how to set quality when convert svg to png

You want to supersample, from the command-line it looks like this: convert -density 400 image.svg -resize 25% image.jpg I use this code on C# .net but when I set resize, crashed! my code here: try { ImageMagick.MagickImage image = new ImageMagick.MagickImage(@"c:\1.svg"); image.Format = I...
by amir123
2017-03-08T23:45:22-07:00
Forum: Magick.NET
Topic: how to set quality when convert svg to png
Replies: 10
Views: 39603

Re: how to set quality when convert svg to png

snibgo wrote: 2017-03-08T08:29:05-07:00
wrote:... but when I see png, it is very bad quality of text element!
What is wrong with it? The quality looks good to me.
Open two images and zoom in
svg library convert with good anti alias but magick is not good!
magick has indendaton on text!
by amir123
2017-03-08T04:49:23-07:00
Forum: Magick.NET
Topic: how to set quality when convert svg to png
Replies: 10
Views: 39603

how to set quality when convert svg to png

Hi magick developers team I convert svg file to png That's ok to convert but when I see png, it is very bad quality of text element! How to set magick setting to view nice qulaity of png file? my svg code: <svg width="500" height="300" xmlns="http://www.w3.org/2000/svg"...