...

View Full Version : GD Image Flip



mr_ego
02-29-2004, 01:36 PM
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?

-mR_eGo

firepages
02-29-2004, 03:41 PM
I think you are going beyond the limits/scope of GD

see if you have imagemagick (http://www.imagemagick.org) 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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum