(void) MagickCore::DestroyExceptionInfo( &exceptionInfo );
}
+ // Adds the names of the profiles from the image to the container.
+ template <class Container>
+ void profileNames( Container *names_, const Image* image_ )
+ {
+ const char*
+ name;
+
+ names_->clear();
+
+ MagickCore::ResetImageProfileIterator( image_->constImage() );\r
+ name=MagickCore::GetNextImageProfile( image_->constImage() );\r
+ while (name != (const char *) NULL)\r
+ {\r
+ names_->push_back( std::string(name) );\r
+ name=MagickCore::GetNextImageProfile( image_->constImage() );\r
+ }\r
+ }
+
// Quantize colors in images using current quantization settings
// Set measureError_ to true in order to measure quantization error
template <class InputIterator>