Allright so it seems there's a limit of the area that the preview can handle, and if it tries to go over that limit XY crashes with a runtime error 480: Can't create AutoRedraw image
I'm not sure what the limit is (or if it's memory-dependant or something), but I'd say (for me) it's aroung 9 000 000 (which is what I use as max area in order to try avoiding crash)
For example, I can preview this one:
Code: Select all
Type: JPEG file (JFIF v1.2)
Size: 2491 x 3600
Colors: 16M RGB (24-bit)
Area: 8 967 600 pixels (35 870 400 bytes video mem)
File size: 331 151 bytes, loaded in 716 ms
Compression ratio: 1,23%Code: Select all
Type: JPEG file (JFIF v1.2)
Size: 2522 x 3600
Colors: 16M (24-bit)
Area: 9 079 200 pixels (36 316 800 bytes video mem)
File size: 328 840 bytes, loaded in 7 ms
Compression ratio: 1,21%
XYplorer Beta Club