5

How do I make image effects to rotate and skew images in PHP?

I want to know the underlying stuff the magic, what php extension should i look into and learn to make this happen, any good tutorials online to make cool image effects?

Juliet
  • 80,494
  • 45
  • 196
  • 228
clairecon
  • 51
  • 1
  • 2
  • 1
    This is a very valid question to ask. I agree that you must try and google it first but we are all on the same side here. +1 – Etienne Marais Nov 03 '10 at 10:29
  • I don't know why this was downvoted either. It seems like a valid question. +1 – MedicineMan Nov 04 '10 at 18:00
  • It was downvoted because it contained a link to a humor website -- which, for a user who just registered 2 days ago, is very suspicious spam-like behavior. – Juliet Nov 04 '10 at 19:02

4 Answers4

1

i have seen a post here which shows 13 php image effects, you can have a try to see whether it's something you need.

http://thetutlage.com/post=TUT160

http://www.thetutlage.com/demo/imageManipulation/example1.php

user963725
  • 121
  • 1
  • 2
  • 9
1

For image effects and overlaying an image on top of another:

http://php.net/manual/en/book.imagick.php

http://php.net/manual/en/book.image.php

bcosca
  • 17,371
  • 5
  • 40
  • 51
1

Also have a look at ezcomponents

http://ezcomponents.org/docs/tutorials/ImageAnalysis http://ezcomponents.org/docs/tutorials/ImageConversion

Has some very strong image analysis and conversion methods.

Etienne Marais
  • 1,660
  • 1
  • 22
  • 40
1

As stillstanding answer says you can use both GD or imageMagick to work with images.

To distort an image I found:
http://php.net/manual/en/function.imagick-distortimage.php

To skewing an image with GD look at this post:
How would I skew an image with GD Library?

Community
  • 1
  • 1
yuri
  • 575
  • 1
  • 14
  • 33