Click to See Complete Forum and Search --> : easiest image to show
SteveCRM
Feb 24th, 2002, 08:41 PM
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.
Zaei
Feb 24th, 2002, 11:09 PM
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.
CornedBee
Feb 25th, 2002, 10:21 AM
JPEG is extremely hard, but it's the best for complicated images, and you can find libraries that do that on the internet.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.