Image::JpegCheck - is this jpeg?


Image-JpegCheck documentation  | view source Contained in the Image-JpegCheck distribution.

Index


NAME

Top

Image::JpegCheck - is this jpeg?

SYNOPSIS

Top

  use Image::JpegCheck;
  is_jpeg('foo.jpg'); # => return 1 when this is jpeg

DESCRIPTION

Top

Image::JpegCheck is jpeg file checker for perl.

Yes, I know. I know the Imager, GD, Image::Magick, Image::Size, etc.But, I need tiny one. I want to use this module in the mod_perl =)

Code is taken from Image::Size, and optimized it.

FUNCTIONS

Top

is_jpeg($stuff)

is_jpeg($stuff) validates your jpeg.stuff is:

    scalar:            filename
    scalarref:         jpeg itself
    file-glob:         file handle
    Path::Class::File: file object

AUTHOR

Top

Tokuhiro Matsuno <tokuhirom ah! gmail.com>

THANKS TO

Top

kazeburo++

yappo++

SEE ALSO

Top

Image::Size

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Image-JpegCheck documentation  | view source Contained in the Image-JpegCheck distribution.