in reply to raw image data?

use File::Slurp; my $raw = slurp($filename);