Convert problem with ColdFusion8
Posted: 2008-12-11T03:54:18-07:00
Hi,
I have this piece of code that is not working...
<cfobject type="COM" name="Img" class="ImageMagickObject.MagickImage.1" action="CREATE">
<cfscript>Img.Convert("#path#\#newname#","-resize","250x150","#path#\#newname#");</cfscript>
I obtain an error:
The Convert method was not found.
There are no methods with the specified method name and argument types. Check your function and try again.
But dumping the object the method Convert exists...
Where is the problem in your opinion?
Thank's a lot!
I have this piece of code that is not working...
<cfobject type="COM" name="Img" class="ImageMagickObject.MagickImage.1" action="CREATE">
<cfscript>Img.Convert("#path#\#newname#","-resize","250x150","#path#\#newname#");</cfscript>
I obtain an error:
The Convert method was not found.
There are no methods with the specified method name and argument types. Check your function and try again.
But dumping the object the method Convert exists...
Where is the problem in your opinion?
Thank's a lot!