Hello all,
I need to get Ascii text data into any image file format. Any suggestions?
Thanks
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Hello all,
I need to get Ascii text data into any image file format. Any suggestions?
Thanks
You can write text on top of an image:
oImage:Say( nRow, nCol, cText, ... )
Please review Class TWindow Method Say(). As Class TImage inherits from TControl and TControl from TWindow, then you can use Method Say() on a TImage object too
Antonio,
Thanks for the quick response.
My problem my be more complicated. I am looking to use freeimage
to create a tif.
I need to make the final image file contain the text.
The Image:say() does not modify the image object before I save it in freeimage.
Thanks
Dave,
Once you write on top of the image then you can do this:
DibWrite( "screen.bmp", DibFromBitmap( WndBitmap( oImage:hWnd ) ) )
If you need to save it in a different format from BMP, please review Class TImage Method SaveImage(), and modify it based on the previous msg source code
Antonio,
It is looking good!
Thanks for the help