Barbie > Labyrinth > Labyrinth::DIUtils::Base

Download:
Labyrinth-5.24.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 5.24   Source  

NAME ^

Labyrinth::DIUtils::Base - Base Digital Image Driver for Labyrinth.

SYNOPSIS ^

  use Labyrinth::DIUtils::Base;

  my $hook = Labyrinth::DIUtils::Base->new($file);
  my $hook = $hook->rotate($degrees);       # 0 - 360
  my $hook = $hook->reduce($xmax,$ymax);
  my $hook = $hook->thumb($thumbnail,$square);

DESCRIPTION ^

Handles the driver software for image manipulation; Do not use this module directly, access via Labyrinth::DIUtils.

This package is a basic package, for use with websites that do not require any image processing. To provide image processing, install one of the drivers available, currently these are:

METHODS ^

Contructor

new($file)

The constructor. Passed a single mandatory argument, which is then used as the image file for all image manipulation.

Image Manipulation

rotate($degrees)

By default no processing performed.

reduce($xmax,$ymax)

By default no processing performed.

thumb($thumbnail,$square)

By default no processing performed.

SEE ALSO ^

  Labyrinth::DIUtils

AUTHOR ^

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE ^

  Copyright (C) 2002-2014 Barbie for Miss Barbell Productions
  All Rights Reserved.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.
syntax highlighting: