Quantcast
Channel: magick Discussions Rss Feed
Viewing all 3693 articles
Browse latest View live

New Post: Web Application Difficulties

$
0
0
Could you start a new topic instead of using an old one? And can you add a short code example with a link to an input and output image?

New Post: ImageMagick vs Magick.Net

$
0
0
  1. Just wondering is Magick.Net are fully implement all features that ImageMagick can do?
  2. MagickScript are Magick.Net unique implementation?
Thank you very much.

New Post: ImageMagick vs Magick.Net

$
0
0
Magick.NET tries to implement all features from ImageMagick. It uses Magick++, but not all features from ImageMagick are implemented. I am working on implementing the missing features in Magick++.

MagickScript is indeed a custom implementation.

New Post: ImageMagick vs Magick.Net

$
0
0
thanks for reply

MagickScript is cool feature, allow me not to hardcoded everything ^^d

any chance to have jpeg:hint implement?

thank you very much

New Post: ImageMagick vs Magick.Net

$
0
0
You can already set coder specific options like this:
<setOptionformat="Jpeg"name="size"value="128x128"/>
I am assuming you mean jpeg:size instead of jpeg:hint.

New Post: ImageMagick vs Magick.Net

$
0
0
yes, you are right
its a jpeg:size

possible to use without MagickScript?

thank you

New Post: ImageMagick vs Magick.Net

$
0
0
You can do it like this:
using (MagickImage image = new MagickImage())
{
  image.SetOption(MagickFormat.Jpeg, "size", "128x128");
}
Everything that is possible with MagickScript is possible with the classes of Magick.NET.

New Post: 64 bit does not work

$
0
0
I'm having the same problem. How does one "disable the option 'enable 32 bit applications' in Visual Studio 2010 for a vb.net project? I'm running in Windows 7 64bit. I have tried forcing the "x64" compile option for the project. I cannot find any documentation on a command-line compile option or similar approach. I would appreciate any suggestions. Thanks very much.
Great tool by the way - works perfect for projects on my x86 machine.

New Post: 64 bit does not work

$
0
0
Please ignore previous post. The problem was in the 64 bit VC++ redist (using 2010 not 2012). Using the correct redistributable solved the issue completely. Maybe the originator of the question thread made the same mistake?

New Post: 64 bit does not work

$
0
0
Thanks for the information, this will definitely help other users.

New Post: 64 bit does not work

$
0
0
I'm not a time traveler, funny. It sure seems to me that I've either been using this (or a predecessor of sorts) since about this time last year. Something still isn't right, I can't get my project to allow Magick Net in 64 bit mode. I'll keep struggling through it. Your post above did not help.

New Post: Add border to image

$
0
0
What is the proper technique to add a border to an image. I've wrestled with this for days, and no matter what I try, MagikNet messes with my image. I end up with it either skewed, distorted, converted to CMYK, or some other funky conversion.

My situation is this:
A user uploads a picture to my website, but it must be certain dimensions (to fit in a frame).
If they upload one that is not right, I simply want to add white border, then center the picture within the white border. The border require vertical, horizontal, or both centering. This would seem it should be very easy to do. But no matter what I do, the resulting image is garbled in some way.

Right now I have it close. But it keeps converting it to CMYK. Then if I convert it back to RGB, the colors get hosed up.

I would post my code here, but the efforts I have gone through to make this work have become comical, and the code is ridiculous. But the 30 second version, is that I create a white image of the correct size, and drop my uploaded image into it with a 'composite' function. That should work, but the colors always get messed up when I do it.

I would rather have someone just say 'here is how you add a white border, and center the image within the border'.

New Post: Add border to image

$
0
0
You could try to following:
using (MagickImage image = new MagickImage(@"input.png"))
{
  image.Crop(100, 100, Gravity.Center);
  image.BorderColor = Color.Purple;
  image.Border(10);
  image.Write(@"output.png");
}
Why do you need the CMYK conversion?

New Post: 64 bit does not work

$
0
0
Are you using the .NET 2.0 version of Magick.NET? You should install Visual C++ Redistributable for Visual Studio 2008 x64 if you do.

New Post: 64 bit does not work

$
0
0
I think that was the issue. I had both on my development machine, but the target server only had 32 bit. That seems to resolve it! Thanks for your help.

New Post: Add border to image

$
0
0
Damn, I'd bet my bottom dollar I had done that, and it skewed the image. But I just tried it and it did do exactly as advertised. I had done that as my first attempt, and it skewed (at least something skewed) so I got to thinking that the border command did not work correctly. Unfortunately I don't have that code anymore, so I don't know why it skewed on me originally. But it does work properly. Thanks for your help.

New Post: How to read and write Jpeg Metadata (IPTC and XMP) using Magick.NET?

$
0
0
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

New Post: Replace color with another

$
0
0
Here is an example of what I would like to do:

http://www.imagemagick.org/Usage/color_basics/#replace


For example to replace a 'blue' color with say 'white' you would use a command like this...

convert balloon.gif -fill white -opaque blue balloon_white.gif



I have found image.Fill() but am not able to find a way to specify what color to replace.

thanks for any help.

New Post: didn't find how to set interlaced png

$
0
0
It will be this:
image.Interlace = Interlace.Plane;
I will try to publish a new release this weekend but I don't know if I will be able to do it.

New Post: didn't find how to set interlaced png

Viewing all 3693 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>