Carl Franks > HTML-FormFu-Imager-0.03006 > HTML::FormFu::Validator::Imager::Size

Download:
HTML-FormFu-Imager-0.03006.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source   Latest Release: HTML-FormFu-Imager-1.00

NAME ^

HTML::FormFu::Validator::Imager::Size

SYNOPSIS ^

    ---
    elements:
      - type: file
        name: photo
        inflators:
          - type: Imager
        validators:
          - type: 'Imager::Size'
            pixels: 200

METHODS ^

pixels

The maximum allowed pixel dimension of either the width or height.

width

The maximum allowed width in pixels.

height

The maximum allowed height in pixels.

exact_width

If set, the image width in pixels must exactly match this value.

exact_height

If set, the image height in pixels must exactly match this value.

SEE ALSO ^

HTML::FormFu::Imager, HTML::FormFu

AUTHOR ^

Carl Franks

LICENSE ^

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

syntax highlighting: