hello..
i want to do thumbnail but i dont have any idea about it..Can anybody help me out.. and i do enough search cant find helpful article
Hi guestadmin@nirvriti.com,
As far as I think,you could get a image file and then use GetThumbnailImage method to make a thumbnail image.
Just like this:
Image image = Image.FromFile(fileName); Image thumb = image.GetThumbnailImage(120, 120, ()=>false, IntPtr.Zero); thumb.Save(Path.ChangeExtension(fileName, "thumb"));
More details,you could refer to below articles:
https://stackoverflow.com/questions/2808887/create-thumbnail-image/2808901#2808901
https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image.getthumbnailimage?redirectedfrom=MSDN&view=dotnet-plat-ext-3.1#System_Drawing_Image_GetThumbnailImage_System_Int32_System_Int32_System_Drawing_Image_GetThumbnailImageAbort_System_IntPtr_
Best regards,
Yijing Sun
yij sun
Thanx for the concern....its done...