| www.delorie.com/archives/browse.cgi | search |
| From: | "Jarkko Kähkönen" <Jarkko DOT Kahkonen AT mbnet DOT fi> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <h9Lg4.2696$eq DOT 31448 AT uutiset DOT nic DOT fi> <3883C036 DOT E279E731 AT home DOT comNOSPAM> |
| Subject: | Re: Calculating transparent pixels in Allegro |
| Lines: | 23 |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| Message-ID: | <T43h4.2792$eq.32988@uutiset.nic.fi> |
| Date: | Tue, 18 Jan 2000 21:26:20 +0200 |
| NNTP-Posting-Host: | 212.38.231.221 |
| X-Trace: | uutiset.nic.fi 948223411 212.38.231.221 (Tue, 18 Jan 2000 21:23:31 EET) |
| NNTP-Posting-Date: | Tue, 18 Jan 2000 21:23:31 EET |
| Organization: | NIC Tietoverkot Oy - NIC Data Networks Ltd. |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
>> I use Allegro. >> And I have a program, which calc transparency of about 16 000 pixels in one >> frame.:) >> If I use getpixel, getr16, getg16 and getb16 and some other functions to get >> transparent color between two colors, it is too slow. I use 640x480/16bit >> mode. > >Have you considered blitting the entire screen or image to a memory buffer, and >comparing from that directly? How I can do it? Jarkko Kähkönen Jarkko DOT Kahkonen AT mbnet DOT REMOVETHIS DOT fi
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |