Jun 29, 2011 10:53 AM|kedarrkulkarni|LINK
if u look at the code i posted... we have created a separate function ThumbnailCallback..
addressof ThumbnailCallback is setting the delegate.. method of Bitmap.GetThumbnailImage accepts this delegate as parametr..
this delegate is supposed to return true if you want to stop execution of method
GetThumbnailImage else it should retun false.
read this for more information..
and for more about delegate getthumbnailimageabort
in my code.. old.jpg is the name of image file present in the image folder (under root folder there is image folder and old.jpg in that)
new.jpg is the name of the modified image (thumbnail image) from old.jpg
set some jpg image file in u r folder and replace old.jpg with that file name... and run the code... after execution of this code... u can see new image file in same folder with name new.jpg (u can then change name of
new.jpg as appropriate)
let me know if it is working for u
hope this helps...