in reply to Re: raw image data?
in thread raw image data?
Which I believe is the same as the slurp() function mentioned above. It failed. I tried your code too, with the same failure. The file has to be under 700K and my test files have definitely been below that. There must be something else going on. Unfortunately the error messages returned don't provide much help.open my $fh, "<", $image_file or die "Can't open $image_file: $!"; my $raw = <$fh>;
Thanks for your help!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: raw image data?
by kwaping (Priest) on Apr 21, 2009 at 17:04 UTC | |
by 23skiddoo (Beadle) on Apr 21, 2009 at 17:53 UTC | |
by ikegami (Patriarch) on Apr 21, 2009 at 19:42 UTC | |
by 23skiddoo (Beadle) on Apr 21, 2009 at 21:31 UTC | |
by zwon (Abbot) on Apr 21, 2009 at 19:07 UTC | |
by kwaping (Priest) on Apr 21, 2009 at 19:11 UTC | |
by 23skiddoo (Beadle) on Apr 21, 2009 at 22:19 UTC | |
by kwaping (Priest) on Apr 22, 2009 at 16:24 UTC | |
|