Page 1 of 1

Screenshot of specific gui window

Posted: Tue Dec 24, 2019 12:46 pm
by ichVII
TL;DR
I would like to have a command, that can create a screenshot of a single gui window.

What ?
Add a screenshot method to the luaGui. It will output a picture of the gui window, which does not include transparency. Furthermore, if there are scroll bars, it enlarges the window until the scroll bars vanish.


Why ?
The use case i am most interested in is a quick way to produce images of every blueprint in a blueprint book. I can just run a command to open every blueprint gui one by one and then take the picture. Other people might be interested in doing this as well.

Re: Screenshot of specific gui window

Posted: Tue Dec 24, 2019 1:34 pm
by DanGio
Not entirely sure this would suit your needs, but do you know about the Blueprint bot? It's on the official Factorio discord & reddit, you can also add it to your own discord. Give it a BP string and it returns a nice image of the blueprint with a list of ingredients.

Re: Screenshot of specific gui window

Posted: Tue Dec 24, 2019 1:40 pm
by ichVII
That sounds nice and helpful, but I assume it does not work with entities created by mods. If it did, it would be exactly what i need.

Re: Screenshot of specific gui window

Posted: Tue Dec 24, 2019 4:41 pm
by DanGio
Yeah, mod entities are indeed replaced by interrogation points.