Lesson 23 - Finishing the Image library for PHP
In the previous lesson, Image library for working with images in PHP, we started working on an Image class which is used for image manipulation. In today's tutorial, we'll add the remaining functionality to it, i.e. scaling, cropping, watermarks and mime-type validation.
We'll add several methods for scaling images. Let's start with a generic method for scaling image to any width and height:
...End of the preview...
You've come here and that's great! We believe that the first lessons showed you something new and useful
Do you want to continue the course? Go to the premium section.
Limited offer: Learn all knowledge and save money
Before buying this article, you have to buy the previous one
- Unlimited and permanent access to individual lessons.
- High quality IT knowledge.
- Skills to help you get your dream and well-paid job.
Requested article covers this content:
In this tutorial, we'll finish the simple library for image manipulation in PHP. We'll add scaling, cropping, watermarks, and mime-based validation.
You gain credits by supporting our network. This is done by sending a helpful amount of money to support the site, or by creating content for the network.