Quantcast
Channel: magick Discussions Rss Feed
Browsing all 3693 articles
Browse latest View live
↧

New Post: svg to png - transparent background

I have an svg. I want to create a png with c#. It works fine but the only problem is transparency. The created png has always a white background. If I open the original svg on a browser or in inkescape...

View Article


New Post: svg to png - transparent background

The internal support for SVG is not that great in ImageMagick. You can however force Magick.NET to use Inkscape instead. You can use the delegates.xml file for this. I don't have time to post an...

View Article


New Post: svg to png - transparent background

Thanks for the reply. I use the above code on an asp.net page, on the web server, I don't have Inkescape installed. Is there any way to "translate" the following switch commands of imagemagick to...

View Article

New Post: svg to png - transparent background

-background is the BackgroundColor property of MagickImage. This might work: MGKimage.BackgroundColor = MagickColor.Transparent; MGKimage.Read(svgAsStream, mrs);If this doesn't work I might have to add...

View Article

New Post: svg to png - transparent background

Alredy tryed this with no luck(as i write above): MGKimage.BackgroundColor = new MagickColor(System.Drawing.Color.Transparent); I think is the same as you suggest(or not?). With "Can you post a link to...

View Article


New Post: svg to png - transparent background

You should try setting the BackgroundColor before reading the image. And yes I mean your svg.

View Article

New Post: svg to png - transparent background

I'll do the test as soon as possible, if it fails, i'll post the svg, thanks.

View Article

New Post: Generate an image based on character and font

You should use the drawable classes to draw text on an image:using (MagickImage image = new MagickImage(Color.Black, 100, 100)) { DrawableFont font = new DrawableFont("PMingLiu"); DrawablePointSize...

View Article


New Post: svg to png - transparent background

It works! Thanks a lot dlemstra! :)

View Article


New Post: Is there any way to update all pixels at once using a byte array?

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

View Article

New Post: Generate an image based on character and font

Thank you so much dlemstra! The picture could be generated with the property you listed. Is it also possible to import a system ttc font to DrawableFont apart from new DrawableFont("PMingLiu"); ?

View Article

New Post: Generate an image based on character and font

You can specify another font like this: new DrawableFont("Arial"). Or are you using a font that you did not register in windows?

View Article

New Post: Generate an image based on character and font

The font "Batang" is already installed under Fonts in control panel, but somehow still get "Magick: unable to read font `Batang' @ warning/annotate.c/RenderType/871".

View Article


New Post: Generate an image based on character and font

You can see that fonts that are available using the command line version of ImageMagick. Try the following:convert -list font

View Article

New Post: Resize image to a different aspect ratio

I'm trying to resize an image but it is always respecting the ratio. Is there any way to resize an image to a different ratio? Image current size: 800 x 600 Target size: 1024 x 600...

View Article


New Post: Resize image to a different aspect ratio

You can use the following: MagickGeometry geometry = new MagickGeometry(1024, 600); geometry.Aspect = true; // Yes this looks confusing, I should rename this. magickImage.Resize(geometry);...

View Article

New Post: Resize image to a different aspect ratio

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

View Article


New Post: IPTC

Hello, I'm in need to write IPTC info to a given image. So far I can read the IPTC of the image. Can anyone give a hint? Thanks in advance.

View Article

New Post: IPTC

At this moment you need to have knowledge on how the IPTC profile is stored byte wise. You can set the profile like this:using(MagickImage image = new MagickImage("YourImage.png")) { byte[] data =...

View Article

New Post: IPTC

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

View Article
Browsing all 3693 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>