
Chaosmaster wrote:I wan't asking it it was possible in another language, I was asking if there's a way to speed it up in php.
Why would you need 36 rotations anyway? I only need 8, but it still takes too long.

Defience wrote:Chaosmaster wrote:I wan't asking it it was possible in another language, I was asking if there's a way to speed it up in php.
Why would you need 36 rotations anyway? I only need 8, but it still takes too long.
It's actually 1 complete rotation but at 10 degrees for each row. If you set a crop for the row at the 12 O'clock position and then rotate the image 10 degrees it should line up the very next row into the crop that's been set. Doing this for each row will achieve 360 degrees. You could also disable javascript which would give you a few more seconds so you don't have to go through the 25% done, 50% done, etc....


Chaosmaster wrote:I actually am using GD to draw the initial image. And then i need 8 rotations by 10 degrees and i can crop out the 12,3,6,9 o'clock positions, then i only need to rotate 3/4 of the chars by 90,180,270 degrees respectively (no interpolations are needed and the single chars are much smaller).
My problem only are the 8 major rotations which consume too much time.





Users browsing this forum: No registered users and 0 guests