in reply to Downloading KeyForge image

Perhaps enable binmode on STDOUT? You might also check out LWP::Simple which has a getstore routine which writes the contents of an URL into a file for you.

The cake is a lie.
The cake is a lie.
The cake is a lie.