Working with large bitmaps in Firemonkey causes error

  

I’m unable to create a bitmap with width or height greater than 8192 pixels. This is the maximum texture size defined by DirectX 10 and set in TCanvasD2D.GetAttribute (DefaultMaxTextureSize = 8192;). The problem is, that’s not very big. Many photos are larger than that. Is there a way around it or do I just accept that this is the limit? This is not an issue in VCL, where the limit is 65535. I’m using Delphi 10.4.
procedure TForm1.FormCreate(Sender: TObject);
var
Bmp : TBitmap;
begin
Bmp := TBitmap.Create;
Bmp.SetSize(100, 8193);
end;

Comments are closed.