Smart Image Processor ASP 2 Support Product Page


If Image is Smasller than crop Size SIP Fails

Reported 14 Jul 2011 00:22:06
has this problem
14 Jul 2011 00:22:06 James Threadgill posted:
When I try to upload an image that is smaller than the specified crop size, I get this error:

COMObjects.NET.PictureProcessor.1 error '80020009'

Can't crop the picture (bad parameters)

D:\WEBS\INNOVATIVE\ADMIN\../ScriptLibrary/incSIP2Class.asp, line 1281

Why don't you put the crop in an if then staement so that it only executes if the image is large enough. I need it to work even if the image doesn't need to be cropped.
Edited by - James W. Threadgill on 14 Jul 2011  00:23:07


Replied 14 Jul 2011 00:35:16
14 Jul 2011 00:35:16 James Threadgill replied:
I found the lines in the sip class file and unremarked them and it now works like I want. I missed them the first time I looked.

Reply to this topic