TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basit Khan
NA
336
122.5k
How to reduce the size of Binary image.
Aug 3 2016 1:16 PM
hi,
I have store binary image in my database. the sizes(width&height) are different different in database.
now i want to show the image, while showing the image i want to reduce the size.
Dim abc As String
abc = System.Text.Encoding.Unicode.GetString(dr("Image2"))
'then the result is
picture.image="data:image/gif;base64,R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub//ge8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1hLnjM5UUde0ECwLJoExKcppV0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7"
above is the example to show the image.
Thanks
Basit.
Reply
Answers (
2
)
Hot to make alert box appear on the same page not on bank
How to allow duplicate table in dataset?