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