The deprecated use of Graphics::Magick has been eliminated. WebGUI uses
Image::Magick exclusively for all image processing functions once again.
This commit is contained in:
parent
04f2388ef8
commit
782a4396b5
4 changed files with 6 additions and 39 deletions
|
|
@ -19,15 +19,7 @@ use WebGUI::Test;
|
|||
use WebGUI::Session;
|
||||
use Test::More;
|
||||
use Test::Deep;
|
||||
my $graphicsClass;
|
||||
BEGIN {
|
||||
if (eval { require Image::Magick; 1 }) {
|
||||
$graphicsClass = 'Image::Magick';
|
||||
}
|
||||
elsif (eval { require Graphics::Magick; 1 }) {
|
||||
$graphicsClass = 'Graphics::Magick';
|
||||
}
|
||||
}
|
||||
use Image::Magick;
|
||||
use WebGUI::Asset::File::GalleryFile::Photo;
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue