Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: GD resize problemsby Crackers2 (Parson) |
on Jan 17, 2011 at 14:30 UTC ( [id://882669]=note: print w/replies, xml ) | Need Help?? |
I know you already have a solution, but I think the original problem is buffering. After the loop you don't close UPLOADFILE before trying to use the file it's writing to. So likely the last part of the file just isn't flushed to disk yet when GD reads it. Just to check, could you try adding a close UPLOADFILE after the while loop and see if that fixes things?
In Section
Seekers of Perl Wisdom
|
|