Using VC++ 6.0 and MFC, can somebody show me a function that will do the following:
Given a path to an 8bit grayscale bitmap
1. open the file
2. increase its height by 30pix at the bottom.
3. Fill that new 30px "bar" at the bottom with white
4. Draw a given line of text in that new 30pix high whitespace, in black.
4. Save the file back to disc.
(basically open the existing file and expand it's height to accomodate a 30pixel high bar of whitespace in which I can draw text)
thanks!
Given a path to an 8bit grayscale bitmap
1. open the file
2. increase its height by 30pix at the bottom.
3. Fill that new 30px "bar" at the bottom with white
4. Draw a given line of text in that new 30pix high whitespace, in black.
4. Save the file back to disc.
(basically open the existing file and expand it's height to accomodate a 30pixel high bar of whitespace in which I can draw text)
thanks!