مشخصات فیلم
-
4657
-
2130
-
0
-
0.0
-
0
دانلود فیلم آموزش Resizing and Watermarking Images with PHP
Lynda Resizing and Watermarking Images with PHP
مدرس:David Powers
وب سایت های مدرن، به منظورِ ممانعت از ایجادِ pixilation و blurring بر رویِ نمایشگرهای دارای وضوح و چگالی بالا، باید تصاویرِ high-resolution را به کار بگیریند؛ اما این کار مستلزمِ این است که بر روی محتواهایی در سایز یک فایل صورت گیرد، حتی بر روی دستگاه های موبایل. این دوره، چگونگیِ استفاده از فانکشن های GD در PHP را، به منظورِ تغییر سایزِ تصاویر و افزودنِ watermark های اختیاری به آنها، آموزش می دهد. مدرسِ این دوره ی آموزشی، نحوه ی محاسبه ی نسبتِ مقیاسِ صحیح، با اندازه گیریِ اتوماتیکِ ابعاد و جهت گیریِ تصویرِ JPEG، را آموزش می دهد. وی همچنین نشان می دهد که چگونه می توان با استفاده از متن یا یک تصویر که با alpha chanel ترکیب شده است، یک watermark را اضافه نمود. تمامیِ تکینیک هایی که در این مجموعه پوشش داده شده اند، غیر مخرب می باشند.
سرفصل های دوره:
- مقیاس گذاریِ یک تصویر با استفاده از کلاسِ imagescale()
- تغییر سایزِ یک تصویر با استفاده از imagecopyresampled()
- افزودنِ Watermark
- اصلاحِ جهت گیری
- پردازشِ دسته ایِ تصاویر
- و…
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.
Topics include:
• Scaling an image with imagescale()
• Resizing an image with imagecopyresampled()
• Adding watermarks
• Correcting orientation
• Batch processing images
overview:
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?