Brand new to ImageMagick!
I want to resize a JPG and output in the same folder in ASP on a windows server, I have found the following script to do so, have installed the COM and registered during installation and the folder where the script runs and the image folder have write permissions.
When i run the file, nothing happens, I do not get an error but the thumbnail is not created either.
Here is the script I have:
Code: Select all
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
Set Img = Server.CreateObject("ImageMagickObject.MagickImage.1")
Img.Convert "img/img1.jpg", "resize=300x225!","img/img1_small.jpg"
%>
Done!
Many thanks for any help