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
Fred Tededmondson
NA
12
86.2k
Graphics.DrawImage - Stop Interpolation
Jan 9 2011 11:18 AM
Hi, all,
I am trying to take manual control over the TreeView.DrawNode event (in windows forms app, .net 3.5, vs2010). I've been successful, but when I try to add a small graphic to the node with...
e.Graphics.DrawImage(img, pt);
...it is interpolating the image for some reason, giving it an antialiased look. The img is black and white and needs to stay crisp to match the rest of the thing.
I can't find a way to use a vector image in .NET. I know it's not trying to get the size right, because I had to shrink it myself (it just shows whatever size the image has, but interpolated). So how do I get a crisp, black and white image?
Reply
Answers (
2
)
Morphing a Fisheye to Panorama
Can We Develop Some Animation?