Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Thumnails in C#

Thumnails in C#

Scheduled Pinned Locked Moved C#
csharphelptutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 1490259
    wrote on last edited by
    #1

    Hi everybody,Can any one Help me how to create Thumbnails using C#.net. I am using VS2005.I have searched but :confused: :(

    G N 2 Replies Last reply
    0
    • M Member 1490259

      Hi everybody,Can any one Help me how to create Thumbnails using C#.net. I am using VS2005.I have searched but :confused: :(

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Look at the System.Drawing.Image.GetThumbnailImage method.

      Despite everything, the person most likely to be fooling you next is yourself.

      1 Reply Last reply
      0
      • M Member 1490259

        Hi everybody,Can any one Help me how to create Thumbnails using C#.net. I am using VS2005.I have searched but :confused: :(

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        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 using Bitmap and Graphics 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

        G 1 Reply Last reply
        0
        • N N a v a n e e t h

          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 using Bitmap and Graphics 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

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          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 1 Reply Last reply
          0
          • G Guffa

            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 Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups