

January 10, 2017: SimpleImage 3.0 has been released. Please submit all issues and contributions to the project page. This project is actively maintained on GitHub.


auto_orient() - adjusts the orientation based on the image's EXIF data.rotate() - rotates an image at the specified angle.flip() - flips an image vertically or horizontally.The following two lines will load image.jpg, flip it horizontally, rotate it 90 degrees, shrink it to fit within a 320x200 box, apply a sepia effect, convert it to a GIF, and save it to result.gif: $img = new SimpleImage('image.jpg') This class takes the headache out of dealing with images and features over 25 useful methods. If you love working with PHP but hate the GD library, you'll love the Simple Image PHP class I'm releasing today. I keep posts like this around for historical purposes and to prevent link rot, so please keep this in Add styles to a web page with CSS IDs and classes and 5. Use HTML to construct a web page with paragraphs, divs, images, links, and lists 4. Write JavaScript programs using functions, for loops, and conditional statements 3.
SIMPLEIMAGE DUKE CODE HOW TO
Think critically about how to solve a problem using programming 2. Heads up! This post was written in 2011, so it may contain information that is no longerĪccurate. After completing this course, you will be able to: 1.
