[0.15.1] take_screenshot, black border on thin shots

We are aware of them, but do not have solutions that don't cause other issues. They go here in order not to take space in the main bug thread list.
aaargha
Filter Inserter
Filter Inserter
Posts: 337
Joined: Wed Dec 07, 2016 8:35 am
Contact:

[0.15.1] take_screenshot, black border on thin shots

Post by aaargha »

When using the take screenshot command parts of the result will just be a black border if the screenshot is "thin". It seems to happen if the resolution is less than 64 pixels in either direction.

Commands used to take pictures:

Code: Select all

/c game.take_screenshot{resolution={33,100}}
/c game.take_screenshot{resolution={33,33}}
/c game.take_screenshot{resolution={100,33}}
/c game.take_screenshot{resolution={64,64}}
Attachments
screenshot3.png
screenshot3.png (1.09 KiB) Viewed 1303 times
screenshot2.png
screenshot2.png (4.77 KiB) Viewed 1303 times
screenshot1.png
screenshot1.png (4.19 KiB) Viewed 1303 times
screenshot.png
screenshot.png (8.56 KiB) Viewed 1303 times
Harkonnen
Fast Inserter
Fast Inserter
Posts: 207
Joined: Fri Sep 02, 2016 9:23 am
Contact:

Re: [0.15.1] take_screenshot, black border on thin shots

Post by Harkonnen »

This appears to be some deep minor bug inside Allegro because --force-opengl solves the problem.
Post Reply

Return to “Minor issues”