It happens on some old PHP versions where old PHP GD library is used. It looks like a bug in PHP GD library which cause this problem with transparent GIF and maybe PNG images too.
We've fixed this problem by making white background by default, as the result transparency isn't saved during resizing:
https://github.com/unaio/una/issues/905