Re: [PHP] 3d image rotating

[email protected] (PJ)
Newsgroups php.general
Message-ID <[email protected]>
דניאל דנון 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 --- [email protected]
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.