To load a Picture
Using MyImage As Bitmap = Bitmap.FromFile("C:\Temp\MyImage.BMP")
Draw on it with
Using g as Graphics = Graphics.FromImage(MyImage)
and then use g.DrawLine, g.DrawString etc
Use .Save to save the image.
To read/write the image to a database, use a BLOB field, and the Stream
versions of .Save and .Load
--
David Streeter
Synchrotech Software
Sydney Australia
"enrico via DotNetMonster.com" wrote:
how do i open, save and retrieve pictures? with mySQL as my database.
--
Message posted via http://www.dotnetmonster.com