Re: images and text

From: Thomas Matthews (Thomas_MatthewsSpitsOnSpamBots_at_sbcglobal.net)
Date: 12/05/03


Date: Fri, 05 Dec 2003 15:17:43 GMT

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


Relevant Pages

  • Re: Legality of using Fonts
    ... I converted the TTF file into a bitmap"). ... almost the entire X11 bitmap font collection would ... Fonts aren't subject copyright, ... by converting to a bitmap) is no more legal than ...
    (comp.lang.python)
  • Re: latex very slow on mac os x
    ... I don't know is my system is building type 3 bitmap pk fonts. ... How I can proceed to install a nice set outline fonts and to use it? ... I'd also suggest you check the FAQ or CTAN for l2tabu ($$ for displayed ...
    (comp.text.tex)
  • Re: Russian words dont convert
    ... whatever on the fonts issue, ... Also, why does the Russian get converted in Doc1, but not in Doc2? ... julie s. ... I have tried converting the file back into ...
    (microsoft.public.word.conversions)
  • Re: How to save to a bitmap?
    ... Bob Powells GDI+ FAQ is a great FAQ to read ... public Bitmap bmp; ... I've tried also: Graphics g = Graphics.FromImage; ... Bitmap bmp = new Bitmap ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Displaying GrayScale Images
    ... Your FAQ was very helpful. ... > palette of a GIF image which will enable you to crete a custom grayscale ... > Find great Windows Forms articles in Windows Forms Tips and Tricks ... was to create a bitmap and copy the captured ...
    (microsoft.public.dotnet.framework.drawing)