summaryrefslogtreecommitdiff
path: root/perl/Image
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-06-20 17:25:43 +0200
committerJonas Smedegaard <dr@jones.dk>2008-06-20 17:25:43 +0200
commitf8fcd22c76635c0210b4e1ea9dda0c8cab627d62 (patch)
tree94e6d59e09dffc8a88c9c8e55a7ec19500023a1e /perl/Image
parent84d7ec94513943eb534f44555e5f7c3e700b0a01 (diff)
Add plugins copyright, license and varioki, and graphicsmagick wrapper for Image::Magick.
Diffstat (limited to 'perl/Image')
-rw-r--r--perl/Image/Magick.pm69
1 files changed, 69 insertions, 0 deletions
diff --git a/perl/Image/Magick.pm b/perl/Image/Magick.pm
new file mode 100644
index 0000000..e850691
--- /dev/null
+++ b/perl/Image/Magick.pm
@@ -0,0 +1,69 @@
+# <Magick.pm> - ImageMagick compatibility wrapper for GraphicsMagick
+#
+# This package exports GraphicsMagick Perl bindings in the traditional
+# ImageMagick/PerlMagick namespace, which allows Perl scripts to change
+# from ImageMagick to GraphicsMagick without any code changes.
+#
+# Copyright (c) 2006 Daniel Kobras <kobras@debian.org>
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+package Image::Magick;
+
+use vars (@ISA);
+
+require Graphics::Magick;
+
+@ISA = qw(Graphics::Magick);
+
+1;
+__END__
+
+=head1 NAME
+
+Image::Magick - call GraphicsMagick routines with ImageMagick interface
+
+=head1 SYNOPSIS
+
+use Image::Magick
+
+=head1 DESCRIPTION
+
+This Perl wrapper provides GraphicsMagick bindings in the namespace
+traditionally used by ImageMagick's PerlMagick extension. It is used
+to turn GraphicsMagick into a drop-in replacement for ImageMagick in
+Perl scripts. It is recommended that scripts are ported to use
+GraphicsMagick natively instead of using this compatibility wrapper.
+
+GraphicsMagick was forked from ImageMagick version 5.5.2, and has since been
+developed with an emphasis on interface stability. Therefore, Perl scripts
+supporting ImageMagick version 5.5.2 can usually be ported to GraphicsMagick
+with little effort.
+
+=head1 AUTHOR
+
+Daniel Kobras <kobras@debian.org>
+
+=head1 SEE ALSO
+
+Graphics::Magick(3pm), perl(1).
+
+=cut