Results 1 to 4 of 4

Thread: [RESOLVED] Saving PictureBox Picture (compress)

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Resolved [RESOLVED] Saving PictureBox Picture (compress)

    I've taken over a project and added an option to save a graph draw in a Picturebox. The issue I have is that when the files are saved they come out at around 1.5mb which is a little to large for my liking.

    Is there a way to compress / minimise the size of a saved image from a picturebox?

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Saving PictureBox Picture (compress)

    If you use SavePicture, the picture will be saved with BMP format, you can compress it to JPG. There are libraries to do it, you'll find one of these in vbaccelerator.com and some more in pscode.com.

  3. #3

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Resolved Re: Saving PictureBox Picture (compress)

    Thanks JCIS, i'll give that a shot

  4. #4

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: [RESOLVED] Saving PictureBox Picture (compress)

    Argh nice...1.58mb down to 167kb

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