![]() |
Re: Bitmap wird falsch gespeichert?
zB. so:
Delphi-Quellcode:
procedure Dingens(bmp32: TBitmap32; Filename: TFileName);
var bmp: TBitmap; begin bmp := TBitmap.Create; bmp.PixelFormat := pf24Bit; bmp.Width := bmp32.Width; bmp.Height := bmp32.Height; bmp32.DrawTo(bmp.Canvas.Handle, 0, 0); bmp.SaveToFile(Filename); FreeAndNil(bmp); // bmp.Free; end; |
Re: Bitmap wird falsch gespeichert?
Delphi-Quellcode:
Da hätt ich eigentlich auch draufkommen können...
bmp.PixelFormat
Najo Danke, Problem gelöst :thumb: |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:11 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz