Thumnails in C#
-
Hi everybody,Can any one Help me how to create Thumbnails using C#.net. I am using VS2005.I have searched but :confused: :(
-
Hi everybody,Can any one Help me how to create Thumbnails using C#.net. I am using VS2005.I have searched but :confused: :(
-
Hi everybody,Can any one Help me how to create Thumbnails using C#.net. I am using VS2005.I have searched but :confused: :(
You can use
GetThumbnailImage()
to get a thumbnail. Most of the time this will give poor quality images.GetThumbnailImage()
returns the embedded thumbnail from the image and re size to the specified size. You can get good quality thumbnails by usingBitmap
andGraphics
classes. Try the following steps 1 - Create a Bitmap instance with the required width and height. 2 - Load the original image to a Graphics instance (Graphics.FromImage()). 3 - Use Graphics.DrawImage() to draw the image to bitmap. bitmap instance will have the thumbnail image.Navaneeth How to use google | Ask smart questions
-
You can use
GetThumbnailImage()
to get a thumbnail. Most of the time this will give poor quality images.GetThumbnailImage()
returns the embedded thumbnail from the image and re size to the specified size. You can get good quality thumbnails by usingBitmap
andGraphics
classes. Try the following steps 1 - Create a Bitmap instance with the required width and height. 2 - Load the original image to a Graphics instance (Graphics.FromImage()). 3 - Use Graphics.DrawImage() to draw the image to bitmap. bitmap instance will have the thumbnail image.Navaneeth How to use google | Ask smart questions
N a v a n e e t h wrote:
2 - Load the original image to a Graphics instance (Graphics.FromImage()).
That should rather be: 2 - Get a Graphics instance for drawing on the newly created Bitmap (Graphics.FromImage).
Despite everything, the person most likely to be fooling you next is yourself.
-
N a v a n e e t h wrote:
2 - Load the original image to a Graphics instance (Graphics.FromImage()).
That should rather be: 2 - Get a Graphics instance for drawing on the newly created Bitmap (Graphics.FromImage).
Despite everything, the person most likely to be fooling you next is yourself.
Guffa wrote:
2 - Get a Graphics instance for drawing on the newly created Bitmap (Graphics.FromImage).
Yeah. That is more clear.
Navaneeth How to use google | Ask smart questions