Results 1 to 12 of 12

Thread: Image formats...............

  1. #1

    Thread Starter
    Addicted Member Smie's Avatar
    Join Date
    Jun 1999
    Location
    Columbus, OH
    Posts
    249

    Question

    I was thinking, im kinda playing around with a paint program, is it possible to save a picture as your own type of format, that would be SMALLER (in KB) thank your average .bmp .jpg .gif ect?? If not, what is the smallest type i can save it as? thanks a bunch!

  2. #2
    Guest
    A standard GIF is probably the smallest (but low quality) and a Bitmap is the largest (but with high quality). VB can only save in Bitmap format. If you want to save in a different format, you'd have to write your own code to do it or get a 3rd party control.

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Jpg's are usually smaller, but actually that depends on the detail of the image, a Gif is composed of 256 colors and isn't affected but a jpg would get lower quality except if you use a lower compression level.

    If you want i can send you the source code to save a jpeg image
    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.

  4. #4

    Thread Starter
    Addicted Member Smie's Avatar
    Join Date
    Jun 1999
    Location
    Columbus, OH
    Posts
    249
    yes, please send!


    [email protected]

  5. #5
    Guest
    ummmmm. JPG's are the smallest, but GIF's load faster because they dont have to be decompressed.

    and GIF's are really crappy looking because it only uses 256 colors.

    JPG's almost always keep the colors looking good, but the anti-aliasing(keeping it looking smooth) is bad if the image is of lower quality.....


  6. #6
    Guest
    I would like the JPG code too!!

    Thanks.

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Could you send me the JPEG code?
    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

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    ok, sure, but parksie, i need your email ad
    Oops...sorry. Guess that is kind of important . Thanks for the code anyway. I see that it uses the Intel JPEG library - I've used that in C++, but never tried to from VB. Could be useful.
    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

  9. #9
    Guest

    Thumbs up kedaman, please send me a copy

    I think I already got it from one of your posts here, but I misplaced it. Pretty cool, varying the compression (if it's the same code). In fact, I found this post trying to track the other post down.

    [email protected]

  10. #10
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Hmm, i get my cable connection in about one week, so i'll send you then if you haven't found it earler
    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.

  11. #11
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Originally posted by denniswrenn
    ummmmm. JPG's are the smallest, but GIF's load faster because they dont have to be decompressed.
    Gif's are compressed, they use LZW compression.

  12. #12
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425
    Could you send it to me as well please? My email is [email protected]

    Thanks!!

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