information needed by the web browser to identify the file format:
my $img = ....; # create the image and generate the contents
+ ++$|; # make sure the content type isn't buffered
print "Content-Type: image/png\n\n";
binmode STDOUT;
$img->write(fd=>fileno(STDOUT), type=>'png')
BMP files support the spatial resolution tags, but since BMP has no
support for storing only an aspect ratio, if C<i_aspect_only> is set
when you write the C<i_xres> and C<i_yres> values are scaled so the
-smaller it 72 DPI.
+smaller is 72 DPI.
The following tags are set when you read an image from a BMP file: