From: "Marvin Reimer" Newsgroups: borland.public.delphi.graphics Subject: Re: Create Large Bitmap Date: Tue, 8 May 2001 23:41:58 +0200 Organization: T-Online Lines: 27 Message-ID: <9d9p99$e8l$03$1@news.t-online.com> References: <3af79558$1_1@dnews> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Real-X-Trace: news.t-online.com 989358186 03 14613 dNxLSFkbSiHE6t 010508 21:43:06 X-Real-X-Complaints-To: abuse@t-online.com X-Sender: 520029155194-0001@t-dialin.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 194.25.134.126 X-Trace: dnews 989361551 194.25.134.126 (8 May 2001 15:39:11 -0700) Path: dnews!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Xref: dnews borland.public.delphi.graphics:38697 > Hi everybody! > How i can create very large bitmap? Fro example 5000x5000 pixels? > As Paint and PhotoShop? When i write > Bitmap := TBitmap.Create; > Bitmap.Width := 5000; > Bitmap.Height := 5000; - here rises exeption "out of resourses", but > i can load very large bitmap (more 40 Mb) from file: > bitmap.LoadFromFile('test.bmp') ; > How to create this large file programically? > Thanks! Hi Rustam! Take a look at http://www.torry.net/vcl/graphics/bitmap/bitview.zip from http://www.torry.net/bitmap.htm (torry) It is a good example on how to read Big Bitmaps with Memory Mapped File Technology. Have Phun! Marv