Results 1 to 8 of 8

Thread: How to convert to GIF or JPEG in VB 6.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    9

    Question

    Hi,

    I want to convert my drawings to GIF or JPEG on the fly.

    I mean, assuming that I draw on a form or a pciture box using methods like Line, Circle, etc. is there a way in Visual Basic 6.0 to save the image I created in GIF or JPG format so that I don't have to run the program all the time for the same graphic?

    Any help appreciated.

    Thanks in advance.


  2. #2
    Lively Member fujiyama17's Avatar
    Join Date
    Aug 2000
    Location
    Columbus, OH
    Posts
    91
    Dude,
    The only thing that I can think of is doing an alt + Print Screen when you have the window active, then opening up a simple photoshop application, pasting, and then saving JPEG or GIF there... I wasn't sure if this is what you are looking for.. then you can take that image, and put it in your VB project if you like.

    ~Brian
    [email protected]

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    If you have a lot of experience with programming, grab the specs of GIF and JPEG at http://wotsit.org

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    If you're just using things like that, take a look at the WMF spec as well.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    You could ask me and i'll send you the code to save to JPEG
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Oh yeah, Kedaman...that code was pretty good.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Yep, and that's because it's my code, hehe, actually i think i got it somewhere from planetsourcecode.
    BTW, great site wotsit.org
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yes, I found some useful information on MIDI files there for my next project...
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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