R
R
Roman Gor2014-08-08 09:50:11
PHP
Roman Gor, 2014-08-08 09:50:11

What can affect the work of imagerotate()?

Hello!
There was a problem:

for($i = 2; $i <= 6; $i++)
          {
              if( $i == 4 ) continue;
              $st_ang = $this->_aHouse[$i];
              $st_ang = $st_ang - $this->_Asc - 180 - 30;
              $image_2 = imagecreatefrompng('./image/blue_line.png');
              $image_2 = imagerotate($image_2, $st_ang, -1, 0);
              imagesetbrush($image_1, $image_2);
              imageline($image_1, imagesx($image_1) / 2, imagesy($image_1) / 2, imagesx($image_1) / 2, imagesy($image_1) / 2, IMG_COLOR_BRUSHED);
              imagedestroy($image_2);
          }

This code does not want to work inside the framework.
Created a project on a separate host - everything works wonderfully.
PS: The car is the same.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question