Questions tagged [magick.net]

Magick.NET is a .NET wrapper for image manipulation software ImageMagick.

Magick.NET is a .NET wrapper for image manipulation software . Using Magick.NET allows coders to use ImageMagick without having to install ImageMagick.

separate installation is required to convert EPS/PDF/PS files.

Resources

Project site

126 questions
0
votes
1 answer

Magick.Net Image FileSize is always Zero

I am working on requirement where during upload image from user on ASP.net form, I need to check if user provided image is greater than 500kb then I don't need to reduce the size of the image if it is above the size then reduce the size of the image…
0
votes
1 answer

Strech image to fill the transparent background using Magick.NET

I have an image (attached). I want the image to be stretched out to cover the yellow area. I am using c#, magick.net What will be the best approach?
MARKAND Bhatt
  • 2,428
  • 10
  • 47
  • 80
0
votes
1 answer

Cannot replace color with Magick.Net

I'm trying to replace white color with green, but code below doesn't change color. Code: private static MagickImage ChangeWhiteColor(MagickImage Image, Color TargetColor) { Image.Opaque(MagickColor.FromRgb((byte)255, (byte)255, (byte)255), …
pnzrfst1
  • 189
  • 2
  • 9
0
votes
1 answer

Magick.NET to read raw and write lossless JPEG

I am stumped. How do I read a grayscale 8bit raw image and convert to lossless JPEG? This the code I have to read the raw image, but it is failing with a runtime exception of ImageMagick.MagickMissingDelegateErrorException MagickReadSettings…
rukiman
  • 597
  • 10
  • 32
0
votes
1 answer

Counting and identifying colours in a vector image using ImageMagick

Customers upload image files, typically logos, to a web site, and I would like to be able to identify which colours the images contain. I have kindof given up on bitmap images, since the anti aliasing introduces so many variations of each colour,…
Culme
  • 1,065
  • 13
  • 21
0
votes
1 answer

Exception creating and saving an image multiple times with ImageMagick.net

Perhaps I am wording that question poorly, but I am trying to follow the ImageMagick.net library documentation and I have a program that generates text based on user input. It works great the first time, but program crashes subsequent times,…
Jon Weinraub
  • 397
  • 1
  • 8
  • 18
0
votes
1 answer

ImageMagick changing replacing a color on palette using C#

I have a bitmap image generated by a third party software that only allows use of the basic 16 colours. I need to change the pure yellow RGB(255, 255, 0) to a slightly darker shade, so when printed we can see there is data there RGB(255, 192, 0). I…
Rafael Ventura
  • 284
  • 3
  • 13
0
votes
2 answers

Magick.NET C# - huge memory usage

I'm struggling with Magick.NET library, as when converting image files to pdf's my memory usage is over 4GB and the CPU usage is 100%. When the conversion is done it all backs to normal. but as I'm using this particular third party in many instances…
marczulajtis
  • 127
  • 2
  • 15
0
votes
1 answer

AutoLevel(Channels.RGB) seems to have no effect

I'm trying to autolevel an image. My code looks like this: MagickImage image = new MagickImage(stream); image.AutoLevel(Channels.RGB); Later in the code I'm sending the image to a web response. For some reason, this code has no effect on the…
Juvaly
  • 252
  • 1
  • 17
0
votes
1 answer

How to disable HDRI in Magick.Net version 7

As you may know in the version 7 of ImageMagick, HDRi is enabled by default. How can I disable this functionality when I am using Magick.Net in C#. Please do not answer the command line solution I need to do it in C#.
Meysam
  • 555
  • 1
  • 3
  • 16
0
votes
1 answer

How to convert TIF to Black-and-White Monochrome TIF

I would like to use Magick.NET https://magick.codeplex.com/wikipage?title=Convert%20image&referringTitle=Documentation in order to convert TIF to Black-and-White Monochrome TIF but manual does not explain it well. I have tried this code but I am…
NoWar
  • 36,338
  • 80
  • 323
  • 498
0
votes
1 answer

Magick.NET-Q16-AnyCPU and iis server

i have this issue: 1) I've downloaded Magick.NET-Q16-AnyCPU throught NUGET in VS2010. 2) I've created this function for read remote svg and convert it into itextSharp.text.Image object as below: iTextSharp.text.Image headeImage = null; using…
Mike Vinyl
  • 97
  • 1
  • 9
0
votes
2 answers

MagickImage - Converting PSD to PNG - Cannot render the Layer Style in Generated PNG

I hope you all are Fine, Today I'm experiencing a quite confusing problem. I'm trying to make a simple application which can convert the PSD to Transparent PNG. But I'm not happy with the results I'm getting. I'm using Magick.NET-Q16-x86.DLL…
Maher Shahmeer
  • 148
  • 1
  • 10
0
votes
1 answer

Magick.Net resize image

I have some code to convert an image, which is working now, but the width of the image that is generated is really small. I would like to force it to use a width of 600px. My code looks like this: public async Task ConvertImage(byte[]…
r3plica
  • 13,017
  • 23
  • 128
  • 290
0
votes
1 answer

GIF image loses its animation in Magick.net

I am reading a GIF image and creating the ImageMagick object in C#. Then I write the same image to the output. In the output I get a static image without animation. MagickImage image = new MagickImage(ImagePath); …
Naresh
  • 5,073
  • 12
  • 67
  • 124
1 2 3
8 9