Results 1 to 8 of 8

Thread: how to save pictures as jpg or gif

  1. #1

    Thread Starter
    Addicted Member Xdream's Avatar
    Join Date
    Mar 2001
    Location
    Switzerland
    Posts
    194

    Cool

    I know saving the pictures as .bmp files but how can I save the same pictures as .jpeg , .jpg or .gif without having the same size as .bmp files? who can tell me the code to save pictures in usual .jpg or .gif files?

  2. #2
    Guest
    Use the SavePicture method, and specify either a .gif or
    a .jpg as the filename to save to.

    Z.

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Zaei, he said WITHOUT the same size.... I dunno, you'd have to have a 3rd party control or know the filetype...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4
    Guest
    Im pretty sure he meant file size. He doesnt want his
    pictures to be huge, so he wants to save them as little
    jpgs.

    Z.

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    But when you use savepicture it will ALWAYS output a bmp, no matter what the filename is. EX. pic.bmp would be the same size as pic.jpg when saved under different filenames using savepicture.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6

    Talking The answer to your question

    Hey,
    I have a program that converts any image to what ever file type that you want it to be. And it gives you a bunch of options (ex: image size, colors, special f\x, etc). If you want the program, just e-mail me and I can send it to you and stuff. LAter.
    |`````````````````````````````
    | ||||| Mike [n00b] |
    | (o.O) VB prog 4 hire |
    |//( VB )\\ ElectricFuneral.da.ru |
    |0 ------- 0 |
    | | | | |
    | /`\/`\ |
    | ````` |
    |____________________________|

  7. #7

  8. #8

    Thread Starter
    Addicted Member Xdream's Avatar
    Join Date
    Mar 2001
    Location
    Switzerland
    Posts
    194

    Thumbs up thank you guys

    I see, there are some ideas and solutions for my question. And I guess you got my problem with saving the files as .gif or .jpeg. They should be smaler than .bmp and compressed but not too bad in quality, you know. (Just to make clear what I meant). Anyway, if anyone has a code example... and in the mean time, I'll try the ones you wrote here.

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