 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Charles Hacker Guest
|
Posted: Thu Aug 25, 2005 10:04 pm Post subject: Reduce Color Depth of Bitmap |
|
|
Hi all,
I am looking to reduce the color/pixel depth of a bitmap for copying.
The standard
Clipboard.Assign(Bmap);
Seems to copy the full 32bit color image of the display, (Thus the
bitmaps become massive in memory size).
When I try to decrese the pixel depth, as below:
procedure TForm1.ButCopyClick(Sender: TObject);
VAR Bmap: TBitmap;
begin
Bmap:= GetFormImage;
BMap.PixelFormat:= pf16Bit;
Clipboard.Assign(Bmap);
Bmap.Free;
end;
However, the image stored to the clipboard is still in the massive 32bit
(pf32Bit) pixel format.
So I am wondering how to decrease the pixel depth, so only a small
memory (pf16bit) image is copied to the clipbrd.
Regards,
|
|
| Back to top |
|
 |
Ronaldo Souza Guest
|
Posted: Thu Aug 25, 2005 10:28 pm Post subject: Re: Reduce Color Depth of Bitmap |
|
|
Charles,
Check yesterday's (well, that depends on where you are... )thread
"Bitmap Compression Techniques".
HTH,
Ronaldo
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|