Results 1 to 3 of 3

Thread: Manipulation help

  1. #1

    Thread Starter
    Member TheReverend's Avatar
    Join Date
    Jan 2002
    Location
    50° 51' N, 51° 13' W
    Posts
    50

    Manipulation help

    I am writing a program that requires posting captured photos to the web upon completion. I am having trouyble finding any information at all on Changing a photo's size, resolution etc in vb6. Am i reaching too far or is there actually a way to manipulate jpeg files in vb?

    I haven't been let down yet on these forums for tips and advice so i am looking forward to the response. Thanks in advance for whatever help!!!
    To live is the rarest thing in the world. Most people exist, that is all.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You can open the JPEG and manipulate the individual pixels with the SetPixelV API (not too hard, use the PictureBox's hDC. If it's invisible put on AutoRedraw remember...). To save it, look for a nice snippet of code (rather long, a class module!) that saves JPEGs.

    http://www.vbaccelerator.com/ <-- You can find it there.
    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

    Thread Starter
    Member TheReverend's Avatar
    Join Date
    Jan 2002
    Location
    50° 51' N, 51° 13' W
    Posts
    50

    Still lost

    Thanks Sastraxi!!
    i have started my search for how to do this but didn't find anything on the site you sent me. Any other ideas?
    To live is the rarest thing in the world. Most people exist, that is all.

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