New Post: MagickImage adds black line at top of image during svg to png/pdf...
I have tried and about to send the sample project. But what i found when its part of my async method it behaves wired. When i applied the mutex on code where i do invoke the magick.net it worked fine....
View ArticleNew Post: MagickImage adds black line at top of image during svg to png/pdf...
The threading issue should be resolved in the latest version of Magick.NET. Are you using the same image with multiple threads? A single MagickImage is not thread safe.
View ArticleNew Post: Monitoring progress for effects
Internally in ImageMagick there is a way to monitor progress of certain methods. I have not yet exposed this method in the C# API. I am now doing a huge rewrite of Magick.NET to use P/Invoke instead of...
View ArticleNew Post: Monitoring progress for effects
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Monitoring progress for effects
Thanks for making the issue. :) If I think of anything relevant to add, I'll post a comment there. Wow - P/Invoke sounds good. So you would end up bypassing the whole VC++ wrapper and just invoke the...
View ArticleNew Post: XWD
Hi all, I'am very newbie in C# and in image manipulation, so bare with me. I've been trying to convert a XWD image, wich is a X Window Dump using ImageMagic.NET. Using the nuget of ImageMagick.Net was...
View ArticleNew Post: Monitoring progress for effects
In the P/Invoke version the Magick++ code will be completely removed. I will create new 'wrapper' that will only contain C. I do need to create some kind of wrapper because the way exceptions are...
View ArticleNew Post: XWD
XWD is not supported by Magick.NET. The Windows version of ImageMagick does not support reading this.
View ArticleNew Post: Compare with Mask
It looks like it is not working correctly. I am in the middle of a huge rewrite of Magick.NET and I will take a look at this when that has been finished.
View ArticleNew Post: Compare with Mask
Thanks again, no rush. I'd still be running each image through a bunch of command line shells if it wasn't for your awesome library!
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
hey guys, i've used imagemagick command line code for an asp.net site which converted a scripted batch set of images, but am currently working with the magick.net wrapper for c#. basically what I am...
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
Can you post your command line commands?
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
the scenario i described in the beginning (command line reference) was for something different than i am attempting at this time.
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
You can use the Extent method of MagickImage for this. Below is a simple example:using (MagickImage portrait = new MagickImage("xc:red", 50, 100)) { portrait.Extent(250, 250, Gravity.Center, new...
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
Thanks a bunch, I will give this a try. At the moment I am testing/debugging the use of DrawRectangle but I will give this a shot and get back to you.
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
So the above example I couldn't get to work as it threw an error on the string "xc:red", but I think what it was suppose to do was create a red 'portrait sized' image with white bars 300px in width on...
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
Your code should be changed to this:privatestaticvoid ForceLetterbox(MagickImage image) { image.Extent(300, 300, Gravity.Center, new MagickColor("White")); }Or maybe I understand incorrectly what you...
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
https://www.dropbox.com/s/sju8n9jkkdrvden/2016-01-07%2013.20.19.jpg?dl=0 This image ultimately, I would like centered and scaled appropriately within a resulting image of 1200 width, 629 height (or...
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
Sorry I misread your question earlier. The extent method extents your image to the specified result. That means that if you want it to be 1200x629 you should specify that as the arguments for the...
View ArticleNew Post: add white bars/background wider than a portrait image (centering...
Ok, so this will take whatever image I pass in, and center it into a white rectangle?
View Article