Re: 3d image rotating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



דניאל דנון wrote:
> Hello.
>
> I'm looking for way to rotate normal images, but not x/y, but with Z also.
> I get a source image (png, jpg, gif...) and I want to rotate it. assuming
> the "depth" of the image is 1 pixel for example...
>
> I'm looking for a way to do it without using imagemagick - only GD. I know
> it might be slower, but its need to run on a server without imagemagick.
>
> I've searched information about it, also in PEAR, but I couldn't find
> anything that takes a normal image and rotate it..
>
> Thanks, Daniel
>
>   
Hi Daniel,
I had the same question a short while ago and the only answer I could
find was to redo the image with either gimp or PhotoShop an save it as
png 8 with transparency. The only downside is that this seems to leave
the angled frame (if you use one) a bit scuzzy; but you dont need Z. The
other downside is that you can't dynamically rotate the image. Of
course, I am assuming that by "rotate" you mean turn it at an angle and
not "replace by other images".
HTH
Phil

-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-------------------------------------------------------------
Phil Jourdan --- pj@xxxxxxxxxxxxx
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux