If gnuplot was configured to use the libgd library for png/gif/jpeg output,
then it can also be used to read these same image types as binary files.
You can use an explicit command
plot 'file.png' binary filetype=png
Or the file type will be recognized automatically from the extension if you
have previously requested
set datafile binary filetype=auto