Reply to Re: 1px*700px

Re: 1px*700px new!
by colin, 16 years, 10 months ago
You are right, there is a bug. The width or height of the image being between 0 and 1 leads to an error. It will be fixed in the next version.

In the meantime, you can look for
$image_dst = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y);

And add the following two lines just before, so it looks like this:
if ($this->image_dst_x < 1) $this->image_dst_x = 1; 
if ($this->image_dst_y < 1) $this->image_dst_y = 1;
$image_dst = $this->imagecreatenew($this->image_dst_x, $this->image_dst_y);

Thank you for reporting the issue.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important