theo wrote:
Both LoadFromRawImage and LoadFromIntfImage seem to work here without
any conversion by me.
I'm now on a 16bit display for testing, and it has no problem showing
the BPP32_B8G8R8A8_BIO_TTB image using
either mehtod.
Complicated matter without documentation. ;-)
Thank you both Marc
Both LoadFromRawImage and LoadFromIntfImage seem to work here without
any conversion by me.
I'm now on a 16bit display for testing, and it has no problem showing
the BPP32_B8G8R8A8_BIO_TTB image using
either mehtod.
Complicated matter without documentation. ;-)
Thank you both Marc an Mattias
The TLazIntfImage.Colors property converts automatically.
Thanks, I am aware of this.
/ Is it safe to assume that the pointer from IntfImg.GetDataLineStart is
// always pointing to a PRGBTripleArray ?
/
No.
So the wiki example is misleading?
Is there a built in method in TLazIntfImage to
On Sat, 17 Jul 2010 23:45:39 +0200
theo x...@theo.ch wrote:
The TLazIntfImage.Colors property converts automatically.
Thanks, I am aware of this.
/ Is it safe to assume that the pointer from IntfImg.GetDataLineStart is
// always pointing to a PRGBTripleArray ?
/
No.
So the wiki
Ah, now I see. Thanks!
I tried like below, it seems to work.
TBitmap.LoadFromIntfImage seems to care about the back-conversion, right?
procedure TForm1.Button1Click(Sender:TObject);
var li1,li2:TLazIntfImage;
Description: TRawImageDescription;
Row1: PRGBQuadArray;
i:integer;
begin
On Sun, 18 Jul 2010 01:02:03 +0200
theo x...@theo.ch wrote:
Ah, now I see. Thanks!
I tried like below, it seems to work.
TBitmap.LoadFromIntfImage seems to care about the back-conversion, right?
AFAIK: no
The intfimage must be in a compatible format.
Mattias
--
Mattias Gaertner wrote:
On Sun, 18 Jul 2010 01:02:03 +0200
theo x...@theo.ch wrote:
Ah, now I see. Thanks!
I tried like below, it seems to work.
TBitmap.LoadFromIntfImage seems to care about the back-conversion, right?
AFAIK: no
The intfimage must be in a compatible format.
I thought it