Web Analytics Made Easy -
StatCounter GD Image Flip - CodingForum

Announcement

Collapse
No announcement yet.

GD Image Flip

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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?

    -mR_eGo
    -mR_eGo
    _______________________
    Programming since
    3 years old.

  • #2
    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
    resistance is...

    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)

    Comment

    Working...
    X