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
23
votes
1 answer

Extending ImageMagickNet

I’m trying to add a custom function to class ImageMagickNet. It should use the IsSimilarImage magick method from the ImageMagick.NET project but I’m confused as to whether I have to route this method through the Magick++, as any functionality…
Becky Green
  • 625
  • 5
  • 21
13
votes
4 answers

Converting .HEIC to JPEG using imagick in C#

I'm having trouble in converting heic file to jpeg I have already tried searching it online, i can find how to write to a folder but not how to get a byte[] of a converted file so that i can save it byte[] file = null; file =…
Comrade404
  • 143
  • 1
  • 1
  • 5
10
votes
1 answer

ImageMagick sampling factor

I have been using ImageMagick command line tool for jpeg compression of the images. However, I'm trying to understand the role of sampling factor. It says the sampling factor is used to specify the block size i.e. 8x8 or 16x16. However, I can't find…
pree
  • 2,297
  • 6
  • 37
  • 55
10
votes
1 answer

Resize with crop using ImageMagick.NET and C#

I have a big image that I want to resize to 230×320 (exactly). I want the system to resize it without losing aspect ratio. i.e. if the image is 460×650, it should first resize to 230×325 and then crop the extra 5 pixels of height. I am doing the…
Tony
  • 10,088
  • 20
  • 85
  • 139
7
votes
3 answers

Unable to find an entry point named 'Environment_SetEnv' in DLL 'Magick.NET-Q8-x64.Native.dll'

Upgraded to latest ImageMagick / Magick.NET (7.0.2.901), and it built and ran fine locally, but explodes on the server with this error. Unable to find an entry point named 'Environment_SetEnv' in DLL 'Magick.NET-Q8-x64.Native.dll'. Seems to be a…
Chris Moschini
  • 36,764
  • 19
  • 160
  • 190
5
votes
2 answers

Convert JPG to PNG with background transparency using ImageMagick.Net

I need to convert a JPG image to PNG and change its white background to transparent instead. I am using ImageMagick.NET and I have found the following ImageMagick command that is supposed to do what I am trying to achieve: convert image.jpg -fuzz…
cara_
  • 63
  • 1
  • 4
4
votes
1 answer

ImageMagick with Visual Studio

I'm trying to write a sample ImageMagick program in Visual Studio 2010. I have binary distribution of ImageMagick already installed on my system as I can use command line interface of ImageMagick. However, when I try to include "Magick++.h" in my…
pree
  • 2,297
  • 6
  • 37
  • 55
3
votes
1 answer

How do I use Magick.NET to convert an animated webp image to an animated gif?

GDI+ and System.Drawing have no support for WebP images. To handle them in my C# Windows desktop app, I'm using Magick.NET to convert them to Gif images, which are supported. This works well, unless the WebP image is animated. The code I'm using to…
d ei
  • 493
  • 4
  • 16
3
votes
2 answers

MagickImage create soft edge that goes into 100% transparent

My goal is to create a soft border on any picture where the edges go into 100% transparent color (You should not be able to see the edge of the image) Here's the original image: I found this…
Bjørn
  • 1,138
  • 2
  • 16
  • 47
3
votes
1 answer

Removing Transparency using Imagemagick.NET

A part of a software package I've written takes in a binary encoded PDF, converts it to a Bitmap, and saves it to a blob in a db. I'm discovering that although it's not immediately visible in the original in it's PDF form, there is transparency in…
addohm
  • 2,248
  • 3
  • 14
  • 40
2
votes
3 answers

Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies. The specified module could not be found

I've seen the ticket “Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies” by Harsh Gupta and I'm having the same problem but without those solutions working for me. I have an web application including ImageMagick that is…
Owen Blacker
  • 4,117
  • 2
  • 33
  • 70
2
votes
1 answer

Magick.net no OpenMP?

I started using Magick.net an it only performs tasks using one Thread. Do I have to do something make it perform filter operations using multiple Threads? Or is OpenMP not part of Magick.net? Using ImageMagick from command line uses OpenMP and all…
FrostKiwi
  • 741
  • 1
  • 6
  • 16
2
votes
1 answer

ImageMagick, insert an image at a specific position / size into a larger image?

I'm firstly drawing a wide transparent image with columns, which works fine. convert -size 5568x1920 xc:none iphone6plus.png convert iphone6plus.png -strokewidth 0 -fill lightgray -draw "rectangle 1080,0 1121,1920 " iphone6plus.png convert…
Jules
  • 7,568
  • 14
  • 102
  • 186
2
votes
1 answer

How do I properly use ImageMagick.NET in ASPNET Core running on Linux Ubuntu 16.04?

I am attempting to create an ASPNET Core application where I want to show thumbnail images. I have elected to use the ImageMagick.NET framework as it has a nuget package for dotnet core. When developing on a Windows computer using Visual Studio…
barrypicker
  • 9,740
  • 11
  • 65
  • 79
2
votes
2 answers

ASP.net Unable to load DLL 'Magick.NET-Q16-x64.Native.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I am using image Magick to create images from Stream. I am getting the error mentioned in title on following lines. var image = new MagickImage(); It is an issue with ImageMagick or something else. Dont know how to solve this!!
Kamran
  • 4,010
  • 14
  • 60
  • 112
1
2 3 4 5