Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Jun 29, 2015

A simple one-off error: imagecrop)() copied only width-1 and height-1 pixels.

Apparently, the loops are running until < -1 instead of <= -1, but perhaps I'm overlooking something. @pierrejoye @remicollet: okay to merge? PHP 5.6+?

BTW, the external libgd is not affected, because it's delegating to gdImageCopy().

A simple one-off error: imagecrop)() copied only width-1 and height-1 pixels.
@php-pulls
Copy link

Comment on behalf of cmb at php.net:

Merged.

@php-pulls php-pulls closed this Jul 12, 2015
@cmb69 cmb69 deleted the imagecrop branch July 12, 2015 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants