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
winston 0
NA
10
0
Write GIF is diffirent from Read GIF,Why?
Aug 17 2004 8:24 AM
i want read a GIF file to stream and then write stream to another place,but i find that my GIF file is diffirent from the old one, it is ugly then the old one, why this is the code System.Drawing.Bitmap TargetBitmap = new System.Drawing.Bitmap(bmp,bmp.Width,bmp.Height); System.Drawing.Graphics bmpGraphics; bmpGraphics = System.Drawing.Graphics.FromImage(TargetBitmap); System.Drawing.Rectangle rect = new System.Drawing.Rectangle(0, 0, bmp.Width,bmp.Height); bmpGraphics.DrawImage(bmp,rect,rect,System.Drawing.GraphicsUnit.Pixel); TargetBitmap.Save(mstream,System.Drawing.Imaging.ImageFormat.Gif); but when i read data from mstream, it is diffirent from the old one, it is not clearly then the old one, why?
Reply
Answers (
4
)
New DirectX9.0c SDK differs with 9.0b ?!?!
How can I delete things which I drew with GDI+