MAGICKPP_PKGCONFIG = $(MAGICKPP_PKGCONFIG_OPT)
MAGICKPP_SCRPTS = $(MAGICKPP_SCRIPTS_OPT)
MAGICKPP_TESTS = $(MAGICKPP_TEST_SCRIPTS_OPT)
+MAGICKPP_TOP_INCHEADERS = $(MAGICKPP_TOP_INCHEADERS_OPT)
MAGICKPP_INCHEADERS = $(MAGICKPP_INCHEADERS_OPT)
else
MAGICKPP_LIBS =
MAGICKPP_PKGCONFIG =
MAGICKPP_SCRPTS =
MAGICKPP_TESTS =
+MAGICKPP_TOP_INCHEADERS =
MAGICKPP_INCHEADERS =
endif
Magick++/lib/Magick++/TypeMetric.h
magickpptopincdir = $(topincludedir)
-magickpptopinc_HEADERS =
+magickpptopinc_HEADERS = $(MAGICKPP_TOP_INCHEADERS)
+
+MAGICKPP_TOP_INCHEADERS_OPT = \
+ Magick++/lib/Magick++.h
magickppincdir = $(topincludedir)/Magick++
magickppinc_HEADERS = $(MAGICKPP_INCHEADERS)
MAGICKPP_INCHEADERS_OPT = \
- Magick++/lib/Magick++.h
Magick++/lib/Magick++/Blob.h \
Magick++/lib/Magick++/CoderInfo.h \
Magick++/lib/Magick++/Color.h \
void Magick::Image::contrast ( const size_t sharpen_ )
{
modifyImage();
- ContrastImage ( image(), (MagickBooleanType) sharpen_ );
- throwImageException();
+ ExceptionInfo exceptionInfo;
+ GetExceptionInfo( &exceptionInfo );
+ ContrastImage ( image(), (MagickBooleanType) sharpen_, &exceptionInfo );
+ throwException( exceptionInfo );
+ (void) DestroyExceptionInfo( &exceptionInfo );
}
// Convolve image. Applies a general image convolution kernel to the image.
void Magick::Image::normalize ( void )
{
modifyImage();
- NormalizeImage ( image() );
- throwImageException();
+ ExceptionInfo exceptionInfo;
+ GetExceptionInfo( &exceptionInfo );
+ NormalizeImage ( image(), &exceptionInfo );
+ throwException( exceptionInfo );
+ (void) DestroyExceptionInfo( &exceptionInfo );
}
// Oilpaint image
*/
XSetCursorState(display,windows,MagickTrue);
XCheckRefreshWindows(display,windows);
- (void) ContrastImage(*image,MagickTrue);
+ (void) ContrastImage(*image,MagickTrue,&(*image)->exception);
XSetCursorState(display,windows,MagickFalse);
if (windows->image.orphan != MagickFalse)
break;
*/
XSetCursorState(display,windows,MagickTrue);
XCheckRefreshWindows(display,windows);
- (void) ContrastImage(*image,MagickFalse);
+ (void) ContrastImage(*image,MagickFalse,&(*image)->exception);
XSetCursorState(display,windows,MagickFalse);
if (windows->image.orphan != MagickFalse)
break;
white_point*=(double) (*image)->columns*(*image)->rows/100.0;
}
white_point=(MagickRealType) (*image)->columns*(*image)->rows-white_point;
- (void) ContrastStretchImage(*image,black_point,white_point);
+ (void) ContrastStretchImage(*image,black_point,white_point,
+ &(*image)->exception);
XSetCursorState(display,windows,MagickFalse);
if (windows->image.orphan != MagickFalse)
break;
*/
XSetCursorState(display,windows,MagickTrue);
XCheckRefreshWindows(display,windows);
- (void) NormalizeImage(*image);
+ (void) NormalizeImage(*image,&(*image)->exception);
XSetCursorState(display,windows,MagickFalse);
if (windows->image.orphan != MagickFalse)
break;
preview_image=CloneImage(thumbnail,0,0,MagickTrue,exception);
if (preview_image != (Image *) NULL)
for (x=0; x < i; x++)
- (void) ContrastImage(preview_image,MagickTrue);
+ (void) ContrastImage(preview_image,MagickTrue,exception);
(void) FormatLocaleString(label,MaxTextExtent,"contrast (%.20g)",
(double) i+1);
break;
if (preview_image == (Image *) NULL)
break;
for (x=0; x < i; x++)
- (void) ContrastImage(preview_image,MagickFalse);
+ (void) ContrastImage(preview_image,MagickFalse,exception);
(void) FormatLocaleString(label,MaxTextExtent,"+contrast (%.20g)",
(double) i+1);
break;
double
alpha,
- intercept,
coefficients[2],
+ intercept,
slope;
MagickBooleanType
MagickExport MagickBooleanType ClutImage(Image *image,const Image *clut_image,
ExceptionInfo *exception)
{
-#define ClampAlphaPixelChannel(pixel) ClampToQuantum((pixel)->alpha)
-#define ClampBlackPixelChannel(pixel) ClampToQuantum((pixel)->black)
-#define ClampBluePixelChannel(pixel) ClampToQuantum((pixel)->blue)
-#define ClampGreenPixelChannel(pixel) ClampToQuantum((pixel)->green)
-#define ClampRedPixelChannel(pixel) ClampToQuantum((pixel)->red)
#define ClutImageTag "Clut/Image"
CacheView
% The format of the ContrastImage method is:
%
% MagickBooleanType ContrastImage(Image *image,
-% const MagickBooleanType sharpen)
+% const MagickBooleanType sharpen,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
%
% o sharpen: Increase or decrease image contrast.
%
+% o exception: return any errors or warnings in this structure.
+%
*/
static void Contrast(const int sign,Quantum *red,Quantum *green,Quantum *blue)
}
MagickExport MagickBooleanType ContrastImage(Image *image,
- const MagickBooleanType sharpen)
+ const MagickBooleanType sharpen,ExceptionInfo *exception)
{
#define ContrastImageTag "Contrast/Image"
CacheView
*image_view;
- ExceptionInfo
- *exception;
-
int
sign;
*/
status=MagickTrue;
progress=0;
- exception=(&image->exception);
image_view=AcquireCacheView(image);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
#pragma omp parallel for schedule(dynamic,4) shared(progress,status)
% The format of the ContrastStretchImage method is:
%
% MagickBooleanType ContrastStretchImage(Image *image,
-% const char *levels)
+% const char *levels,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
% o levels: Specify the levels where the black and white points have the
% range of 0 to number-of-pixels (e.g. 1%, 10x90%, etc.).
%
+% o exception: return any errors or warnings in this structure.
+%
*/
MagickExport MagickBooleanType ContrastStretchImage(Image *image,
- const double black_point,const double white_point)
+ const double black_point,const double white_point,ExceptionInfo *exception)
{
#define MaxRange(color) ((MagickRealType) ScaleQuantumToMap((Quantum) (color)))
#define ContrastStretchImageTag "ContrastStretch/Image"
double
intensity;
- ExceptionInfo
- *exception;
-
MagickBooleanType
status;
Form histogram.
*/
status=MagickTrue;
- exception=(&image->exception);
(void) ResetMagickMemory(histogram,0,(MaxMap+1)*sizeof(*histogram));
image_view=AcquireCacheView(image);
for (y=0; y < (ssize_t) image->rows; y++)
/*
Stretch the image.
*/
- if (((GetPixelAlphaTraits(image) & UpdatePixelTrait) != 0) || (((GetPixelBlackTraits(image) & UpdatePixelTrait) != 0) &&
+ if (((GetPixelAlphaTraits(image) & UpdatePixelTrait) != 0) ||
+ (((GetPixelBlackTraits(image) & UpdatePixelTrait) != 0) &&
(image->colorspace == CMYKColorspace)))
image->storage_class=DirectClass;
if (image->storage_class == PseudoClass)
%
% The format of the NormalizeImage method is:
%
-% MagickBooleanType NormalizeImage(Image *image)
+% MagickBooleanType NormalizeImage(Image *image,ExceptionInfo *exception)
%
% A description of each parameter follows:
%
% o image: the image.
%
+% o exception: return any errors or warnings in this structure.
+%
*/
-MagickExport MagickBooleanType NormalizeImage(Image *image)
+MagickExport MagickBooleanType NormalizeImage(Image *image,
+ ExceptionInfo *exception)
{
double
black_point,
black_point=(double) image->columns*image->rows*0.0015;
white_point=(double) image->columns*image->rows*0.9995;
- return(ContrastStretchImage(image,black_point,white_point));
+ return(ContrastStretchImage(image,black_point,white_point,exception));
}
\f
/*
BrightnessContrastImage(Image *,const double,const double,ExceptionInfo *),
ClutImage(Image *,const Image *,ExceptionInfo *),
ColorDecisionListImage(Image *,const char *,ExceptionInfo *),
- ContrastImage(Image *,const MagickBooleanType),
- ContrastStretchImage(Image *,const double,const double),
+ ContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
+ ContrastStretchImage(Image *,const double,const double,ExceptionInfo *),
EqualizeImage(Image *image),
GammaImage(Image *,const double,ExceptionInfo *),
HaldClutImage(Image *,const Image *),
LinearStretchImage(Image *,const double,const double),
ModulateImage(Image *,const char *),
NegateImage(Image *,const MagickBooleanType,ExceptionInfo *),
- NormalizeImage(Image *),
+ NormalizeImage(Image *,ExceptionInfo *),
SigmoidalContrastImage(Image *,const MagickBooleanType,const double,
const double);
edge_image=DestroyImage(edge_image);
if (charcoal_image == (Image *) NULL)
return((Image *) NULL);
- (void) NormalizeImage(charcoal_image);
+ (void) NormalizeImage(charcoal_image,exception);
(void) NegateImage(charcoal_image,MagickFalse,exception);
(void) SetImageType(charcoal_image,GrayscaleType);
return(charcoal_image);
}
sepia_view=DestroyCacheView(sepia_view);
image_view=DestroyCacheView(image_view);
- (void) NormalizeImage(sepia_image);
- (void) ContrastImage(sepia_image,MagickTrue);
+ (void) NormalizeImage(sepia_image,exception);
+ (void) ContrastImage(sepia_image,MagickTrue,exception);
if (status == MagickFalse)
sepia_image=DestroyImage(sepia_image);
return(sepia_image);
blur_image=DestroyImage(blur_image);
if (dodge_image == (Image *) NULL)
return((Image *) NULL);
- (void) NormalizeImage(dodge_image);
+ (void) NormalizeImage(dodge_image,exception);
(void) NegateImage(dodge_image,MagickFalse,exception);
(void) TransformImage(&dodge_image,(char *) NULL,"50%");
sketch_image=CloneImage(image,0,0,MagickTrue,exception);
clone_image->magick_columns=image->magick_columns;
clone_image->magick_rows=image->magick_rows;
clone_image->type=image->type;
+ clone_image->sync=image->sync;
clone_image->map=image->map;
clone_image->channel_map=ClonePixelChannelMap(image->channel_map);
(void) CopyMagickString(clone_image->magick_filename,image->magick_filename,
ssize_t
y;
-#if 0
- assert(image1->matte==MagickTrue);
- assert(image2->matte==MagickTrue);
-#endif
-
- if ( bounds->x< 0 ) return(MagickFalse);
-
+ if (bounds->x < 0)
+ return(MagickFalse);
for (y=0; y < (ssize_t) bounds->height; y++)
{
p=GetVirtualPixels(image1,bounds->x,bounds->y+y,bounds->width,1,
/* #undef AUTOTRACE_DELEGATE */
/* Define if coders and filters are to be built as modules. */
-#ifndef MAGICKCORE_BUILD_MODULES
-#define MAGICKCORE_BUILD_MODULES 1
-#endif
+/* #undef BUILD_MODULES */
/* Define if you have the bzip2 library */
#ifndef MAGICKCORE_BZLIB_DELEGATE
#endif
/* Define if you have FFTW library */
-#ifndef MAGICKCORE_FFTW_DELEGATE
-#define MAGICKCORE_FFTW_DELEGATE 1
-#endif
+/* #undef FFTW_DELEGATE */
/* Location of filter modules */
#ifndef MAGICKCORE_FILTER_PATH
#endif
/* Define if you have the <lcms2.h> header file. */
-/* #undef HAVE_LCMS2_H */
+#ifndef MAGICKCORE_HAVE_LCMS2_H
+#define MAGICKCORE_HAVE_LCMS2_H 1
+#endif
/* Define if you have the <lcms2/lcms2.h> header file. */
/* #undef HAVE_LCMS2_LCMS2_H */
/* Define if you have the <lcms.h> header file. */
-#ifndef MAGICKCORE_HAVE_LCMS_H
-#define MAGICKCORE_HAVE_LCMS_H 1
-#endif
+/* #undef HAVE_LCMS_H */
/* Define if you have the <lcms/lcms.h> header file. */
/* #undef HAVE_LCMS_LCMS_H */
#endif
/* Define if you have JBIG library */
-#ifndef MAGICKCORE_JBIG_DELEGATE
-#define MAGICKCORE_JBIG_DELEGATE 1
-#endif
+/* #undef JBIG_DELEGATE */
/* Define if you have JPEG version 2 "Jasper" library */
#ifndef MAGICKCORE_JP2_DELEGATE
#endif
/* Define if you have LQR library */
-#ifndef MAGICKCORE_LQR_DELEGATE
-#define MAGICKCORE_LQR_DELEGATE 1
-#endif
+/* #undef LQR_DELEGATE */
/* Define if using libltdl to support dynamically loadable modules */
#ifndef MAGICKCORE_LTDL_DELEGATE
/* Define to the system default library search path. */
#ifndef MAGICKCORE_LT_DLSEARCH_PATH
-#define MAGICKCORE_LT_DLSEARCH_PATH "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/R/lib:/usr/lib64/atlas:/opt/modules/pkg/intel/f77/10.0.025/lib:/usr/lib64/llvm:/usr/local/lib:/usr/lib64/mysql:/usr/lib64/qt-3.3/lib:/usr/lib64/xulrunner-2"
+#define MAGICKCORE_LT_DLSEARCH_PATH "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/atlas:/usr/lib/llvm:/usr/lib64/llvm:/usr/lib64/mysql:/usr/lib64/qt-3.3/lib:/usr/lib64/tcl8.5/tclx8.4:/usr/lib64/tcl8.5:/usr/lib/wine/:/usr/lib64/wine/:/usr/lib64/xulrunner-2"
#endif
/* The archive extension */
/* #undef NO_MINUS_C_MINUS_O */
/* Define if you have OPENEXR library */
-#ifndef MAGICKCORE_OPENEXR_DELEGATE
-#define MAGICKCORE_OPENEXR_DELEGATE 1
-#endif
+/* #undef OPENEXR_DELEGATE */
/* Define to the address where bug reports for this package should be sent. */
#ifndef MAGICKCORE_PACKAGE_BUGREPORT
#endif
/* Define if you have RSVG library */
-#ifndef MAGICKCORE_RSVG_DELEGATE
-#define MAGICKCORE_RSVG_DELEGATE 1
-#endif
+/* #undef RSVG_DELEGATE */
/* Define to the type of arg 1 for `select'. */
#ifndef MAGICKCORE_SELECT_TYPE_ARG1
/* Define if you have WEBP library */
-#ifndef MAGICKCORE_WEBP_DELEGATE
-#define MAGICKCORE_WEBP_DELEGATE 1
-#endif
+/* #undef WEBP_DELEGATE */
/* Define to use the Windows GDI32 library */
/* #undef WINGDI32_DELEGATE */
/* #undef WITH_DMALLOC */
/* Define if you have WMF library */
-#ifndef MAGICKCORE_WMF_DELEGATE
-#define MAGICKCORE_WMF_DELEGATE 1
-#endif
+/* #undef WMF_DELEGATE */
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
% with the 'threshold' value for both the black_point and the white_point.
%
*/
-MagickExport MagickBooleanType BilevelImage(Image *image,
- const double threshold)
+MagickExport MagickBooleanType BilevelImage(Image *image,const double threshold)
{
#define ThresholdImageTag "Threshold/Image"
*/
#define MagickPackageName "ImageMagick"
#define MagickCopyright "Copyright (C) 1999-2011 ImageMagick Studio LLC"
-#define MagickSVNRevision "exported"
+#define MagickSVNRevision "4982"
#define MagickLibVersion 0x700
#define MagickLibVersionText "7.0.0"
#define MagickLibVersionNumber 5,0,0
#define MagickLibAddendum "-0"
#define MagickLibInterface 5
#define MagickLibMinInterface 5
-#define MagickReleaseDate "2011-08-10"
+#define MagickReleaseDate "2011-08-16"
#define MagickChangeDate "20110801"
#define MagickAuthoritativeURL "http://www.imagemagick.org"
#if defined(MAGICKCORE_OPENMP_SUPPORT)
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
- status=ContrastImage(wand->images,sharpen);
- if (status == MagickFalse)
- InheritException(wand->exception,&wand->images->exception);
+ status=ContrastImage(wand->images,sharpen,&wand->images->exception);
return(status);
}
\f
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
- status=ContrastStretchImage(wand->images,black_point,white_point);
- if (status == MagickFalse)
- InheritException(wand->exception,&wand->images->exception);
+ status=ContrastStretchImage(wand->images,black_point,white_point,
+ &wand->images->exception);
return(status);
}
\f
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
if (wand->images == (Image *) NULL)
ThrowWandException(WandError,"ContainsNoImages",wand->name);
- status=NormalizeImage(wand->images);
- if (status == MagickFalse)
- InheritException(wand->exception,&wand->images->exception);
+ status=NormalizeImage(wand->images,&wand->images->exception);
return(status);
}
\f
{
(void) SyncImageSettings(mogrify_info,*image);
(void) ContrastImage(*image,(*option == '-') ? MagickTrue :
- MagickFalse);
- InheritException(exception,&(*image)->exception);
+ MagickFalse,exception);
break;
}
if (LocaleCompare("contrast-stretch",option+1) == 0)
}
white_point=(MagickRealType) (*image)->columns*(*image)->rows-
white_point;
- (void) ContrastStretchImage(*image,black_point,white_point);
+ (void) ContrastStretchImage(*image,black_point,white_point,
+ exception);
InheritException(exception,&(*image)->exception);
break;
}
if (LocaleCompare("normalize",option+1) == 0)
{
(void) SyncImageSettings(mogrify_info,*image);
- (void) NormalizeImage(*image);
- InheritException(exception,&(*image)->exception);
+ (void) NormalizeImage(*image,exception);
break;
}
break;
DIST_COMMON = $(MagickCoreinc_HEADERS) $(MagickWandinc_HEADERS) \
$(am__configure_deps) $(am__include_HEADERS_DIST) \
$(am__ltdlinclude_HEADERS_DIST) \
- $(am__magickppinc_HEADERS_DIST) $(magickpptopinc_HEADERS) \
- $(noinst_HEADERS) $(srcdir)/ImageMagick.spec.in \
- $(srcdir)/Magick++/Makefile.am \
+ $(am__magickppinc_HEADERS_DIST) \
+ $(am__magickpptopinc_HEADERS_DIST) $(noinst_HEADERS) \
+ $(srcdir)/ImageMagick.spec.in $(srcdir)/Magick++/Makefile.am \
$(srcdir)/MagickCore/Makefile.am \
$(srcdir)/MagickWand/Makefile.am $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/PerlMagick/Makefile.am \
am__include_HEADERS_DIST = ltdl/ltdl.h
am__ltdlinclude_HEADERS_DIST = ltdl/libltdl/lt_system.h \
ltdl/libltdl/lt_error.h ltdl/libltdl/lt_dlloader.h
-am__magickppinc_HEADERS_DIST = Magick++/lib/Magick++.h
+am__magickppinc_HEADERS_DIST = Magick++/lib/Magick++/Blob.h \
+ Magick++/lib/Magick++/CoderInfo.h \
+ Magick++/lib/Magick++/Color.h Magick++/lib/Magick++/Drawable.h \
+ Magick++/lib/Magick++/Exception.h \
+ Magick++/lib/Magick++/Geometry.h Magick++/lib/Magick++/Image.h \
+ Magick++/lib/Magick++/Include.h \
+ Magick++/lib/Magick++/Montage.h Magick++/lib/Magick++/Pixels.h \
+ Magick++/lib/Magick++/STL.h Magick++/lib/Magick++/TypeMetric.h
+am__magickpptopinc_HEADERS_DIST = Magick++/lib/Magick++.h
HEADERS = $(MagickCoreinc_HEADERS) $(MagickWandinc_HEADERS) \
$(include_HEADERS) $(ltdlinclude_HEADERS) \
$(magickppinc_HEADERS) $(magickpptopinc_HEADERS) \
@WITH_MAGICK_PLUS_PLUS_TRUE@MAGICKPP_SCRPTS = $(MAGICKPP_SCRIPTS_OPT)
@WITH_MAGICK_PLUS_PLUS_FALSE@MAGICKPP_TESTS =
@WITH_MAGICK_PLUS_PLUS_TRUE@MAGICKPP_TESTS = $(MAGICKPP_TEST_SCRIPTS_OPT)
+@WITH_MAGICK_PLUS_PLUS_FALSE@MAGICKPP_TOP_INCHEADERS =
+@WITH_MAGICK_PLUS_PLUS_TRUE@MAGICKPP_TOP_INCHEADERS = $(MAGICKPP_TOP_INCHEADERS_OPT)
@WITH_MAGICK_PLUS_PLUS_FALSE@MAGICKPP_INCHEADERS =
@WITH_MAGICK_PLUS_PLUS_TRUE@MAGICKPP_INCHEADERS = $(MAGICKPP_INCHEADERS_OPT)
MAGICKPP_SCRIPTS_OPT = \
Magick++/lib/Magick++/TypeMetric.h
magickpptopincdir = $(topincludedir)
-magickpptopinc_HEADERS =
+magickpptopinc_HEADERS = $(MAGICKPP_TOP_INCHEADERS)
+MAGICKPP_TOP_INCHEADERS_OPT = \
+ Magick++/lib/Magick++.h
+
magickppincdir = $(topincludedir)/Magick++
magickppinc_HEADERS = $(MAGICKPP_INCHEADERS)
MAGICKPP_INCHEADERS_OPT = \
- Magick++/lib/Magick++.h
+ Magick++/lib/Magick++/Blob.h \
+ Magick++/lib/Magick++/CoderInfo.h \
+ Magick++/lib/Magick++/Color.h \
+ Magick++/lib/Magick++/Drawable.h \
+ Magick++/lib/Magick++/Exception.h \
+ Magick++/lib/Magick++/Geometry.h \
+ Magick++/lib/Magick++/Image.h \
+ Magick++/lib/Magick++/Include.h \
+ Magick++/lib/Magick++/Montage.h \
+ Magick++/lib/Magick++/Pixels.h \
+ Magick++/lib/Magick++/STL.h \
+ Magick++/lib/Magick++/TypeMetric.h
Magick___lib_libMagick___la_LDFLAGS = -no-undefined \
-version-info $(MAGICK_LIBRARY_CURRENT):$(MAGICK_LIBRARY_REVISION):$(MAGICK_LIBRARY_AGE)
$(INSTALL_HEADER) MagickCore/magick-config.h $(DESTDIR)$(MagickCoreincdir)/magick-config.h
MagickCore-uninstall-local:
rm -f $(DESTDIR)$(MagickCoreincdir)/magick-config.h
- Magick++/lib/Magick++/Blob.h \
- Magick++/lib/Magick++/CoderInfo.h \
- Magick++/lib/Magick++/Color.h \
- Magick++/lib/Magick++/Drawable.h \
- Magick++/lib/Magick++/Exception.h \
- Magick++/lib/Magick++/Geometry.h \
- Magick++/lib/Magick++/Image.h \
- Magick++/lib/Magick++/Include.h \
- Magick++/lib/Magick++/Montage.h \
- Magick++/lib/Magick++/Pixels.h \
- Magick++/lib/Magick++/STL.h \
- Magick++/lib/Magick++/TypeMetric.h
# If source files missing, see if they can be obtained via VPATH
perl-sources:
if (attribute_flag[0] == 0)
argument_list[0].integer_reference=0;
(void) ContrastImage(image,argument_list[0].integer_reference != 0 ?
- MagickTrue : MagickFalse);
+ MagickTrue : MagickFalse,exception);
break;
}
case 37: /* CycleColormap */
if (attribute_flag[0] != 0)
channel=(ChannelType) argument_list[0].integer_reference;
PushPixelChannelMap(image,channel);
- NormalizeImage(image);
+ NormalizeImage(image,exception);
PopPixelChannelMap(image);
break;
}
if (attribute_flag[4] != 0)
channel=(ChannelType) argument_list[4].integer_reference;
PushPixelChannelMap(image,channel);
- (void) ContrastStretchImage(image,black_point,white_point);
+ (void) ContrastStretchImage(image,black_point,white_point,exception);
PopPixelChannelMap(image);
break;
}
char
name[MaxTextExtent];
+ const StringInfo
+ *previous_profile;
+
ErrorManager
*error_manager;
(void) CopyMagickString(name,"xmp",MaxTextExtent);
}
}
+ previous_profile=GetImageProfile(image,name);
+ if (previous_profile != (const StringInfo *) NULL)
+ ConcatenateStringInfo(profile,previous_profile);
status=SetImageProfile(image,name,profile);
profile=DestroyStringInfo(profile);
if (status == MagickFalse)
}
}
}
- (void) ContrastImage(msl_info->image[n],sharpen);
+ (void) ContrastImage(msl_info->image[n],sharpen,
+ &msl_info->image[n]->exception);
break;
}
if (LocaleCompare((const char *) tag,"crop") == 0)
}
}
}
- (void) NormalizeImage(msl_info->image[n]);
+ (void) NormalizeImage(msl_info->image[n],
+ &msl_info->image[n]->exception);
break;
}
ThrowMSLException(OptionError,"UnrecognizedElement",(const char *) tag);
<configure name="VERSION" value="7.0.0"/>
<configure name="LIB_VERSION" value="0x700"/>
<configure name="LIB_VERSION_NUMBER" value="7,0,0,0"/>
- <configure name="SVN_REVISION" value="4944" />
- <configure name="RELEASE_DATE" value="2011-08-10"/>
+ <configure name="SVN_REVISION" value="4982" />
+ <configure name="RELEASE_DATE" value="2011-08-16"/>
<configure name="CONFIGURE" value="./configure "/>
<configure name="PREFIX" value="/usr/local"/>
<configure name="EXEC-PREFIX" value="/usr/local"/>
MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE
-MAGICK_SVN_REVISION=4944
+MAGICK_SVN_REVISION=4982
sys_lib_search_path_spec="/usr/lib/gcc/x86_64-redhat-linux/4.6.1 /usr/lib64 /lib64 "
# Run-time system search path for libraries.
-sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /usr/lib64/atlas /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib64/tcl8.5/tclx8.4 /usr/lib64/tcl8.5 /usr/lib/wine/ /usr/lib64/wine/ /usr/lib64/xulrunner-2 "
+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /usr/lib64/atlas /usr/lib/llvm /usr/lib64/llvm /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib64/tcl8.5/tclx8.4 /usr/lib64/tcl8.5 /usr/lib/wine/ /usr/lib64/wine/ /usr/lib64/xulrunner-2 "
# Whether dlopen is supported.
dlopen_support=yes