It is certainly possible - but DOS graphics is pretty limited, and you will certainly be much better off with writing such an app for Windows - but it is also harder in some ways (but writing a JPEG...
Type: Posts; User: matsp
It is certainly possible - but DOS graphics is pretty limited, and you will certainly be much better off with writing such an app for Windows - but it is also harder in some ways (but writing a JPEG...
Yes, you can do this from C or C++.
Assuming you are writing a Windows applicaton (rather than a console app), the basic functions you need are (amongst others):
LoadImage()
BitBlt()
--
Mats
Turbo C is about 15 years old, and doesn't know about Windows - BMP is the native Windows bitmap format. JPEG was standardized in 1992, and I very much doubt that Turbo C has any support for it.
...