YoVDO

PHP: Resizing and Watermarking Images

Offered By: LinkedIn Learning

Tags

PHP Courses Image Processing Courses Responsive Web Design Courses Batch Processing Courses

Course Description

Overview

Learn how to batch process images with the PHP GD functions. Watermark photos and generate different sizes ready for use in responsive web design.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Using the exercise files
1. Image Processing with GD
  • Introducing the GD extension
  • Scaling an image with imagescale()
  • Getting an image's dimensions and MIME type
  • Resizing an image with imagecopyresampled()
  • Adding a text watermark
  • Adding an image watermark
  • Correcting an image's orientation
  • Checking the MIME type and dimensions of a WebP image
  • Converting to a different image format
2. Batch Processing Images
  • Project overview
  • Setting up the class definition
  • Checking source images and orientation
  • Setting output sizes and quality
  • Adding an optional watermark
  • Generating the output images
  • Using the script
Conclusion
  • What next?

Taught by

David Powers

Related Courses

Introduction to Artificial Intelligence
Stanford University via Udacity
Computer Vision: The Fundamentals
University of California, Berkeley via Coursera
Computational Photography
Georgia Institute of Technology via Coursera
Digital Signal Processing
École Polytechnique Fédérale de Lausanne via Coursera
Creative, Serious and Playful Science of Android Apps
University of Illinois at Urbana-Champaign via Coursera