fix(tools): always convert server screenshot to PNG

main
Tsu-ba-me 3 years ago
parent 374f88acb7
commit 7b14433588
  1. 3
      tools/anvil-get-server-screenshot

@ -56,10 +56,9 @@ sub get_server_screenshot
if ($resize_x =~ /^\d+$/ && $resize_y =~ /^\d+$/)
{
$shell_call .= " | pamscale -quiet -xyfit ".$resize_x." ".$resize_y;
$shell_call .= " | pamtopng -quiet";
}
$shell_call .= " | base64 --wrap 0";
$shell_call .= " | pamtopng -quiet | base64 --wrap 0";
my ($shell_output, $shell_return_code) = system_call({ shell_call => $shell_call });

Loading…
Cancel
Save