 |
|
 |
Hi,
Nice post!
I tried to use this in my project. But there is a problem, I can't install anything on server(while deploying my project). So is it possible to achieve the task without installing the ImageMagick exe?
Any help will be appreciated.
Thanks, Sachin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello sachin,
Please check out the ***[update] section. I have updated the article. You can try imagemagick Binary version without installation [though I haven't tried it, but I think it should work]. But make sure that you have provided proper permission to your application.
Thanks and Regards - Arin
P.S: Rate this article if it helps you.
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
yes it works, but the problem is that it doesn't work when I uninstall the imageMagick... Is there any way arround to copy some dlls into project folder and make the application work?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
If you want to use some basic operations of imagemagick then use magicknet.dll....but for more complex application follow as the instruction provided...
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thanks for you reply.
I just want to use convert function(from one image format to other). Can you please let me know where can I found magicknet dll. It would be great help.
Thanks, Sachin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello Sachin,
I have uploaded the MagickNet.dll with the article...please check this out and download it as you need.
and the following is the process to convert
MagickNet.Magick.Init() Dim img As MagickNet.Image = New MagickNet.Image(source_file) Dim sz As New System.Drawing.Size(150, 100) img.Resize(sz)
img.Write(output_file) MagickNet.Magick.Term()
Let me know if you have any more queries...
Thanks
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I have used the below syntax to resize the image, but it is giving error
C:\>convert C:\GenerateThumb\images\DSCN5: -resize "200%" C :\GenerateThumb\images\DSCN5.gif
convert: unable to open image `C:\GenerateThumb\images\DSCN5:': No such file or directory @ blob.c/OpenBlob/2427. convert: missing an image filename `C:\GenerateThumb\images\DSCN5.gif' @ convert .c/ConvertImageCommand/2766.
Would you please provide me the syntax and example for resizing an gif file using MagickCMD.exe
--Thanks & regards Veeresh
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello,
"C:\GenerateThumb\images\DSCN5:" -- This is your provided imagepath...and I am not sure what kind of image that would be. There must be some extension for the image. So please make sure of that.
One more thing. If you have installed imagemagick on your local system, then you can also check these command from command prompt...it will work
and here is the code for resizing
convert -resize 200% D:\tom-cruise.jpg D:\katie.png
Let me know if you have any more queries
Thanks
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I am user the code, but when run in folder "convimg" empty -Not creat image in folder "convimg" Please help me! Thanks!!! huuchau84
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello huuchau84,
Make sure about the permission before executing the code as you are using an exe in the server. So you must provide full permission to it. Provide ASPNET permission to your application and check out the path of imagemagick. Once you confirm about it, I am sure that it will run.
Let me know if you have any more queries.
Thanks - Arin
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
nop....no problem at all....just use your remote desktop for server....locate the application folder->right click->security tab->add->advanced->find now->ASPNET->OK->in the permission section below select checkbox for all
and you are done...
If still you are facing the same...then let me know
Thanks
P.S: pleas rate this article if its help you
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi,
By using your sample application I have created application, where it will create thumbnail I had requirement to generate a thumbnails in file server
In local application is able to generate thumbnails When I am trying create thumbnail on file server it is not generating
Requirement:- Applications server File server
Application has to generate thumbnails of the file which is located in File server and store it in that file server
I am using impersonation to connect to the File server, I am able to check whether the file exists or not, and I am able to create file. but by using MagicCMD.exe I am not able to create thumbnails Would you please help me to solve this problem
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello alurv,
Most of the time we have faced this kind pf thing, is occurred because of permission. You have said about the problem but you haven't mentioned anything about the permission. Did you provide ASPNET permission to your application? As you have told, the application is running fine in your local system. So please check out permission level in the server. If you didn't provide ASPNET permission to your application then please provide it, it will work.
Let me know if you have any more queries.
Thanks - Arin
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thank you for your posting, ImageMagick is very helpful. I installed your source files and ran the application. I can see the dropdown options and the default image. However, when select an option, the default image vanishes and nothing else happens, no errors, or anything. Has anyone else experienced this? Is there something else I need to download and install. I thought I had ImageMagick installed properly. Do I need to add a reference to that dll? Thank you in advance.
Regards,
Gary
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello Gary,
I have used ImageMagick successfully on server. First download and istall imagemagick on your server. You will find a exe file[MagickCmd.exe] in the imagemagick installation folder. Copy that exe and place it in your application folder. remember to provide ASPNET permission to your application and use imagemagick as I mentioned in the application. It will work.
Rate this post if it helps.
Thanks
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Arin: Thank you for your reply. I solved my problem; it was a sharing problem. I needed modify security to give the ASP.NET Machine Account read/write access to the files so they could be modified/written/read by ASP.NET Machine Account.
Gary
Regards,
Gary
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I'm running the source code you have kindly downloaded but whenever I try to run any command I am getting an exit code of 4. I cannot seem to find a description of this exit code anywhere and am a bit stuck.
I have not amended any of your code - that is exactly what I'm running.
My OS is windows XP - not sure if this makes any difference.
Kind regards, Nicki
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello Nicki,
Can you provide the exact error you have got? Actually I didn't get what your problem is? So it will be better for me to suggest you something if you provide me the exact error you have got, and the steps you have followed starting from the installation of imagemagick.
Thanks and Regards - Arin
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
There is no asp.net dll version of ImageMagick that works smoothly. Some folks tried to create a dll for .net version but I was never able to make it work.
Thanks for this article. It was really a big help. Thanks to guys who created ImageMagick!!
The exe version is pretty fast and very versatile. We can have the commands in config file and avoid recompilation if we need to change the command. Awesome!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
thanks for the comment
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The example given is not working in asp.net.When we exceute the "convert" function in the application ,we are not geting images in the output folder.
Please provide us a working example.
email id: anand@sdi.la
Thanks, Anandhavel.J
sezhi
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
please let me know ur problem in details....I'll help u as far as I can...
write to me at arinhere@gmail.com
Arin Mail: arinhere@gmail.com http://blogs.msdn.com/coding4fun/archive/2008/04/16/8399645.aspx
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
|
 |