Grav - Media Resize


Advertisements

Description

By resizing, you change the width and height of the image. The new image has blank areas in the background color which is given as a hex value. If background parameter is not provided, then it takes transparent as default for a PNG image, and white for a JPEG

Example

![My New Image](my-new-image.jpg?resize = 600, 200)

Output

The above code will fetch you the following output −

Grav Media
grav_media.htm

Useful Video Courses


Video

Gravitation

19 Lectures 3 hours

Mr. Pradeep Kshetrapal

Video

Class 9th - Gravitation

30 Lectures 4 hours

Priyanka Choudhary

Video

Application Web complète avec ASP .NET CORE 3.1 MVC

55 Lectures 4.5 hours

University Code

Video

How to Develop Gravitas: Be the Voice of Wisdom & Influence

24 Lectures 1 hours

Mike Clayton

Advertisements