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 tried with both your pictures, and ran some tests, but could not replicate the problem you describe.
I don't see any differences between the two images. They both are PNG, True Color, depth 24, etc... Only the flower_carpet_logo image seems to come from MS Office for some reason.
What version of PHP and GD are you running? Maybe you can try to increase the memory for PHP, in php.ini
Could you also paste here the logs for each of your images? (echo $foo->log after processing)Reply
I don't see any differences between the two images. They both are PNG, True Color, depth 24, etc... Only the flower_carpet_logo image seems to come from MS Office for some reason.
What version of PHP and GD are you running? Maybe you can try to increase the memory for PHP, in php.ini
Could you also paste here the logs for each of your images? (echo $foo->log after processing)