[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3551
  • Last Modified:

How to use imagemagick in vb.net 2010 windows forms application

Hi,  I have used Imagemagick in DOS based stuff but never in vb.net.
I found this on the net http://www.codeproject.com/KB/dotnet/ImageMagick_in_VBNET.aspx 
I need someone to help me with this code.
or
Start from scratch load an image in to a picture box then click a button that uses imagemagic to apply an effect to that image.

Thanks,
Richard
0
fwlrichard
Asked:
fwlrichard
  • 4
  • 3
1 Solution
 
grayeCommented:
Loading an image file into a picturebox is pretty straight forward.   What kind of "effect" are you talking about?
0
 
fwlrichardAuthor Commented:
Hi graye,

Yes loading an Image into a picture box is the easy part no problem there.
It's the effect part thats a problem. Imagemagick is the only thing I've found that might do what I need. I'm working on a merge program and need to apply the same effect to several images. I attached some effect examples that I did with imagemagick and dos. I'm looking for a way to do this with .net in memory/picturebox. Imagemagick uses things like -convert, -background, -font, -arc, -resize, -destort and so on in dos. First I would like to get it imagemagick to work in vb.net with something simple, then do the hard stuff like distort, curve, arc, ect...

Thanks
Richard
Org-Image.jpg
Arced-Image.bmp
A.gif
B.png
C.png
0
 
grayeCommented:
Humph... that's pretty cool.
Let me look into the .Net "wrapper" for ImageMagick and get back to you.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
fwlrichardAuthor Commented:
graye,
I think this is what you mean by "wrapper' Iv'e tryed to test this but with no luck, maybe you could take a shot at installing it, or tell me what i'm missing?
I found and downloaded 3 source files code from: http://www.codeproject.com/KB/dotnet/ImageMagick_in_VBNET.aspx?fid=393035&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2653565

There seems to be a  problem with "Imports ImageMagickNET"  it can't be found after the file is converted to .net 2010.
Any idea on what I'm doing wrong?
How do I intall and use this code/wrapper?

Thanks
Richard
0
 
grayeCommented:
Why not just download the DLLs (rather than the source code).   After you've put the DLLs somewhere, you'd go into your project's Properties, select Add Reference, then Browse, then navigate to where you put the DLLs.
That should get you working.
I haven't had time to look into the .Net classes in those DLLs, so I don't know if they offer every function or not.   From what you've described above, it appears that you'd need some sort of interaction with the application (not just poking around "behind the scenes" with the DLLs.
0
 
fwlrichardAuthor Commented:
Graye,
Sorry for the slow responce. I had to much holiday stuff going on.  I tryed the DLLs it seems to be limited and the functions I was after dont work.
Any other graphic's DLL that you might know of that would do the trick?
Thanks
Richard
0
 
grayeCommented:
Yeah, that's what I was talking about... it'd be a bit difficult to perform those types of graphic manipulation programatically via the DLLs.  It certainly looks like the graphic examples you provided require human intervention, so I'm think that it's not a matter of finding another DLL solution.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now