Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
- Posts: 14
- Joined: 2017-12-08T02:45:45-07:00
- Authentication code: 1152
Hi, I have an IM command and I need it to be translated to Magick.net and replace the background to transparent.
Here is the command:
convert.exe test.psd -alpha transparent -clip -alpha opaque -background white -flatten -resize 1000x1000 result.psd
I've tried this code below but it doesn't seem to work.
Code: Select all
using (var imagePath = new MagickImage(fileNamePath))
imagePath.Clip("Path 1", true);
- Posts: 1447
- Joined: 2013-05-04T15:28:54-07:00
- Authentication code: 6789
Can you also share your input image so I can see what you are trying to do?