Note that this serves no purpose:
binmode IMAGE; ... open IMAGE, $file_name or die "ERROR $!";
You need to appüly binmode after opening a file (but before reading from it):
open IMAGE, $file_name or die "ERROR $!"; binmode IMAGE;
In reply to Re: Returning jpg works, png NOT
by Corion
in thread Returning jpg works, png NOT
by membender
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |