Smart Image Processor ASP 2 Support Product Page
Solved
If Image is Smasller than crop Size SIP Fails
Reported 13 years ago
1
has this problem
13 years ago 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
Replies
Replied 13 years ago
13 years ago 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.