Results 1 to 3 of 3

Thread: easiest image to show

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    easiest image to show

    what is the image filetype with the best compression, yet the easiest to open in C++? I've heard JPEG is extremely hard. Possibly GIF? Im sending images accross winsock..so I need the compression, BMP isn't cutting it.

  2. #2
    Zaei
    Guest
    You could compress a bitmap by removing the unused byte from each color. If you dont need the quality, you could also send every other row of pixels, and fill the ones you dont send with black. You could scale the image down by one half the size, and send that as well, then scale it up on the other end. All of these are very easy to do (the first might take a bit of work though =).

    Z.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    JPEG is extremely hard, but it's the best for complicated images, and you can find libraries that do that on the internet.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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