PHP: Resizing and Watermarking Images

PHP: Resizing and Watermarking Images

Website or Online Data - 2016
Rate this:
Modern websites need to serve high-resolution images to avoid pixelation and blurring on high-pixel-density displays, but at a file size that loads quickly, even on mobile devices. This course shows how to use the GD functions in PHP to resize images and add an optional watermark to them. Author David Powers demonstrates how to calculate the correct scaling ratio by automatically measuring the dimensions and detecting the orientation of a JPEG image. He also explains how to add a watermark using text or, for a more polished result, an image blended with an alpha channel. All the techniques covered are completely nondestructive. Chapter 2 pulls everything together, using a custom PHP class that can batch process multiple images, automatically detect the correct MIME type, generate custom sizes, and add an optional watermark.
Learn how to batch process images with the PHP GD functions. Watermark photos and generate different sizes ready for use in responsive web design.
Publisher: Carpenteria, CA : lynda.com, 2016
Copyright Date: ©2016
Additional Contributors: lynda.com (Firm)
Call Number: eResearch

Opinion

From the critics


Community Activity

Comment

Add a Comment

There are no comments for this title yet.

Age

Add Age Suitability

There are no ages for this title yet.

Summary

Add a Summary

There are no summaries for this title yet.

Notices

Add Notices

There are no notices for this title yet.

Quotes

Add a Quote

There are no quotes for this title yet.

Explore Further

Recommendations

Subject Headings

  Loading...

Find it at DCL

  Loading...
[]
[]
To Top