On 12 Mar 2007 at 10:49, Tom Phoenix wrote:
> On 3/12/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > What I am tring to do is find the x and y dimension of a jpeg
>
> Ah, Image::Size.
>
> http://search.cpan.org/~rjray/Image-Size-3.01/lib/Image/Size.pm
>
> Enjoy!
Image::size & Image::Info and the excellent Image::MetaData::JPEG. Am
looking at the source now to see if I can gleam the way they do it.
The grey matter is pulsing already but it's fun, I like this byte
reading stuff :-)
...
# Extract the segment header.
($marker, $code, $length) = unpack("a a n", $segheader);
...
Thanx
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/