Results 1 to 12 of 12

Thread: how do you compress an image?

Threaded View

  1. #10
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: how do you compress an image?

    No, that code was just for the JPEG codec. JPEG image types allow you to change the compression percentage. Other types do not allow this. BMP's are uncompressed, GIF's dont have "compression", just different pallettes I believe (2-bit, 4-bit, 8-bit, etc). Thats why I was saying that each image type would be different, because it would matter on the image type that you are trying to work on.

    In regards to your question about giving a preview, you can just run the code, saving it to some temp file, then load that temp file right back into a picturebox to see the preview. Just a quick solution using the code provided...
    Last edited by gigemboy; Jun 3rd, 2006 at 12:00 PM.

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