Results 1 to 4 of 4

Thread: Resizing Image files (jpg or bmp)

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Posts
    2

    Question Resizing Image files (jpg or bmp)

    Does anyone know a way to resize an image file ... I'm making a program to capture screen images to be stored as large and thumbnail sized jpgs. I can convert to jpg no problem but have no idea how to change the size of the picture ... I can work with the picture either in bitmap or after the conversion ... anyone have any ideas? thanks

    Beno
    Centre of the Web
    www.centreweb.com
    State College, Pa

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You can use StretchBlt to stretch it, and then savepicture the .Image.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Addicted Member Osiris's Avatar
    Join Date
    Oct 2000
    Location
    Dimension Hole
    Posts
    142
    Beno,

    did you try setting Autosize = True?
    ؊Ϯϊ

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    AutoSize fits the picturebox to the size of the image, not vise versa.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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