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:
Labyrinth::DIUtils::GD
Uses GD graphics library.
Labyrinth::DIUtils::ImageMagick
Uses ImageMagick image library.
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-2015 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.