[prev in list] [next in list] [prev in thread] [next in thread] 

List:       graphicsmagick-commit
Subject:    [GM-commit] GraphicsMagick: Return DirectClass images by default for MINISWH...
From:       GraphicsMagick Commits <graphicsmagick-commit () lists ! sourceforge ! net>
Date:       2013-04-17 2:57:42
Message-ID: hg.2403db8291f5.1366167462.-1602079902 () blade ! simplesystems ! org
[Download RAW message or body]

changeset 2403db8291f5 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=2403db8291f5
                
summary: Return DirectClass images by default for MINISWHITE and MINISBLACK TIFF \
formats.

diffstat:

 ChangeLog                              |  5 +++++
 VisualMagick/installer/inc/version.isx |  4 ++--
 coders/tiff.c                          |  7 ++++---
 magick/version.h                       |  4 ++--
 www/Changelog.html                     |  7 +++++++
 5 files changed, 20 insertions(+), 7 deletions(-)

diffs (71 lines):

diff -r 99cd840356ea -r 2403db8291f5 ChangeLog
--- a/ChangeLog	Sun Apr 07 16:46:41 2013 -0500
+++ b/ChangeLog	Tue Apr 16 21:57:38 2013 -0500
@@ -1,3 +1,8 @@
+2013-04-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
+
+	* coders/tiff.c (ReadTIFFImage): Return DirectClass images by
+	default for MINISWHITE and MINISBLACK TIFF formats.
+
 2013-04-07  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
 
 	* coders/wpg.c, magick/attribute.c, magick/map.c, magick/render.c,
diff -r 99cd840356ea -r 2403db8291f5 VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Sun Apr 07 16:46:41 2013 -0500
+++ b/VisualMagick/installer/inc/version.isx	Tue Apr 16 21:57:38 2013 -0500
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020130407"
-#define public MagickPackageReleaseDate "snapshot-20130407"
+#define public MagickPackageVersionAddendum ".020130416"
+#define public MagickPackageReleaseDate "snapshot-20130416"
diff -r 99cd840356ea -r 2403db8291f5 coders/tiff.c
--- a/coders/tiff.c	Sun Apr 07 16:46:41 2013 -0500
+++ b/coders/tiff.c	Tue Apr 16 21:57:38 2013 -0500
@@ -1749,9 +1749,10 @@
       if ((photometric == PHOTOMETRIC_PALETTE) ||
           ((photometric == PHOTOMETRIC_MINISWHITE ||
             photometric == PHOTOMETRIC_MINISBLACK) &&
-	   (1 == bits_per_sample) &&
-	   (image_info->type != TrueColorType) &&
-	   (image_info->type != TrueColorMatteType))
+           ((image_info->type == PaletteType) ||
+            (image_info->type == PaletteMatteType)) &&
+            (MaxColormapSize > MaxValueGivenBits(bits_per_sample))
+	   )
 	  )
         {
           /*
diff -r 99cd840356ea -r 2403db8291f5 magick/version.h
--- a/magick/version.h	Sun Apr 07 16:46:41 2013 -0500
+++ b/magick/version.h	Tue Apr 16 21:57:38 2013 -0500
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x141100
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 14,11,0
-#define MagickChangeDate   "20130407"
-#define MagickReleaseDate  "snapshot-20130407"
+#define MagickChangeDate   "20130416"
+#define MagickReleaseDate  "snapshot-20130416"
 	
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r 99cd840356ea -r 2403db8291f5 www/Changelog.html
--- a/www/Changelog.html	Sun Apr 07 16:46:41 2013 -0500
+++ b/www/Changelog.html	Tue Apr 16 21:57:38 2013 -0500
@@ -35,6 +35,13 @@
 <div class="document">
 
 
+<p>2013-04-16  Bob Friesenhahn  &lt;<a class="reference external" \
href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#6 \
4;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 +<blockquote>
+<ul class="simple">
+<li>coders/tiff.c (ReadTIFFImage): Return DirectClass images by
+default for MINISWHITE and MINISBLACK TIFF formats.</li>
+</ul>
+</blockquote>
 <p>2013-04-07  Bob Friesenhahn  &lt;<a class="reference external" \
href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#6 \
4;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
  <blockquote>
 <ul class="simple">

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Graphicsmagick-commit mailing list
Graphicsmagick-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic