Printing a GIF
-
Do you know what the GIF is ? I assume not, in which case you'll need to either a/ forget it or b/ pay UNISYS a swag of money. GIF uses LZW compression, and even if your program doesn't make money, you need to pay them if you support GIF. That's why a lot of graphics software ( mine included ) does not support GIF. Assuming you chose GIF at random, the answer for any other format is you need first to read it in, which entails using a library like paintlib ( www.paintlib.de ), then it's merely a case of stretching it onto a print DC. I say stretch because printers measure size in TWIPs and a screen shot in pixels equates to enough TWIPs to make a small postage stamp. If you're using Doc/View most of the work is done for you, if not, there are classes on this page that will give you everything you need.
-
don't! if your app reads GIF files, you have to get a license from the Unisys corporation. this applies even if you use an external appliation (like IE) to read and render the image. use a different format, if possible. -c http://www.smalleranimals.com