Page 1 of 1

[0.17.11]API: take_screenshot exception

Posted: Thu Mar 14, 2019 3:00 pm
by aspd199
I upgraded the MOD to 0.17
But found the problem when generating the screenshot

api: take_screenshot

anti_alias is false : normal
anti_alias is true : exception

------------------------------------------------------
The three normal jpg anti_alias are false
s1 .png
s1 .png (146.4 KiB) Viewed 2228 times

Re: [0.17.11]API: take_screenshot exception

Posted: Thu Mar 14, 2019 4:28 pm
by wheybags
Could you please post your error log?
https://wiki.factorio.com/Log_file

Re: [0.17.11]API: take_screenshot exception

Posted: Thu Mar 14, 2019 6:54 pm
by aspd199
wheybags wrote:
Thu Mar 14, 2019 4:28 pm
Could you please post your error log?
https://wiki.factorio.com/Log_file
Log file not error record, just the JPG generated by the API is incomplete.

/c game.take_screenshot{anti_alias=true}
factorio-current.log
(6.57 KiB) Downloaded 118 times

Re: [0.17.11]API: take_screenshot exception

Posted: Fri Mar 15, 2019 12:27 pm
by posila
Thanks for the report.
Fixed for 0.17.13