By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,305 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,305 IT Pros & Developers. It's quick & easy.

images and text

P: n/a
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.
Jul 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Oz Mortimer wrote:
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 news:comp.lang.c++ 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

Jul 22 '05 #2

P: n/a
Thomas Matthews wrote:
Oz Mortimer wrote:
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 news:comp.lang.c++ 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.


Could be a homework question. its been asked twice recently
last time the image format was a jpg IIRC.

Jul 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.