Image Resizing Class
This class can be used to resize images preserving the aspect ratio.It can open a JPEG, PNG or GIFimage and resize it in such way that neither the width nor the height exceed given size limits.The image is resized to preserve the original proportion between the width and height.The resized image is generated in the JPEG format overwriting the original image file.