Page 1 of 1

Web application with Magick

Posted: 2009-03-05T09:42:17-07:00
by acazsouza
Is a good idea usage ImageMagick with a web application for resize and crop a image?

Re: Web application with Magick

Posted: 2009-03-05T11:40:44-07:00
by magick
Yes, ImageMagick is useful for Internet sites. It is used by thousands of sites world-wide. We have used it for our own site for over 10 years. See http://www.imagemagick.org/MagickStudio ... Studio.cgi.

Re: Web application with Magick

Posted: 2009-03-10T11:27:24-07:00
by acazsouza
To use ImageMagick on a web application is needed be installed ImageMagick in a server?

Because I dont have permission to install apps in server of my web site.

Re: Web application with Magick

Posted: 2009-03-10T11:48:10-07:00
by magick
You can install ImageMagick in your home partition. It does not need to be installed in the system directories. All you need is a C compiler. See http://www.imagemagick.org/script/install-source.php for instructions.

Re: Web application with Magick

Posted: 2009-03-10T12:11:28-07:00
by acazsouza
Ok, I do that. It´s Running Now!

But, the size of the BIN folder is 272 MB :shock: ! It´s correct??

I will have to copy this very large files to my server and work with that?

Re: Web application with Magick

Posted: 2009-03-10T14:54:59-07:00
by magick
Looks like you created a static release of ImageMagick. If so you can delete all the programs you won't be using. Say you only need the convert program. You can delete display, import, identify, mogrify, etc. Otherwise you can build a dynamic release with the --enable-shared configure script command line argument.

Re: Web application with Magick

Posted: 2009-03-11T04:17:25-07:00
by acazsouza
Where is "--enable-shared configure script command line argument"?

Re: Web application with Magick

Posted: 2009-03-11T04:21:24-07:00
by acazsouza
Is compile the magick with the option "Dynamic multi-threaded DLL" checked?

Re: Web application with Magick

Posted: 2009-03-11T05:43:38-07:00
by magick
You're running under Windows. To reduce the binary distribution size build as dynamic rather than static. Our full dynamic binary release is 11 MB (see http://www.imagemagick.org/script/binar ... hp#windows) whereas our static release is nearly 30MB. We have no idea why your release is 272MB.