Message-ID: <4jIlTG$IuY@bbs.sjtu.edu.cn>
Subject: Re: ��蹋���未���一���碌�bmp�募�写�����
Date: Mon, 07 Dec 2009 14:10:27 +0000
From: Unknown <anon@nohost.local>
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.dotnet.mbox.zip!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!newsfeed.straub-nv.de!news.shec6.edu.cn!SJTU
Newsgroups: cn.bbs.comp.dotnet
Organization: ��水思源
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: DotNET/M.1260194944.A
Xref: 74.82.202.154 cn.bbs.comp.dotnet:9072

������LockBits���?

Bitmap�约���Save����,����filename���伞�

�� �� seasonppp (pp) �拇������到: ��
: ������原�������诟�bmp图������要����一������写�����
: Bitmap ^image=gcnew Bitmap(height,width,System::Drawing::Imaging::PixelFormat:
: :Format8bppIndexed);
: System::Drawing::Rectangle rect(0,0,width,height);
: BitmapData^ dataOut = image->LockBits(rect, 
: System::Drawing::Imaging::ImageLockMode::WriteOnly,image->PixelFormat); 
: Byte * pOut = (Byte*)(dataOut->Scan0.ToPointer());
: ������械�������时���卸��耍���argument exception,��没��童鞋知��������么���掳�
: ���眉����耍���没������������ing...


--
水源������....Parttime->Job->WorkLife->FamilyLife....

�� ��源:����水思源 bbs.sjtu.edu.cn��[FROM: 202.120.45.80]