summaryrefslogtreecommitdiff
path: root/perl/Image/Magick.pm
blob: e850691ed13c5a9b8ef03016d64598c6eb00d9e5 (plain)
  1. # <Magick.pm> - ImageMagick compatibility wrapper for GraphicsMagick
  2. # This package exports GraphicsMagick Perl bindings in the traditional
  3. # ImageMagick/PerlMagick namespace, which allows Perl scripts to change
  4. # from ImageMagick to GraphicsMagick without any code changes.
  5. # Copyright (c) 2006 Daniel Kobras <kobras@debian.org>
  6. #
  7. # Redistribution and use in source and binary forms, with or without
  8. # modification, are permitted provided that the following conditions
  9. # are met:
  10. # 1. Redistributions of source code must retain the above copyright
  11. #    notice, this list of conditions and the following disclaimer.
  12. # 2. Redistributions in binary form must reproduce the above copyright
  13. #    notice, this list of conditions and the following disclaimer in the
  14. #    documentation and/or other materials provided with the distribution.
  15. #
  16. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
  17. # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  18. # FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
  19. # AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  20. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  21. # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  22. # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  23. # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  24. # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  25. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. package Image::Magick;
  27. use vars (@ISA);
  28. require Graphics::Magick;
  29. @ISA qw(Graphics::Magick);
  30. 1;
  31. __END__
  32. =head1 NAME
  33. Image::Magick - call GraphicsMagick routines with ImageMagick interface
  34. =head1 SYNOPSIS
  35. use Image::Magick
  36. =head1 DESCRIPTION
  37. This Perl wrapper provides GraphicsMagick bindings in the namespace
  38. traditionally used by ImageMagick's PerlMagick extension. It is used
  39. to turn GraphicsMagick into a drop-in replacement for ImageMagick in
  40. Perl scripts. It is recommended that scripts are ported to use
  41. GraphicsMagick natively instead of using this compatibility wrapper.
  42. GraphicsMagick was forked from ImageMagick version 5.5.2, and has since been
  43. developed with an emphasis on interface stability. Therefore, Perl scripts
  44. supporting ImageMagick version 5.5.2 can usually be ported to GraphicsMagick
  45. with little effort.
  46. =head1 AUTHOR
  47. Daniel Kobras <kobras@debian.org>
  48. =head1 SEE ALSO
  49. Graphics::Magick(3pm), perl(1).
  50. =cut