class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I can't recreate the issue with 0.25. The line of code that gives an error shouldn't have values out of bound. According to the line number you provided, the bug happens when preparing the image to be saved as BMP. You are saving your image as BMP?
What versions of PHP and GD are you using? What is the log that you get from the class when you have errors?Reply
What versions of PHP and GD are you using? What is the log that you get from the class when you have errors?