get_viewport().get_texture().get_image() returns a linear-encoded image when use_hdr_2d is true, and save_png/save_jpg write it as-is without converting to sRGB, producing a darker, desaturated result than what's shown on screen.
get_viewport().get_texture().get_image() returns a linear-encoded image when use_hdr_2d is true, and save_png/save_jpg write it as-is without converting to sRGB, producing a darker, desaturated result than what's shown on screen.