|
-
Feb 24th, 2002, 09:41 PM
#1
Thread Starter
Frenzied Member
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.
-
Feb 25th, 2002, 12:09 AM
#2
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.
-
Feb 25th, 2002, 11:21 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|