Skip to main content

All Questions

Tagged with
0 votes
1 answer
123 views

How can I use the command prompt through a c# app to convert an image?

I am using MagickImage to convert images from my command prompt. However, it does not work when I try to use the same command with a c# process. Any ideas why that may be? Here's my code: `private ...
Costi2m's user avatar
1 vote
1 answer
606 views

Images.png Manipulation to SVG in C#

iam using Imagemagick & potrace in c# to convert png to pnm and then to svg but unfortunately the SVG File comes with out colour! how i can solve the colour problem? should i use another converter?...
Sam's user avatar
  • 31
0 votes
1 answer
297 views

Crop white space around black image based on color

I using Imaemagick and c# and wondering: Is it possible to crop image to border without exactly sizes? From first to second? First image Second
Mis Urb's user avatar
  • 11
0 votes
1 answer
1k views

How to convert animated PNG (APNG) into animated WEBP file?

I have been searching whole internet and yet still not a very good solution I have searched thoroughly the webp of Google and I have failed to find APNG to WEBP https://developers.google.com/speed/...
Furkan Gözükara's user avatar
1 vote
1 answer
2k views

How to convert APNG into WEBP by using Magick.NET (imagemagick) and C#?

I have tried like this but APNG animation is lost Also I am looking for settings to lossless yet maximum compression. I don't care about CPU time speed etc. I need lossless and maximum compression. ...
Furkan Gözükara's user avatar
0 votes
0 answers
273 views

How to generate proper PNG file having same font as in Source (SVG) file using Image Magick?

I have an svg file having image tag (url based source image) along with 2 text tags. Supporting fonts (Impact) are already linked within svg file using import attribute. Svg is previewed properly on ...
Mukesh Jain's user avatar
2 votes
0 answers
636 views

Convert .ai to another kind of vector graphics format(like .eps or .svg) using .NET

I have a folder with many .ai files and i need to get copy of this files but with .eps format. How to convert .ai files to .eps files im my .NET project? I'm trying to use ImageMagick, but output file ...
emp's user avatar
  • 147
1 vote
0 answers
479 views

Not able to read converted pdf using ImageMagik

I am converting a png image to pdf using ImageMagic library(Nuget package Magick.NET-Q16-AnyCPU) It converts okay and saves the pdf to the destination without any error. Below is the code which ...
error_handler's user avatar
0 votes
0 answers
894 views

Jpeg2000 with transparency

I'm trying to use Magick.Net to convert a transparent Png to Jpeg2000 format and keep its transparency. The code is rather simple: using(FileStream source = new FileStream(@"D:\test.png", FileMode....
Romasz's user avatar
  • 29.8k
2 votes
0 answers
1k views

ImageMagick create circle count on top of image

Hey all I have the following Magick.net code: List<string> lFiles = new List<string>(); bool isBlankImage = false; lFiles.Add(@"C:\Users\David\Pictures\1.jpg"); lFiles.Add(@"C:\Users\...
StealthRT's user avatar
  • 10.4k
1 vote
3 answers
30k views

ImageMagick creating blank transparent square(s) according to width

Hey all I am trying to fill in the area with blank circles, but its turning out looking like this: (Sized down in order not to take up so much room here. Original size: 360x1200). Also note that I do ...
StealthRT's user avatar
  • 10.4k
2 votes
1 answer
1k views

ImageMagick .NET Round Image(s) overlap issue

Hey all I have the following C# code: List<string> lFiles = new List<string>(); lFiles.Add(@"C:\Users\David\Pictures\1.jpg"); lFiles.Add(@"C:\Users\David\Pictures\2.jpg"); lFiles.Add(@"C:...
StealthRT's user avatar
  • 10.4k
3 votes
2 answers
674 views

Magick Image creating shadow behind the image

Been trying for awhile now trying to get a shadow using the following code: using (MagickImage image = new MagickImage(@"C:\Users\David\Pictures\YnTf9.png")) { MagickImage _shadow = new ...
StealthRT's user avatar
  • 10.4k
0 votes
2 answers
3k views

ImageMagick Command line to Magick.net C#

Hey all I have the following command line that works great for what I am looking to want to do but unable to translate it over to the C# Magick.net version: convert YnTf9.png ^ ( -clone 0 -blur 0x5 -...
StealthRT's user avatar
  • 10.4k
1 vote
2 answers
2k views

Convert first page to tif using Magick.NET

Following gm convert command converts first page of source.pdf to output.tif convert source.pdf[0] output.tif I wonder how to do it with Magick.NET library? Following code does not work for me. ...
mrd's user avatar
  • 2,161

15 30 50 per page