Oz said:
Hi There
Does anyone have an example of how to overlay text onto an image (.gif) and
then save the file?
Any good class files or source out there?
Many Thanks
Oz.
Graphics issues are not topical in the newsgroup
since there is support for them in the _standard_ C++ specification.
Try asking in a graphics or general programming newsgroup.
See the FAQ and welcome.txt below.
<Off-Topic>
In order to overlay text onto an image, the text must be converted
into an image. Once the text is converted into an image or bitmap,
it can be merged onto the image using any number of transformations
(such as OR, XOR, AND).
Converting text into an image or bitmap requires a font. Some fonts
have bitmaps for each character. Other fonts represent the font as
a collection of vectors and fill commands. These fonts require a
processor / function to convert to a bitmap.
Search for the web for "text bitmap conversion scalable".
</Off-Topic>
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq:
http://www.parashift.com/c++-faq-lite
C Faq:
http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book