Projects
Multimedia
synfig
synfig.magick7.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File synfig.magick7.patch of Package synfig (Revision 22)
Currently displaying revision
22
,
Show latest
--- a/src/modules/mod_magickpp/trgt_magickpp.cpp +++ b/src/modules/mod_magickpp/trgt_magickpp.cpp @@ -60,15 +60,15 @@ MagickCore::Image* copy_image_list(Conta typedef typename Container::iterator Iter; MagickCore::Image* previous = 0; MagickCore::Image* first = NULL; - MagickCore::ExceptionInfo exceptionInfo; - MagickCore::GetExceptionInfo(&exceptionInfo); + MagickCore::ExceptionInfo *exceptionInfo; + exceptionInfo = MagickCore::AcquireExceptionInfo(); for (Iter iter = container.begin(); iter != container.end(); ++iter) { MagickCore::Image* current; try { - current = CloneImage(iter->image(), 0, 0, Magick::MagickTrue, &exceptionInfo); + current = CloneImage(iter->image(), 0, 0, Magick::MagickTrue, exceptionInfo); if (!first) first = current; @@ -88,8 +88,8 @@ MagickCore::Image* copy_image_list(Conta magickpp_trgt::~magickpp_trgt() { - MagickCore::ExceptionInfo exceptionInfo; - MagickCore::GetExceptionInfo(&exceptionInfo); + MagickCore::ExceptionInfo *exceptionInfo; + exceptionInfo = MagickCore::AcquireExceptionInfo(); try { @@ -103,7 +103,7 @@ magickpp_trgt::~magickpp_trgt() image.fileName(filename); try { - SetImageInfo(image.imageInfo(),Magick::MagickTrue,&exceptionInfo); + SetImageInfo(image.imageInfo(),Magick::MagickTrue,exceptionInfo); can_adjoin = image.adjoin(); } catch(Magick::Warning warning) { @@ -137,7 +137,7 @@ magickpp_trgt::~magickpp_trgt() synfig::info("removing duplicate frames"); try { - RemoveDuplicateLayers(&image_list, &exceptionInfo); + RemoveDuplicateLayers(&image_list, exceptionInfo); } catch(Magick::Warning warning) { synfig::warning("exception '%s'", warning.what()); @@ -149,7 +149,7 @@ magickpp_trgt::~magickpp_trgt() synfig::info("optimizing layers"); try { - image_list = OptimizeImageLayers(image_list,&exceptionInfo); + image_list = OptimizeImageLayers(image_list,exceptionInfo); } catch(Magick::Warning warning) { synfig::warning("exception '%s'", warning.what()); @@ -161,7 +161,7 @@ magickpp_trgt::~magickpp_trgt() synfig::info("optimizing layer transparency"); try { - OptimizeImageTransparency(image_list,&exceptionInfo); + OptimizeImageTransparency(image_list,exceptionInfo); } catch(Magick::Warning warning) { synfig::warning("exception '%s'", warning.what());
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.