[IronPython] Help with bitmap & text

Bruce Christensen t-bruch at microsoft.com
Fri Aug 4 15:57:55 CEST 2006


You can use the types in the System.Drawing namespace to accomplish what
you want. I found a pretty good example of how to overlay text on images
at http://www.codeproject.com/dotnet/vbtextoverlay.asp. A search for
".NET image overlay text" should turn up some other good resources.

--Bruce

-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of
Dog.23443238 at bloglines.com
Sent: Tuesday, July 25, 2006 1:20 PM
To: users at lists.ironpython.com
Subject: [IronPython] Help with bitmap & text

I need to open a small bitmap file, either BMP or JPG, add up to 4 lines
of
text, then save the file. Can anyone suggest a solution or point me in
the
right direction?

The image files contain data for viewing on my portable
MP3 player, things like my address book, Google calendar info, weather
forecasts,
shopping lists, etc. Anything in a short text file (4 lines max). 

My original
app is in CPython, made very simple to use due to the use of both PIL
and
PythonCard. It looks like PIL was going to be ported, but never
completed.
That's a shame, because PIL is so simple and powerful.


_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list