Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: GD Image Flip
02-29-2004, 02:36 PM #1
- Join Date
- Jun 2002
- Brisbane, Australia
- Thanked 0 Times in 0 Posts
GD Image Flip
Wow, I've been asking a few questions about GD lately. Here's my newest one ...
I have an image, and I want to flip it horizontally/vertically. I've looked on PHP.NET and I couldn't find anything that does it. Without having to write a function that goes through every pixel on a picture and inverting it, is there a function that does it with GD/PHP?
3 years old.
02-29-2004, 04:41 PM #2
- Join Date
- May 2002
- Perth Australia
- Thanked 101 Times in 99 Posts
I think you are going beyond the limits/scope of GD
see if you have imagemagick available on your server which has geometry functions and filters you can apply, you can either exec() imagemagick commands or there is a PECL extension available though its unlikely to be installed on most servers
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)