[php-src] Issue #11749: Rotated image is out of center

From: Date: Wed, 19 Jul 2023 17:55:45 +0000
Subject: [php-src] Issue #11749: Rotated image is out of center
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245000@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11749
Author: netoper

From manual page: https://php.net/function.imagerotate

rotated image is off center. if I want to rotate an image with a size of 240x240px and rotate it by
6 degrees, the dimensions of the new image are 262x263(!) even if I adjust the size to 262x262px,
the source image is off its center. I will try it on the picture of the hour clock hand, where the
center must be exactly, because then the hand jumps during the animation.
---


Thread (1 message)

  • netoper
« previous php.bugs (#245000) next »