From a76607ccd72747f52ef0814f55f30d6f92ee9be5 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 31 May 2010 16:26:08 +0000 Subject: [PATCH] --- ChangeLog | 3 +++ coders/x.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0e289faa8..4251bfe81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-05-31 6.6.2-2 Cristy + * Add x:silent option to prevent beeps when reading the X image format. + 2010-05-28 6.6.2.1 Glenn Randers-Pehrson * Prevent coders/png.c from attempting to write an empty tRNS chunk. diff --git a/coders/x.c b/coders/x.c index 8f31ac264..1474e2f6a 100644 --- a/coders/x.c +++ b/coders/x.c @@ -106,6 +106,9 @@ static Image *ReadXImage(const ImageInfo *image_info,ExceptionInfo *exception) option=GetImageOption(image_info,"x:screen"); if (option != (const char *) NULL) ximage_info.screen=IsMagickTrue(option); + option=GetImageOption(image_info,"x:silent"); + if (option != (const char *) NULL) + ximage_info.silent=IsMagickTrue(option); return(XImportImage(image_info,&ximage_info)); } #endif -- 2.50.1