note
stefbv
<p>I played a little with the program (from GitHub) and the warning is printed when one of the parameters is 0 (zero).</p>
<c>
Considering files[0] .../picwoodpecker/2016_..._0.jpg
568
0
GD Warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully
</c>
<p>The first <strike>parameter</strike> number is '$small_w' and the second is '$small_h', from the code line:</p>
<c>
my $resized = GD::Image->new($small_w,$small_h);
</c>
<p><b>Update</b>: made a clarification.</p>
<p>Best regards,
Stefan</p>
1177374
1177374