ImageMan ActiveX
Creating Thumbnails

Creating thumbnails is as easy as loading an image into the image control and then invoking the ScaleImage method with the width and height of the desired thumbnail.

 

For instance the following code loads an image, creates a 100x100 thumbnail and saves the thumbnail:

 

ImageControl1.Picture = "big.jpg"

ImageControl1.ScaleImage 100, 100

ImageControl1.SaveAs "Thumb.jpg"

 

 


© 2014 Data Techniques, Inc. All rights reserved.

Submit feedback on this topic