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
2
votes
2 answers

Error with ImageMagick and Ghostscript converting from PDF

We are using Magick.Net version 7.0 with Ghostscript 9.16. We are reading in a PDF and converting this to a tif or a jpg image. Everything is working fine when we run these through one at a time and our PDF gets converted. This is an application…
Mike Holdorf
  • 21
  • 1
  • 2
2
votes
1 answer

System.UnauthorizedAccessException: Access is denied. ImageMagick (Magick.NET)

I am using Magick.NET-AnyCPU and it works great locally. When I deploy to my server it doesn't work and I get an exception logged saying: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005…
CWitty
  • 4,488
  • 3
  • 23
  • 40
2
votes
0 answers

How to process each pixel of the image use Magick.NET maximally quickly?

I use the lib Magick.NET for access to the image file. I need to process each pixel on image: MagickImage img = new MagickImage(@"d:\TEST\110706M01000509.jpg"); PixelCollection pc = img.GetReadOnlyPixels(0, 0, img.Width, img.Height); for (int x =…
Ivan
  • 81
  • 1
  • 3
2
votes
1 answer

Magick.net Compare

I'm using Magick.NET (Q16-x64 v7.0.0.0011) to compare images. When I use the command line version of ImageMagick and do a compare without any special options, it gives an image with the identical portions shown as a lightened background and the…
Craig
  • 48
  • 2
  • 6
2
votes
1 answer

How to Create image tiles with Magick.NET or GraphicsMagick.NET

I am using ImageMagick on the CLI like this: gm convert input.png -crop 512x512 +repage +adjoin "tiles/tile%02d.png" to create a tiled version of my input image. But i want to do it with GraphicsMagick.NET or Magick.NET instead of using the command…
parceval
  • 370
  • 4
  • 9
1
vote
0 answers

Magick.Net using Frame() to resize image to fit and fill causes gray overlay

I'm using Magick.Net to create pdf portrait thumbnails. All thumbnails should keep same thumbnail size regardless of pdf size. Consequently, I'm first resizing the portrait image to fit the required area and then applying the Frame(width,height)…
Matias Masso
  • 1,670
  • 3
  • 18
  • 28
1
vote
2 answers

Add text label with semi transparent background to an image using Magick.NET

I have some C# code that adds a simple text overlay with a border and semi-transparent background to an image. It works great, but I'm trying to get an equivalent result using Magick.NET. (The straight C# code drops the XMP tags from the original…
user120675
  • 313
  • 2
  • 7
1
vote
0 answers

How to apply hald-clut to a image in c#

I need to apply a hald-clut to an image in c# with magick.net. I've found how it is done with command-line ImageMagick, but cannot find it in Magick.net. Hasn't this command been implemented? If not, is there another option to do this in c#? So, my…
1
vote
2 answers

ImageMagick (Magick.NET) 's Pdf to Jpg/Tiff operation gives me wrong color for CMYK to CMYK

Issue When converting to Jpg/Tiff (CMYK), output images has different CMYK values for same areas from the input: (100)C become (76)C, (7)M, (14)Y (100)M become (87)M, (5)Y (100)Y become (85)Y (100)K become (72)C, (67)M, (67)Y, (88)K Pure white…
Amaral RAM
  • 33
  • 6
1
vote
1 answer

How to compose two images using Magick.net

Im currently trying to compose two blob images from my Azure Storage using Magick.net Its almost working. But I think I just need some little fine tuning which I dont know how to do it. Image1 = Main (Background) Image2 = Overlay Routine: Image2 is…
wambo
  • 67
  • 1
  • 10
1
vote
0 answers

Reduce gif image size imagemagic c#

I have tried to compress image gif or reduce size but having no success. This is my code: string lista= "MY GIF PATH"; MagickImageCollection collection = new MagickImageCollection(); ImageOptimizer optimizer = new…
greg
  • 11
  • 2
1
vote
0 answers

Convert Magick Command to Magick.Net Code

I want to convert command below to Magick.Net Code. convert sunset_lake.png \ \( -background none -pointsize 24 -fill white label:"TESTING" -rotate 20 -write mpr:tile +delete \) \ \( +clone -tile mpr:tile -draw "color 0,0 reset" \) \ -compose over…
Tony
  • 31
  • 3
1
vote
1 answer

How to use Magick.net to convert HttpPostedFile .heic to .jpg

I have a .NET c# web application that allows users to upload images. I installed the Magick.NET NuGet package. I'm attempting to convert uploaded .heic files to .jpg but I'm not sure where to start. Here's the upload without Magick.net. string…
user3321095
  • 185
  • 1
  • 10
1
vote
0 answers

C# Magick.Net conversion from pdf to tiff is low quality depth 1, how to set depth to 2

I'm converting pdf's to tiff, however the quality of the produced tiff is very bad. How can I control the quality outcome? I compared the output quality of the same file through another process and it was better... the difference between the the two…
1
vote
1 answer

Magick.net crashes but doesn't throw any errors in Windows

I have a C# program where I'm using Magick.Net Q8 X64 7.10.1 I am building the program in VS2013 in Windows 7 on a VMware machine. Runs fine. I'm able to loop through hundreds of images. But when I run the program on a full Windows 7 machine I get…
Matt Winer
  • 495
  • 9
  • 26
1 2
3
8 9