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
0 answers

Put Gif Image Into Some Frame (Box)

I am generating gif animation from existing images using magic.net Magick.NET library. It's working well. Now, what I am trying to achieve is to put the generated gif into some box, frame like in the picture below. So the gif to be animated inside…
levi
  • 3,451
  • 6
  • 50
  • 86
1
vote
1 answer

Is it possible to convert a Windows bitmap with an Alpha channel to a MagickImage?

Using Magick.Net, Is it possible to convert (in memory) a Windows bitmap with an Alpha channel to a MagickImage? When I try the following, it fails with .net formats Format32bppPARgb and Format32bppARgb, but works fine with Format24bppRgb. The error…
xpda
  • 15,585
  • 8
  • 51
  • 82
1
vote
1 answer

ImageMagick with Homebrew

I am installing ImageMagick with Homebrew by doing brew install imagemagick --with-x11. Many of the commands like convert, display, montage work fine but animate does not work. $ animate -bash: /opt/ImageMagick/bin/animate: No such file or…
ROBOTPWNS
  • 4,299
  • 6
  • 23
  • 36
1
vote
1 answer

Using ImageMagick.NET to compare images

I need to do a "fuzzy" image comparison in c# - I have used ImageMagick.NET for stuff in the past and know it's good for the job. There is a compare command in Image Magick: http://www.imagemagick.org/script/compare.php And there is a Compare(Image…
user156888
0
votes
0 answers

ImageMagick read pdf ignores Width

I'm trying to read a pdf with ImageMagick, by using the following code: using (var images = new MagickImageCollection()) { var settings = new MagickReadSettings { ColorSpace = ColorSpace.RGB, Format = MagickFormat.Pdf, …
ʞᴉɯ
  • 5,376
  • 7
  • 52
  • 89
0
votes
1 answer

ImageMagick.NET library multipage TIFF to PDF

I'm having an issue where rather small tiff files (< 300 KB) gets blown up to like 74 MB when converted into a PDF. using (var img_collection = new MagickImageCollection()) { using (var tif_collection = new…
Aidal
  • 799
  • 4
  • 8
  • 33
0
votes
1 answer

ImageMagick C# Exception : no pixels defined in cache

I'm trying to create a new image with a specific ColorType (it does the same thing with ColorSpace) and I have this error: no pixels defined in cache. I'm not trying to load/read an existing image. I'm not trying to save the image. I'm just trying…
wRadion
  • 97
  • 9
0
votes
1 answer

How can I add the x265 codec to ImageMagick in C#

I would like to add the x265 codec to ImageMagick in a Visual Studio C# project targeting .Net 4.7.2 in order to access HEIC format files. I obtained the file x265.dll from the ShiftMediaProject file libx265_3.4_msvc16.zip from the but I cannot add…
Arthur Rees
  • 127
  • 7
0
votes
1 answer

Magick.NET set PSD Blendmode

I'm trying to create a psd file with Magick.NET. I could not find any information about wether it's possible to set the Blendmode for a specific layer to Multiply. Can anyone help me? This is my code: MagickImageCollection c = new…
Simon S.
  • 111
  • 3
0
votes
1 answer

ImageMagick .net c# mp4/webm video getting N frame without artifacts?

Trying to make some manipulation with frames using ImageMagick lib on .net (resizing + composing with other image), but faced with incorrect "re-assembling" video, output video coming with some artifacts. So, as a sample of mp4 short file we have…
Nigrimmist
  • 10,289
  • 4
  • 52
  • 53
0
votes
2 answers

ImageMagick convert from pdf to image shrinks image and places it in bottom left corner

I am using this command to convert pages from a pdf to jpeg images: magick convert -density 300 sample.pdf output.jpeg I see a white background and the content of the PDF appears as a smaller image stuck to the bottom left corner of the white…
0
votes
0 answers

Combining 3 imagemagick cli parameters into one ImageMagick.NET code

Hey all I have these 3 imageMagick scripts (command line arguments) that I am trying to combine into Imagemagick.NET code. First (merging 2 images together): convert ^ ( testingl.jpg -resize 610x440^^ -gravity West -extent 1080x440 ) ^ (…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
0
votes
1 answer

Image Magick blend 2 cropped/resize images together in the middle

Hey all I have this code below that takes 2 images and merges them together with it fading in the center: convert testingl.jpg -gravity West ^ testingr.jpg -gravity East ^ blend_mask.png -extent 1080x440 -gravity center -composite…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
0
votes
1 answer

How to calculate (relative) complexity of images programmatically?

I have searched the internet thoroughly but not much related questions. Even on stackoverflow there is none So what I want to achieve is rather hard thing to do I want to calculate complexity of images Let me show you several examples from the game…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
0
votes
0 answers

Trimming Image Borders using ImageMagick.Net Produces thin border in Trimmed Image

I'm trimming the extra green borders space around the following image But after trimming i get small white borders around the image using Image Magick.net var mfactory = new MagickFactory(); Bitmap bit; using (var image =…
techno
  • 6,100
  • 16
  • 86
  • 192