Image Processing

 

 

 

Image transformations

VIMAS Web Image Guru Suite and software development kit VIMAS Imaging SDK has a rich set of image transformation tools. They make it possible to do following image processing tasks: flipping, rotating, resampling, and cropping. This is fairly standard functionality, but the crop tool has some features, tuned for creating image thumbnails.

Advanced crop functionality

A common problem with thumbnail generation is: How to generate the thumbnail in exactly the required size?
   If the aspect ratio of the big image is saved and used for the thumbnail, it can happen that the thumbnail cannot be generated to fit the pre-defined dimensions, which have been determined for the particular thumbnail (on Fig.1 we get 100x65 instead of demanded 100x100).

   If the aspect ratio of the big image is discarded, the thumbnail may be stretched to fit the required size, however the results may sometimes be very peculiar. What can users do to ensure that all thumbnails have the same dimensions?
There are two ways:

  • Don't save the aspect ratio. In this case, the image will be stretched to the required size (Fig.2);
  • Try to crop some area from the large image in order to change the aspect ratio to the same as the required by thumbnail size. This is not an easy task to do manually, but if successful, the result will be a nicely proportional thumbnail (Fig.3).
    In VIMAS products both methods may be used. In the second variant it  will be automatically calculated how the big image should be cropped in order to produce the same aspect ratio that the thumbnail requires in order to fit the pre-defined thumbnail dimension. You may select Crop by Demanded Proportions to accomplish this task.
Click to see original image
Fig.1 Save aspect
ratio, 100X65


Click to see original image
Fig.2 Discard aspect
ratio, 100x100


Click to see original image
Fig.3 Crop by
Demanded Proportions,
100x100

 

VIMAS image processing technologies:

For support feel free to contact us: info@vimas.com or leave your message on the Forum




Copyright (c) 1995-2006, VIMAS Technologies. Last modified 02/08/2007 16:14
E-mail: info@vimas.com