in reply to Corrupted data problem in copyResampled using GD.pm
What seems to be happening is that 1/4 to 1/2 of the image data is being dropped prior to finishing the thumbnail file.Does that imply that the extent of corruption varies depending on the image? (Or simply that you're not sure what the real amount of lossage is?)
If it varies with the image, then maybe you should take a closer look at this line in your code:
Are you sure that "$opsys" has been set appropriately? (Why aren't you just using "$^O" ?)if ($opsys eq "dos") { binmode THUMB; }
Apart from that, I don't know about the GD::Image "jpeg" method... what does it mean to pass it a value of "75"?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Corrupted data problem in copyResampled using GD.pm
by BUU (Prior) on Feb 10, 2004 at 07:33 UTC | |
by brianviehland (Initiate) on Feb 10, 2004 at 21:23 UTC | |
by BUU (Prior) on Feb 11, 2004 at 06:06 UTC |