Re: [PHP] 3d image rotating

[email protected] (דניאל דנון)
Newsgroups php.general
Message-ID <[email protected]>
That not what I meant, but I found a solution with (sadly, wanted pure GD,
but it would've required going over the WHOLE image) imagemagick. Anyway, I
even found more then I wanted
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=10830&start=0

Thanks (especially for nitsan that suggested me imagemagick might have it),
Ashley and PJ.

 Daniel
On Sat, Jun 13, 2009 at 10:15 PM, PJ <[email protected]> wrote:

> דניאל דנון 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
>
>


-- 
Use ROT26 for best security
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.