Results 1 to 5 of 5

Thread: Rezize an image in code

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    Brisbane Australia
    Posts
    150

    Question Rezize an image in code

    If I have a JPG image say 320x219 is there a way to create a copy of the image say as a thumbnail of 120x82 in VB.NET without 3rd party controls ??

    would appreciate any help

    thanks BH

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Use a bitmap object. Create an instance, then call the GetThumbnail method.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    Brisbane Australia
    Posts
    150

    resize image

    Thankyou
    i've never used pictures/images in code before without 3rd party controls. This sounds really simple. Woula appreciate a few lines of code as I am unsure what to do. Will this work with a JPEG or does it have to be a bitmap ??

    BH

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Why not try a search it'll do wonders?

    http://www.vbforums.com/search.php?s...der=descending

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    Brisbane Australia
    Posts
    150

    resize image

    thanks ed
    I tried a search on 'resize image' and got nil response. I always try a search first. I did a search on gooogle and found quite a few entries, just a matter of working thru them

    thankyou bh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width