580x819 picture

Blitz3D Forums/Blitz3D Bug Reports/580x819 picture

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think I found a quite surprising crash with Blitz3D.

When you try to load a 580x819 sized picture, the LoadImage (and LoadTexture) function will crash.

Its not specific to a certain file : Create a picture of that dimension, whatever the type is (jpg, bmp, png) it will crash.

It wont crash anymore if a dimension is changed by even 1 pixel. A 819x580 picture will not crash either.

The code to reproduce the crash cant be simpler and should work (well, crash) with any 580x819 picture :


Graphics3D 800,600,32,2
img = LoadTexture("580x819.jpg")
DebugLog "This will not appear, should crash before."