PHP Graphics

Upload and Crop Image using PHP and jQuery

August 13, 2018
In a previous article, we have seen the PHP code for cropping images using jQuery. In that example, the landing page loads a static image element which is turned into a cropable layer by using Jcrop library. After publishing the PHP crop example, many of the readers asked to publish an article with an example to implement […]
This tutorial was added to PHP.

How to Crop Image using jQuery and PHP

August 9, 2018
Cropping is an action to cut a selected portion from the original image. Image editor software like Photoshop will always have the crop tool. When we build an application to manipulate images, cropping tool is a minimum necessity. In this article, we are going to create a crop tool in a PHP web application to crop […]
This tutorial was added to PHP.

PHP Watermark

January 30, 2014
Adding watermark in PHP is very simple. It can be done using PHP image libraries like GD. Using GD functions, we can use text or image as watermark onto a target layer/document. PHP / GD Text Watermarking Text watermarking functions are, imagestring() – Adding text string into images imagettftext() – Adding text into images using […]
This tutorial was added to PHP.

PHP Image Resize

July 19, 2013
While displaying images for our websites, it is important to ensure that it could be set within our layout boundary. If not, we need to resize these images, accordingly.  In PHP, resizing an image, it can be achieved by using a set of PHP functions to create a new image from scratch, with the given […]
This tutorial was added to PHP.

Get Image Properties using PHP

June 20, 2013
The data or Information that are associated with an image is called as metadata of the images. For example, image type, image width, and height, attributes, created date, last modified date and etc. This information are not obvious to the user on simply viewing the images. In this article, we have to see how to […]
This tutorial was added to PHP.

↑ Back to Top