in reply to Re^2: getting the dimensions of a picture (jpeg)
in thread getting the dimensions of a picture (jpeg)

I'm trying to play around with all this code you've posted but I can't seem to get past the original script's line 18-- "No such file or directory; it's also got a syntax error, "my $data = ;" crashes the script. Any way all these snippets can be squished together to make a usable script? Replacing that 'shift or die' thing at the top with 'picture.jpg' doesn't run as smoothly as I'd like it to :(
  • Comment on Re^3: getting the dimensions of a picture (jpeg)