CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2000
    Posts
    6

    setting size of jpegs in vbb

    Hi,
    how can i change the size of a jpeg file in VB?(not in a picture box, but the real file.)

    bzw.
    wie kann ich in VB die Grösse einer JPEG Datei ändern? (nicht in einer picture box, sondern die Datei selbst.)

    thanx for all replies!


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: setting size of jpegs in vbb

    I know only a trick:
    you load the file in a imagebox, set it the size you like, you capture the image and then write the new file with the image just captured (look throug this forum, you will find some ways to capture portion of screen and to save as bmp and to convert as jpeg).
    Hope this may help.
    Cesare Imperiali

    Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured