Software Listing of Author : "Salman Arshad"
- Apply Round Corners to Images On-The-Fly
- License: Shareware
- Price:


The code snippet uses PHP + GD library to apply round corners on an image on-the-fly. It allows you to apply round corners of any size (radius) and color on a GIF, JPEG or PNG image. The script accepts a path or URL of an image and the resulting output can be sent to the browser directly in PNG or JPEG format.This script should work with PHP 4 or later with GD library version 2.0 or better. The script does not require an overlay image or other dependencies.
- Publisher: Salman Arshad
- Date Released: 23-11-2011
- Download
- Platform: PHP, Scripts
- Convert Text to Image On-The-Fly
- License: Freeware
- Price: 0.00


The following code sample demonstrates how you can use the built-in ASP.NET classes to generate a graphical representation of a single line of text. The example is quite intuitive and only uses three parameters: (1) the text (2) font size and (3) font color. The generated graphic is a 256 color GIF image with transparency. This example includes a palette hack for forcing a transparent background on the GIF image. You can use this script to replace all email addresses on your website with GIF images which makes it difficult for email harvesters (spambots) to harvest.
- Publisher: Salman Arshad
- Date Released: 19-11-2011
- Download
- Platform: Asp.Net, Scripts
- Crop-To-Fit an Image Using ASP and Persits ASPJpeg
- License: Freeware
- Price: 0.00


This article+code demonstrates a technique that combines resizing and cropping to fit an image in given dimensions. The script accepts an uploaded image of arbitrary size and aspect ratio and resizes it to given dimensions, cropping the image to fit if necessary. This results in evenly sized image ideal to be used as fixed-size thumbnail.Unfortunately, classical ASP does not provide native methods for handling file uploads and processing images. Therefore, we will have to use Persits Software AspUpload and Persits Software AspJpeg component to upload and process the image.
- Publisher: Salman Arshad
- Date Released: 03-10-2011
- Download
- Platform: Asp, Scripts
- PHP Rounded Corner Graphics Generator Script
- License: Shareware
- Price:


This PHP code sample uses GD library functions to generate rounded corner graphics. The script allows you to specify corner radius, corner color and background color and generates the graphics in GIF format. Use this script to dynamically generate rounded corners that blend nicely into your HTML/CSS design.
- Publisher: Salman Arshad
- Date Released: 18-05-2011
- Download
- Platform: PHP, Scripts
- Resize Uploaded Images/Generate Thumbnails
- License: Freeware
- Price: 0.00


This script demonstrates how to use PHP and GD-library functions to generate thumbnails of uploaded images in the fly. The script first saves the uploaded image in a specific location (for backup or archival). It then generates a thumbnail version of the image and finally saves the generated thumbnail image in JPEG format. The script assures that the aspect ratio of original and thumbnail image are always maintained. The script supports GIF, JPEG and PNG file handling and resizing.
- Publisher: Salman Arshad
- Date Released: 06-08-2011
- Download
- Platform: PHP, Scripts
- Watermark your images using overlay image
- License: Freeware
- Price: 0.00


This article along with complete code demonstrates the use of PHP and GD-library to watermark uploaded images on the fly. The method demonstrated here to watermark an uploaded image is to overlay the original image with another image (superimposition).You can use this script to copy protect the images that you display on web. For this purpose you can use your logo as the watermark image. A copy of the original uploaded image is stored separately for archival. The script works optimally with 256 color PNG images.As a bonus, the example also demonstrates basic file upload handling.
- Publisher: Salman Arshad
- Date Released: 02-05-2011
- Download
- Platform: PHP, Scripts
- Watermark your images using text and TTF fonts
- License: Freeware
- Price: 0.00


The code sample demonstrates the use of PHP and GD library to watermark uploaded images on the fly. This method imprints the specified text over the image using GD-library functions and true type fonts. You can use this script to copy protect the images that you display on web by permanently imprinting a message (e.g. a copyright note) on the image. The script is very versatile. You can modify the script parameters to change the font, color, opacity, alignment and rotation. You can also use any standard true-type font of your choice. A little bit of uploaded file handling is also demonstrated in the code, the original uploaded image is saved as a backup.
- Publisher: Salman Arshad
- Date Released: 21-06-2011
- Download
- Platform: PHP, Scripts

