Login  Register

Re: Need technical help

Posted by ctrueden on Jun 22, 2011; 5:47pm
URL: http://imagej.273.s1.nabble.com/Need-technical-help-tp3684168p3684169.html

Hi Muniganti,

Are you writing in C#? Why don't you just use the built-in features of C# to
do it?

http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing

If you really must integrate ImageJ with .NET, there are two ways. If you
are OK with unmanaged C++ code in your application, you can link to ImageJ
via JNI, but you may face a few technical hurdles. Alternately, you could
look at using IKVM.NET to execute Java code in the .NET framework, but I
have no idea how well ImageJ would run in that environment.

Given that you are a student, I strongly suggest limiting your complexity
and sticking to one language, rather than pursuing a cross-language
integration solution.

HTH,
Curtis

On Tue, Jun 21, 2011 at 6:33 AM, Naresh Muniganti <[hidden email]>wrote:

> Hi All,I am working on my class project where I need to develop a .Net
> application which can read an image, extract the attributes of the input
> image and generate different image resolutions along with the thumbnails. I
> have come across imageJ plugin in my search. I would like to know if this
> would be of any help if I am using VS 2010(.Net framework 4.0). If this is
> possibility please let me know from where I need to download the dlls, which
> dlls I have to use and any sample code would be greatly appreciated. Please
> suggest.Thanks in advance.Muniganti.
>