🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16860

pf1Bit

#16860
From: Vinko
Date: Tue, 22 Apr 2003 17:39
11 lines
1250 bytes
Hi!

How to read bitmap pixels values, if bitmap color depth is only 1 bit (black
& white)?
Canvas->Pixels[x][y] can simply read pixel value, but it is too slow.
I would like to read pixels with ScanLine method. If bitmap is pf8bit,
pf24bit or pf32bit
i can do that, but with pf1bit, without luck. I also tryed with bits
shifting.

THANK YOU, Saso
Technical Details
Message-ID: <3ea57e72@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,65f0c0461351ae3c,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-22 10:45:49 PST
From: "Vinko" <digitalsv@email.si>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: pf1Bit
Date: Tue, 22 Apr 2003 19:39:09 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.250.63.238
Message-ID: <3ea57e72@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051033202 213.250.63.238 (22 Apr 2003 10:40:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail