Questions tagged [imagemagick.net]

Imagemagick.net is a .NET wrapper for image manipulation software ImageMagick.

Imagemagick.net is a .NET wrapper for image manipulation software . This project is a continuation of the work which can be found at this page.

Resources

Project site

71 questions
1
vote
1 answer

How to prevent ImageMagick.NET from changing color space on write

Attempting to open an image, set its resolution, and save it, and I'm running into an issue where the ColorSpace is being modified without any input on my end. The input image is a blank sRGB/8 image, checking img.ColorSpace after creation shows…
Harrison Paine
  • 611
  • 5
  • 14
1
vote
0 answers

Wrong whitebalace/colorgrade for arw files in ImageMagick - updated -

I want to convert SONY raw files (.ARW) to jpg with imagemagick. But there is a problem with the whitebalance (probably). When I open the files in ACDSee or XNView, they look like the jpg-version off the camera, but when I open them in imagemagick…
user783388
1
vote
0 answers

Imagemagic: How to add backgroud image to another image using C#

I want to resize the image to custom width and height(eg: 225 X 225). And filled the remaining area with green background to get the exact custom image size. Using .net imagemagic library. Fist image: Resultant Image:
1
vote
1 answer

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. how to achieve that? So I have a lot of PNG files…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
1
vote
0 answers

Imagemagick ignoring textlength style applied to text element in SVG while converting to PNG

I am facing a problem with font style being not applied as defined in SVG. Note that I am using inkscape to create SVG file. I am using imagemagick however that doesn't play nicely or it does not respect this particular style applied to the SVG…
Krunal
  • 2,967
  • 8
  • 45
  • 101
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
0 answers

How to create new Hald Clut from an Image?

Using the ImageMagick library, I am able to apply various hald cluts to images, but am looking for a way to use the library to create a new hald clut from an image. I want to do this in C#, but open to any suggestions. I played with the ImageMagick…
asunrey
  • 875
  • 2
  • 10
  • 28
1
vote
2 answers

Applying color to a PDF Conversion in ImageMagick.NET

In continuation from a previous SO post here I've gone from being able to remove the transparency from a PDF conversion, to not being able to adjust the background color of the conversion. I've tried everything that I can find on the…
addohm
  • 2,248
  • 3
  • 14
  • 40
1
vote
0 answers

Creating a Gif in ImageMagick with images of different sizes

I'm trying to make a gif out of a list of images and the images have all different sizes. Is there a way to make the gif the size of the smallest image? Does it have any method like that? I tried with Optimize and Coalesce but they don't do what I…
Mocktheduck
  • 1,333
  • 1
  • 22
  • 43
1
vote
1 answer

Magick.NET-Q8 7.2 breaks and I can not catch the error

I am using Magick.NET-Q8 AnyCPU 7.2, Visual Studio 2017, Windows 10 This is my code: using (MagickImage image = new MagickImage(imagedata)) { image.Quality = 60; image.Format = MagickFormat.Jpg; image.Composite(new…
Saeed Mousavi
  • 289
  • 1
  • 2
  • 13
1
vote
1 answer

Magick.net converting PDF to image "unable to create temporary file '': No such file or directory @ error/pdf.c/ReadPDFImage/476"

I'm trying to use Magick.net in a console application to render images from a PDFs and can't seem to get around this problem. Upon calling "MagickImageCollection.Read(byte[], settings)" I always get a "unable to create temporary file '': No such…
1
vote
1 answer

ImageMagick C# How to Add JPEG EXIF TAGS

Using ImageMagick 8 for .Net in VS2013, Framework 4.6 I am trying to add exif tags to jpeg images, My Code : var exif = new ExifProfile(); exif.SetValue(ExifTag.Artist, "SM"); exif.SetValue(ExifTag.OwnerName,…
Saeed Mousavi
  • 289
  • 1
  • 2
  • 13
1
vote
1 answer

Magick.NET Control Chroma Subsampling and Quantization Table For JPEG

I am using Magick.NET For Image Manipulation in C#. Is it possible to Control Chroma Subsampling and/or specify alternate Quantization Tables While saving as JPEG using Magick.NET.
vinu
  • 125
  • 4
1
vote
1 answer

How do I Use the `montage` functionality from within Magick.net

I am new to Magick.net but I am trying to make a file generator. I have had it work fine from within the Linux command line (without the size I prefer though), but I need to make a .net app for use by others that don't have access to Linux, or the…
Jon Weinraub
  • 397
  • 1
  • 8
  • 18
1
vote
1 answer

Memory consumption in Magick.NET

I have the following lines of code in a function. which reads the image from Amazon S3. Image size which i am reading is of 1.37 MB where as when i ran the profiler it says read function in image magick library takes 5.6 mb which is very high. Can…
Naresh
  • 5,073
  • 12
  • 67
  • 124