Re: Writing text to a bitmap file

new topic     » goto parent     » topic index » view thread      » older message » newer message

csaik wrote:
> 
> When writing text to a bitmap file, it is the same process as if you were
> writing
> text to a regular flat file?
> 
> Basically, I have a bitmap that is 600x400 pixels.  If I wanted to write a
> string
> of text beginning at (30,50), how do I do this?
> 
> Thanks for the help.

Hi

A file is a file is a file is a file, no matter what the oerating system, its
the program that decides its type.

In windows (and I'm not sure if there's a linux equivalent), you need to use one
of the graphic libraries (freedib, gd, win32dib, look for bitmap in the archive)
to load your bitmap into memory, use one of the functions to write to it (in
memory), and then write it back out to disk.

I can't remember the exact functions / procs to do this, but there in the docs.

Chris

http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu