Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Silverback  
#1 Posted : Sunday, October 8, 2006 1:05:59 AM(UTC)
Silverback

Rank: Member

Groups: Member
Joined: 10/7/2006(UTC)
Posts: 2

We've converted our code, but we store all our images in the database. I can't seem to find a way of getting my ADODB.Stream containing the image into the Bitmap class, as it insists it wants a System.IO.Stream class, and I don't know how to convert it.

Any ideas?
Dmitry  
#2 Posted : Sunday, October 8, 2006 5:52:56 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

You can save your image to memory buffer from ADODB.Stream, then create System.IO.MemoryStream using this memory buffer and load image into Graphics Mill for .NET.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.