github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/share/doc/GraphicsMagick/www/ChangeLog-2007.html (about) 1 <?xml version="1.0" encoding="utf-8" ?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta name="generator" content="Docutils 0.15.2: http://docutils.sourceforge.net/" /> 7 <title>ChangeLog-2007.rst</title> 8 <link rel="stylesheet" href="docutils-articles.css" type="text/css" /> 9 </head> 10 <body> 11 12 <div class="banner"> 13 <img src="images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" /> 14 <span class="title">GraphicsMagick</span> 15 <form action="http://www.google.com/search"> 16 <input type="hidden" name="domains" value="www.graphicsmagick.org" /> 17 <input type="hidden" name="sitesearch" value="www.graphicsmagick.org" /> 18 <span class="nowrap"><input type="text" name="q" size="25" maxlength="255" /> <input type="submit" name="sa" value="Search" /></span> 19 </form> 20 </div> 21 22 <div class="navmenu"> 23 <ul> 24 <li><a href="index.html">Home</a></li> 25 <li><a href="project.html">Project</a></li> 26 <li><a href="download.html">Download</a></li> 27 <li><a href="README.html">Install</a></li> 28 <li><a href="Hg.html">Source</a></li> 29 <li><a href="NEWS.html">News</a> </li> 30 <li><a href="utilities.html">Utilities</a></li> 31 <li><a href="programming.html">Programming</a></li> 32 <li><a href="reference.html">Reference</a></li> 33 </ul> 34 </div> 35 <div class="document"> 36 37 38 <p>2007-12-23 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 39 <blockquote> 40 <ul class="simple"> 41 <li>VisualMagick/configure/configure.rc: Better positioning of frog, 42 changed original ImageMagick messages.</li> 43 <li>VisualMagick/configure/configure.exe: New build.</li> 44 </ul> 45 </blockquote> 46 <p>2007-12-22 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 47 <blockquote> 48 <ul class="simple"> 49 <li>magick/command.c: Fix compilability issue for Microsoft Visual 50 Studio 6.</li> 51 </ul> 52 </blockquote> 53 <p>2007-12-16 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 54 <blockquote> 55 <ul class="simple"> 56 <li>configure.ac: Use some improved tests for POSIX standard types 57 available in Autoconf 2.61. 58 Add support for configuring a magick_uintmax_t type. 59 Added support for configuring a magick_uintptr_t type.</li> 60 </ul> 61 </blockquote> 62 <p>2007-12-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 63 <blockquote> 64 <ul class="simple"> 65 <li>magick/utility.h (MagickSafeMultiplySize_t): New function to 66 perform a safe multiply. A multiplication overflow results in 67 zero. 68 (MagickAllocateMemory): Check for size_t value truncation/overflow 69 and zero size before deciding to allocate memory. Any detected 70 failure results in a NULL pointer being returned. 71 (MagickReallocMemory): Add a type parameter to use in cast in 72 order to avoid C++ portability problem.</li> 73 <li>PerlMagick/Magick.xs: Eliminate use of deprecated methods.</li> 74 <li>magick/memory.c (MagickAcquireMemory): New function to allocate 75 memory. 76 (MagickAcquireMemoryArray): New function to allocate memory for an 77 array of objects. 78 (MagickCloneMemory): New function to intelligently copy memory. 79 (MagickReallocateMemory): New function to re-allocate memory. 80 (MagickReleaseMemory): New function to deallocate memory.</li> 81 <li>magick/deprecate.c (AcquireMemory): Deprecated in favor of new 82 function MagickAcquireMemory(). 83 (CloneMemory): Deprecated in favor of new function 84 MagickCloneMemory(). 85 (LiberateMemory): Deprecated in favor of new function 86 MagickReleaseMemory(). 87 (ReacquireMemory): Deprecated in favor of new function 88 MagickReallocateMemory().</li> 89 </ul> 90 </blockquote> 91 <p>2007-11-24 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 92 <blockquote> 93 <ul class="simple"> 94 <li>magick/constitute.c (ReadImage): Log colorspace of returned image. 95 (WriteImage): Log colorspace of image to be written.</li> 96 <li>coders/{miff.c,mpc.c,tga.c,tiff.c}: Use MagickBoolToString().</li> 97 <li>magick/{constitute.c,xwindow.c}: Use MagickBoolToString().</li> 98 <li>magick/image.h (MagickBoolToString): New macro to convert truth 99 value to a constant "True" or "False" string.</li> 100 </ul> 101 </blockquote> 102 <p>2007-11-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 103 <blockquote> 104 <ul class="simple"> 105 <li>magick/image.c (IsImagesEqual): Allow comparing images if the 106 colorspace enumeration is different but the images are both an RGB 107 type.</li> 108 </ul> 109 </blockquote> 110 <p>2007-11-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 111 <blockquote> 112 <ul class="simple"> 113 <li>magick/command.c: Add support for -monitor option to <cite>animate</cite>, 114 <cite>display</cite>, and <cite>import</cite>.</li> 115 <li>coders/fpx.c (WriteFPXImage): Fix compilation problem.</li> 116 <li>coders/dpx.c (TentUpsampleChroma): Fix access beyond array. Use 117 integer calculations where possible.</li> 118 </ul> 119 </blockquote> 120 <p>2007-11-07 Andy Armstrong <<a class="reference external" href="mailto:andy%40hexten.net">andy<span>@</span>hexten<span>.</span>net</a>></p> 121 <blockquote> 122 <ul class="simple"> 123 <li>PerlMagick/t/setattribute.t: Fix for typo which breaks 124 Test::Harness 3.00.</li> 125 </ul> 126 </blockquote> 127 <p>2007-10-20 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 128 <blockquote> 129 <ul class="simple"> 130 <li><dl class="first docutils"> 131 <dt>mat.c: Attempt to read <cite>logic</cite> type modification</dt> 132 <dd>as monochrome image.</dd> 133 </dl> 134 </li> 135 </ul> 136 </blockquote> 137 <p>2007-10-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 138 <blockquote> 139 <ul class="simple"> 140 <li>magick/blob.c (ReadBlob?SBFoo): Return 0 on EOF conditions 141 rather than a magic value concocted using ~0. The magic value was 142 very sensitive to the size/range of the type used to pass and 143 store it, leading to increased possibility of error. There was 144 also concern that sometimes a successfully read value may match 145 the magic value. Added documentation that EOFBlob() may be used 146 to determine that the blob is in EOF state.</li> 147 <li>coders/pix.c (ReadPIXImage): Avoid reliance on a particular 148 magic value being returned from ReadBlobMSBShort on EOF.</li> 149 <li>coders/avs.c (ReadAVSImage): Avoid reliance on a particular 150 magic value being returned from ReadBlobMSBLong() on EOF.</li> 151 </ul> 152 </blockquote> 153 <p>2007-10-07 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 154 <blockquote> 155 <ul class="simple"> 156 <li>wpg.c: Monochrome images are not using palette - 157 palette is discarded in this case.</li> 158 </ul> 159 </blockquote> 160 <p>2007-10-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 161 <blockquote> 162 <ul class="simple"> 163 <li>magick/blob.h: Blob I/O APIs now use sized types so that passed 164 and returned data values are a specific size rather than 165 architecture dependent.</li> 166 <li>PerlMagick/t/read.t: Added read test for unsigned 32-bit LSB MAT 167 format.</li> 168 </ul> 169 </blockquote> 170 <p>2007-10-01 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 171 <blockquote> 172 <ul class="simple"> 173 <li>coders/dib.c (ReadDIBImage): Use appropriate sized cast for DIB 174 width and height values. Validate width and height values.</li> 175 <li>coders/bmp.c (ReadBMPImage): Use appropriate sized cast for BMP 176 width and height values.</li> 177 <li>magick/colorspace.c (RGBTransformImage): Use a better rounding 178 algorithm when converting to HSL/HWB colorspaces.</li> 179 <li>magick/gem.c (TransformHSL): Avoid GCC opimization bug on 180 Opteron which caused wrong results. Ensure that returned values 181 fall within bounds 0.0 to 1.0. 182 (TransformHWB): Avoid GCC opimization bug on 183 Opteron which caused wrong results. Ensure that returned values 184 fall within bounds 0.0 to 1.0.</li> 185 <li>PerlMagick/t/ttf/read.t: Relax strictness quite a bit for TTF 186 read tests in order to allow somewhat different FreeType output.</li> 187 </ul> 188 </blockquote> 189 <p>2007-09-30 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 190 <blockquote> 191 <ul class="simple"> 192 <li>magick/colorspace.c (RGBTransformImage): Add missing break 193 statement. HWB colorspace was used rather than HSL. 194 (TransformRGBImage): Add missing break 195 statement. HWB colorspace was used rather than HSL.</li> 196 </ul> 197 </blockquote> 198 <p>2007-09-19 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 199 <blockquote> 200 <ul class="simple"> 201 <li>coders/sun.c (ReadSUNImage): Properly report SUN image depth.</li> 202 </ul> 203 </blockquote> 204 <p>2007-09-28 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 205 <blockquote> 206 <ul class="simple"> 207 <li>coders/mat.c Ability to write multiple images to one MAT file. 208 Fixed bug - incorrect matrix size for gray image.</li> 209 </ul> 210 </blockquote> 211 <p>2007-09-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 212 <blockquote> 213 <ul class="simple"> 214 <li>magick/shear.c (IntegralRotateImage): Rotation by 270 degrees 215 was wrong. It was flipped from what it should be.</li> 216 </ul> 217 </blockquote> 218 <p>2007-09-17 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 219 <blockquote> 220 <ul class="simple"> 221 <li>magick/command.c (CommandProgressMonitor): Remove any preceding 222 whitespace in the task descriptions so that we don't need to 223 update all of the task descriptions right away.</li> 224 <li>magick/colorspace.c (RGBTransformImage): Improve progress monitor message. 225 (TransformRGBImage): Improve progress monitor message.</li> 226 <li>coders/miff.c (ReadMIFFImage): Add read progress monitor support.</li> 227 </ul> 228 </blockquote> 229 <p>2007-09-15 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 230 <blockquote> 231 <ul class="simple"> 232 <li>coders/pdf.c (WritePDFImage): Fix writing PDF with CCITT 233 compression. Addresses SourceForge bug 1209177 "TIFF to PDF CCITT 234 compression fails".</li> 235 </ul> 236 </blockquote> 237 <p>2007-09-14 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 238 <blockquote> 239 <ul class="simple"> 240 <li>coders/mat.c Ability to read multiple images from one MAT file. 241 changed ExtendedSignedIntegralType to magick_off_t that better 242 corresponds to file positioning.</li> 243 </ul> 244 </blockquote> 245 <p>2007-09-14 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 246 <blockquote> 247 <ul class="simple"> 248 <li>coders/pdf.c (WritePDFImage): Use ThumbnailImage() to create 249 thumbnail.</li> 250 <li>coders/preview.c (WritePreviewImage): Use ThumbnailImage() to 251 create thumbnail.</li> 252 <li>coders/xpm.c (WritePICONImage): Use ThumbnailImage() to create 253 thumbnail.</li> 254 </ul> 255 </blockquote> 256 <p>2007-09-14 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 257 <blockquote> 258 <ul class="simple"> 259 <li>coders/mat.c Several warnings has been suppressed.</li> 260 </ul> 261 </blockquote> 262 <p>2007-09-13 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 263 <blockquote> 264 <ul class="simple"> 265 <li>coders/tiff.c (WriteTIFFImage): Fix writing to pipes and other 266 non-seekable output destinations.</li> 267 <li>magick/blob.c (WriteBlobFile): New function to copy a disk file 268 to a blob stream.</li> 269 <li>magick/profile.c (ProfileImage): Fix removing profiles.</li> 270 </ul> 271 </blockquote> 272 <p>2007-09-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 273 <blockquote> 274 <ul class="simple"> 275 <li>coders/png.c (png_flush_data): Don't invoke SyncBlob() since it 276 does far more than force data to the output file. 277 (ReadPNGImage): Make sure that PNG read errors are reported to the 278 user.</li> 279 <li>coders/jpeg.c (TerminateDestination): Don't invoke SyncBlob() 280 since it does far more than force data to the output file.</li> 281 <li>magick/blob.c (SyncBlob): Remove from public interface.</li> 282 </ul> 283 </blockquote> 284 <p>2007-09-12 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 285 <blockquote> 286 <ul class="simple"> 287 <li>coders/mat.c Allowed to read signed integer matrices. 288 Fixed loop break.</li> 289 </ul> 290 </blockquote> 291 <p>2007-09-11 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 292 <blockquote> 293 <ul class="simple"> 294 <li>coders/tiff.c (WriteTIFFImage): Ensure that selected photometric 295 most closely matches the user's expectation. Remove compression 296 if requested compression type is not compatible with the selected 297 photometric.</li> 298 </ul> 299 </blockquote> 300 <p>2007-09-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 301 <blockquote> 302 <ul class="simple"> 303 <li>magick/shear.c (IntegralRotateImage): Use tiles to speed up 304 rotation by 90 or 270 degrees.</li> 305 </ul> 306 </blockquote> 307 <p>2007-09-07 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 308 <blockquote> 309 <ul class="simple"> 310 <li>coders/mat.c The flop image has been eliminated in a reader. 311 Code has been shrinked a little bit.</li> 312 </ul> 313 </blockquote> 314 <p>2007-09-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 315 <blockquote> 316 <ul class="simple"> 317 <li>magick/image.c (GetImageCharacteristics): Add progress monitor support.</li> 318 <li>magick/color.c (IsMonochromeImage): Add progress monitor support. 319 (IsGrayImage): Add progress monitor support. 320 (IsOpaqueImage): Add progress monitor support.</li> 321 <li>coders/dpx.c (ReadDPXImage): Added progress indication.</li> 322 <li>coders/cineon.c (WriteCINEONImage): Added progress indication.</li> 323 <li>magick/command.c : Added a -monitor command option for 324 <cite>composite</cite>, <cite>convert</cite>, <cite>identify</cite>, <cite>mogrify</cite>, and <cite>montage</cite> in 325 order to enable a simple progress indicator.</li> 326 </ul> 327 </blockquote> 328 <p>2007-09-06 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 329 <blockquote> 330 <ul class="simple"> 331 <li>coders/mat.c Write native gray MAT data when gray image is detected.</li> 332 </ul> 333 </blockquote> 334 <p>2007-09-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 335 <blockquote> 336 <ul class="simple"> 337 <li>magick/utility.c (GetExecutionPath): Add support for Apple OS-X, 338 Linux, and FreeBSD.</li> 339 </ul> 340 </blockquote> 341 <p>2007-09-04 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 342 <blockquote> 343 <ul class="simple"> 344 <li>configure.ac: For Windows MinGW-based build, find Ghostscript 345 fonts installed under C:/Program Files/.</li> 346 <li>VisualMagick/bin/delegates.mgk: Adjust quoting to Ghostscript arguments 347 so that Ghostscript DLL is passed correct commands.</li> 348 <li>config/delegates.mgk.in: Adjust quoting to Ghostscript arguments 349 so that Ghostscript DLL is passed correct commands.</li> 350 <li>configure.ac: Provide defaults for GSColorAlphaDevice and GSGrayDevice.</li> 351 <li>magick/nt_base.c (NTGhostscriptGetString): Support "GPL Ghostscript".</li> 352 </ul> 353 </blockquote> 354 <p>2007-09-03 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 355 <blockquote> 356 <ul class="simple"> 357 <li>coders/ps.c (WritePSImage): Improved Postscript writer 358 performance.</li> 359 </ul> 360 </blockquote> 361 <p>2007-09-02 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 362 <blockquote> 363 <ul class="simple"> 364 <li>magick/profile.c (AllocateImageProfileIterator): New function to 365 allocate an image profile iterator. 366 (DeallocateImageProfileIterator): New function to deallocate an 367 image profile iterator. 368 (NextImageProfile): New function to advance the image profile 369 iterator to the next profile.</li> 370 <li>magick/image.h (Image): Profiles are now stored in a generic 371 container. As planned years ago, the color_profile, iptc_profile, 372 generic_profile, and generic_profiles members are now removed.</li> 373 </ul> 374 </blockquote> 375 <p>2007-09-01 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 376 <blockquote> 377 <ul class="simple"> 378 <li>coders/bmp.c Ability to read true color bitmap with invalid palette size 379 like other readers do.</li> 380 </ul> 381 </blockquote> 382 <p>2007-08-31 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 383 <blockquote> 384 <ul class="simple"> 385 <li>magick/pixel_cache.c (ClonePixelCacheMethods): Remove DLL export. 386 (DestroyCacheInfo): Remove DLL export. 387 (GetCacheInfo): Remove DLL export. 388 (ReferenceCache): Remove DLL export.</li> 389 </ul> 390 </blockquote> 391 <p>2007-08-30 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 392 <blockquote> 393 <ul class="simple"> 394 <li>magick/image.c (SetImageType): More tweaks to obtain the desired 395 behavior when converting to a bilevel image.</li> 396 <li>coders/tiff.c (WriteTIFFImage): Logic which decided the output 397 subformat to write was too convoluted to understand, and in fact 398 palette images were not be written sometimes when they should be 399 (bug added on 2007-08-19). Deleted the convoluted code and 400 replaced with a different design which should be more correct and 401 flexible. 402 (ReadTIFFImage): Decided to read bilevel TIFF using a colormap 403 since there are significant internal advantages to doing so. 404 However, the writer is carefully designed to output normal bilevel 405 TIFF so this should not annoy TIFF users.</li> 406 <li>magick/constitute.c (ImportImagePixelArea): Re-wrote grayscale 407 pseudoclass import to be more efficient and more tidy.</li> 408 </ul> 409 </blockquote> 410 <p>2007-08-30 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 411 <blockquote> 412 <ul class="simple"> 413 <li>coders/art.c Added ART writer</li> 414 </ul> 415 </blockquote> 416 <p>2007-08-29 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 417 <blockquote> 418 <ul class="simple"> 419 <li>magick/blob.c (ReadBlobLSBFloat): Promoted to be a public 420 interface (was in mat.c). 421 (ReadBlobMSBFloat):Promoted to be a public interface (was in 422 mat.c).</li> 423 </ul> 424 </blockquote> 425 <p>2007-08-29 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 426 <blockquote> 427 <ul class="simple"> 428 <li>coders/art.c InsertRow has been replaced by ImportImagePixelArea</li> 429 </ul> 430 </blockquote> 431 <p>2007-08-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 432 <blockquote> 433 <ul class="simple"> 434 <li>coders/pnm.c (ReadPNMImage): PNM "raw" formats are now read 435 using ImportImagePixelArea()</li> 436 <li>magick/constitute.c (ExportImagePixelArea): Added an optional 437 export_info parameter for returning information back to the user. 438 (ImportImagePixelArea): Added an optional import_info parameter 439 for returning information back to the user.</li> 440 <li>coders/jbig.c (ReadJBIGImage): Use ImportImagePixelArea(). 441 (WriteJBIGImage): Use ExportImagePixelArea();</li> 442 <li>coders/tiff.c (WriteTIFFImage): Make compression logic a bit 443 more tidy.</li> 444 <li>coders/pcx.c (WritePCXImage): Use GetImageCharacteristics().</li> 445 <li>coders/pcl.c (WritePCLImage): Use GetImageCharacteristics().</li> 446 <li>coders/dib.c (WriteDIBImage): Use GetImageCharacteristics().</li> 447 <li>coders/xpm.c (WritePICONImage): Use GetImageCharacteristics().</li> 448 <li>coders/viff.c (WriteVIFFImage): Use GetImageCharacteristics().</li> 449 <li>coders/tga.c (WriteTGAImage): Use GetImageCharacteristics().</li> 450 <li>coders/sgi.c (WriteSGIImage): Use GetImageCharacteristics().</li> 451 <li>coders/ps2.c (WritePS2Image): Use GetImageCharacteristics().</li> 452 <li>coders/pdf.c (WritePDFImage): Use GetImageCharacteristics().</li> 453 <li>coders/palm.c (WritePALMImage): Use GetImageCharacteristics().</li> 454 <li>coders/ps.c (WritePSImage): Use GetImageCharacteristics().</li> 455 <li>coders/jp2.c (WriteJP2Image): Use GetImageCharacteristics().</li> 456 <li>coders/jpeg.c (WriteJPEGImage): Use GetImageCharacteristics().</li> 457 <li>PerlMagick/t/read.t: Added read test for LSB <cite>float</cite> MAT.</li> 458 </ul> 459 </blockquote> 460 <p>2007-08-26 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 461 <blockquote> 462 <ul class="simple"> 463 <li>coders/mat.c: MAT reader now extensively uses ImportImagePixelArea.</li> 464 </ul> 465 </blockquote> 466 <p>2007-08-26 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 467 <blockquote> 468 <ul class="simple"> 469 <li>tests/Makefile.am: Add rwblob and rwfile tests for MAT format.</li> 470 <li>magick/constitute.c: Re-wrote Export/Import Float/Double macros 471 because they did not actually work right, and to eliminate the 472 performance penalty for native order.</li> 473 </ul> 474 </blockquote> 475 <p>2007-08-25 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 476 <blockquote> 477 <ul class="simple"> 478 <li>PerlMagick/Magick.xs: Add support for "native" endian parameter 479 in PerlMagick.</li> 480 <li>magick/command.c: Utilities now understand "native" as an 481 argument to -endian.</li> 482 <li>magick/image.h (enum EndianType): Added NativeEndian enum value.</li> 483 <li>configure.ac: Test libtiff for TIFFSwabArrayOfTriples().</li> 484 <li>magick/constitute.c (ExportImagePixelArea): Support export in 485 little, big, and native endian. 486 (ImportImagePixelArea): Support import in little, big, and native 487 endian.</li> 488 </ul> 489 </blockquote> 490 <p>2007-08-23 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 491 <blockquote> 492 <ul class="simple"> 493 <li>coders/mat.c (WriteMATLABImage): MAT writer uses 494 ExportImagePixelArea() now. Fix issues noticed by valgrind.</li> 495 </ul> 496 </blockquote> 497 <p>2007-08-21 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 498 <blockquote> 499 <ul class="simple"> 500 <li>coders/pnm.c (WritePNMImage): Use <cite>-quality 0</cite> rather than 501 <cite>-compress none</cite> to select the PNM ASCII subformats. This change 502 is made based on the principle of least surprise.</li> 503 <li>magick/constitute.c (ExportImagePixelArea): Add a GrayQuantum 504 implementation for exporting from two color PsuedoClass.</li> 505 <li>coders/pnm.c (WritePNMImage): Use GetImageCharacteristics() and 506 ExportImagePixelArea() in implementation.</li> 507 </ul> 508 </blockquote> 509 <p>2007-08-20 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 510 <blockquote> 511 <ul class="simple"> 512 <li>magick/constitute.c (ExportImagePixelArea): Performance 513 improvements. 514 (ImportImagePixelArea): Performance improvements.</li> 515 </ul> 516 </blockquote> 517 <p>2007-08-19 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 518 <blockquote> 519 <ul class="simple"> 520 <li>magick/command.c (IdentifyImageCommand): If "%r" is present in 521 -format specifier, then read whole image.</li> 522 <li>magick/utility.c (TranslateTextEx): Undocumented "%r" 523 substitution now returns a string based on GetImageType() rather 524 than a concatentation of image class and "Matte".</li> 525 <li>coders/tiff.c (WriteTIFFImage): Use GetImageCharacteristics().</li> 526 <li>magick/image.c (GetImageCharacteristics): New function to 527 evaluate the basic characteristics of the image. 528 (GetImageType): Use GetImageCharacteristics().</li> 529 </ul> 530 </blockquote> 531 <p>2007-08-17 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 532 <blockquote> 533 <ul class="simple"> 534 <li>coders/dpx.c (RegisterDPXImage): Remove extra newline in usage 535 note.</li> 536 <li>coders/fax.c (RegisterFAXImage): Fix note to reflect that the 537 output from this coder is *not* a TIFF subformat as was previously 538 claimed.</li> 539 <li>coders/tiff.c (WriteTIFFImage): Output G3 TIFF FAX images as per 540 the TIFF Class F specification.</li> 541 </ul> 542 </blockquote> 543 <p>2007-08-16 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 544 <blockquote> 545 <ul class="simple"> 546 <li>magick/{api.h, studio.h}: Strip out legacy MacOS 9 and VMS "support".</li> 547 <li>magick/{nt_base.c, unix_port.c} (MagickGetMMUPageSize): New function to obtain 548 the VM page size.</li> 549 <li>magick/pixel_cache.c (PersistCache): Fix a terrible memory leak 550 when reading MPC files. Added Cache reference-count logging.</li> 551 </ul> 552 </blockquote> 553 <p>2007-08-12 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 554 <blockquote> 555 <ul class="simple"> 556 <li>magick/command.c (BenchMarkSubCommand): Added a new <cite>benchmark</cite> 557 GraphicsMagick command which can be used to perform benchmarking 558 on any other GraphicsMagick command.</li> 559 </ul> 560 </blockquote> 561 <p>2007-08-11 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 562 <blockquote> 563 <ul class="simple"> 564 <li>coders/mat.c (ReadMATImage): Support image is_grayscale flag. 565 Add some coder logging.</li> 566 </ul> 567 </blockquote> 568 <p>2007-08-11 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 569 <blockquote> 570 <ul class="simple"> 571 <li>magick/{paint.c, render.c, annotate.c}: Use AlphaComposite() 572 from alpha_composite.h.</li> 573 <li>magick/alpha_composite.h (BlendComposite): Move inline 574 BlendComposite() to a header file since it is used in multiple 575 places.</li> 576 <li>magick/{shear.c, image.c}: Use BlendComposite() from 577 alpha_composite.h.</li> 578 <li>magick/image.c (SetImageDepth): Don't bother to test current 579 depth in advance. Preserve is_monochrome flag. Encapsulate 580 bit-reduction algorithm in a macro. Be a bit smarter with 581 PseudoClass images. 582 (SyncImage): Preserve is_monochrome flag. Improve performance 583 when image does not have an opacity channel.</li> 584 <li>PerlMagick/t/read.t: Allow some error when reading double MAT.</li> 585 </ul> 586 </blockquote> 587 <p>2007-08-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 588 <blockquote> 589 <ul class="simple"> 590 <li>PerlMagick/t/read.t: Update MAT read tests according to 591 instructions from Fojtik Jaroslav.</li> 592 </ul> 593 </blockquote> 594 <p>2007-08-06 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 595 <blockquote> 596 <ul class="simple"> 597 <li>coders/wpg.c (ReadWPGImage): Support WPG files which use XOR 598 operator.</li> 599 </ul> 600 </blockquote> 601 <p>2007-08-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 602 <blockquote> 603 <ul class="simple"> 604 <li>magick/blob.c (ReadBlobLSBdouble): Migrate from mat.c. 605 (ReadBlobMSBdouble): Migrate from mat.c.</li> 606 </ul> 607 </blockquote> 608 <p>2007-08-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 609 <blockquote> 610 <ul class="simple"> 611 <li>magick/constitute.c (ExportImagePixelArea): Add optimized 612 support for 2 and 16 color PseudoClass. 613 (ImportImagePixelArea): Add optimized support for 2 and 16 color 614 PseudoClass.</li> 615 <li>magick/constitute.c (ImportImagePixelArea): Add option to output 616 pad bytes at end of pixel data. Added optimized implementation of 617 IndexQuantum for bilevel images.</li> 618 <li>coders/tiff.c (WriteTIFFImage): Be smarter when writing gray 619 Palette and grayscale TIFF images in order to not waste time.</li> 620 <li>coders/bmp.c (ReadBMPImage): Use ImportImagePixelArea() when 621 reading and writing bilevel and colormapped images. 622 (WriteBMPImage): Use ExportImagePixelArea() when writing bilevel 623 images.</li> 624 <li>magick/version.h.in: Added wrapping for copyright line to a 625 reasonable width.</li> 626 <li>AUTHORS: Added Daniel Kobras.</li> 627 <li>magick/command.c (VersionCommand): Added feature support list to 628 -version output.</li> 629 </ul> 630 </blockquote> 631 <p>2007-08-02 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 632 <blockquote> 633 <ul class="simple"> 634 <li>magick/command.c (AnimateImageCommand): Add support for -type to 635 <cite>animate</cite>. 636 (DisplayImageCommand): Add support for -type to <cite>convert</cite></li> 637 <li>config/delegates.mgk.in, VisualMagick/bin/delegates.mgk: Added 638 gs-gray and gs-color+alpha delegate definitions.</li> 639 <li>coders/{ept.c, pdf.c, ps.c}: Respect a -type Bilevel, Grayscale, 640 TrueColor, or TrueColorMatte request by passing appropriate 641 options to Ghostscript for rendering..</li> 642 </ul> 643 </blockquote> 644 <p>2007-07-31 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 645 <blockquote> 646 <ul class="simple"> 647 <li>magick/constitute.c (ImportImagePixelArea): Improved read speed 648 for bilevel gray image. Many thanks to Mark Mitchell for 649 inspiration and ideas.</li> 650 <li>coders/caption.c (ReadCAPTIONImage): Eliminate use of strcpy().</li> 651 <li>coders/pnm.c (ReadPNMImage): Add logging as well as support for 652 is_monochrome and is_grayscale flags.</li> 653 <li>magick/color.h (IsMonochrome): Add parenthesis so macro is more 654 robust.</li> 655 </ul> 656 </blockquote> 657 <p>2007-07-29 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 658 <blockquote> 659 <ul class="simple"> 660 <li>coders/html.c (WriteHTMLImage): Eliminate use of strncat().</li> 661 <li>coders/locale.c (ReadConfigureFile): Eliminate use of strncat().</li> 662 <li>coders/png.c (ReadOnePNGImage): Eliminate use of strncat().</li> 663 <li>magick/fx.c (ConvolveImage): Eliminate use of strncat().</li> 664 <li>coders/tiff.c (WriteTIFFImage): Eliminate use of strncat().</li> 665 <li>magick/delegate.c (InvokePostscriptDelegate): Eliminate 666 doubled-output when running in verbose mode.</li> 667 </ul> 668 </blockquote> 669 <p>2007-07-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 670 <blockquote> 671 <ul class="simple"> 672 <li>magick/delegate.c (InvokePostscriptDelegate): MagickSpawnVP() 673 requires three parameters.</li> 674 </ul> 675 </blockquote> 676 <p>2007-07-27 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 677 <blockquote> 678 <ul class="simple"> 679 <li>bzlib: Updated bzip2 to 1.0.4.</li> 680 <li>jbig: Updated jbigkit to 1.6</li> 681 <li>jp2: Updated JasPer to 1.900.1.</li> 682 <li>lcms: Updated lcms to 1.16</li> 683 <li>png: Updated libpng to 1.2.18.</li> 684 </ul> 685 </blockquote> 686 <p>2007-07-24 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 687 <blockquote> 688 <ul class="simple"> 689 <li>coders/xc.c (ReadXCImage): If ImageInfo type field is set to 690 TrueColorType or TrueColorMatteType type, then return a 691 DirectClass image, otherwise a PseudoClass image is returned as 692 before. From the command line this can be used like: 693 <cite>gm convert -size 640x480 -type TrueColor xc:red red.miff</cite>. 694 Programs may also use this in order to obtain a DirectClass 695 canvas image to draw on.</li> 696 <li>magick/enhance.c (LevelImage): Fix potential buffer overflow 697 which was added since the 1.1 branch.</li> 698 </ul> 699 </blockquote> 700 <p>2007-07-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 701 <blockquote> 702 <ul class="simple"> 703 <li>magick/delegate.c (UnixShellTextEscape): Don't escape newline 704 character since it performs the opposite of what is desired.</li> 705 </ul> 706 </blockquote> 707 <p>2007-07-23 Daniel Kobras <<a class="reference external" href="mailto:kobras%40debian.org">kobras<span>@</span>debian<span>.</span>org</a>></p> 708 <blockquote> 709 <ul class="simple"> 710 <li><dl class="first docutils"> 711 <dt>magick/delegate.c (UnixShellTextEscape): Fix fencepost error</dt> 712 <dd>when checking whether escaping is safe.</dd> 713 </dl> 714 </li> 715 </ul> 716 </blockquote> 717 <p>2007-07-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 718 <blockquote> 719 <ul class="simple"> 720 <li>Makefile.am: Retire VMS and MacOS 9 support from package.</li> 721 </ul> 722 </blockquote> 723 <p>2007-07-22 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 724 <blockquote> 725 <ul class="simple"> 726 <li>coders/{cmyk.c, gray.c, mono.c, rgb.c, uyvy.c, wbmp.c, yuv.c} 727 (ReadFOOImage): Check for EOF while searching for start of image 728 data.</li> 729 <li>tests/Makefile.am: Don't test PTIF format with blob I/O since it 730 is not possible to pass the rwblob test and it is really an output 731 driver rather than a format.</li> 732 <li>libtool: Update to latest CVS libtool.</li> 733 <li>magick/constitute.c (ExportModulo8Quantum): Move Import and 734 Export macros from header file since they are not used anywhere 735 else.</li> 736 <li>coders/dpx.c: Add underscore suffix to macro local variable 737 names in order to avoid conflict with names in code using the 738 macros.</li> 739 </ul> 740 </blockquote> 741 <p>2007-07-21 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 742 <blockquote> 743 <ul class="simple"> 744 <li>wand/magick_wand.c: Reduce the number of warnings when compiling 745 the Wand library.</li> 746 <li>coders/xwd.c (XWD_OVERFLOW): Eliminate comparison between signed 747 and unsigned.</li> 748 <li>coders/pnm.c (ValidateScalingIndex): Eliminate check to see if 749 unsigned type is less than zero.</li> 750 <li>magick/log.c (LogMagickEvent): Even though log file name comes 751 from a controlled source (log.mgk), perform safe numeric 752 substitution on it.</li> 753 <li>coders/xwd.c (ReadXWDImage): Eliminate conflict between locally 754 defined OVERFLOW macro and similarly named macro under Windows.</li> 755 </ul> 756 </blockquote> 757 <p>2007-07-18 Daniel Kobras <<a class="reference external" href="mailto:kobras%40debian.org">kobras<span>@</span>debian<span>.</span>org</a>></p> 758 <blockquote> 759 <ul class="simple"> 760 <li>coders/xwd.c (ReadXWDImage): Integer overflow fix 761 (CVE-2007-1797). From Debian patch 762 xwd_integer_overflow_fixes_CVE-2007-1797. 763 (ReadXWDImage): Fix for integer under/overflow. From Debian patch 764 xwd_overflow_fix.</li> 765 <li>coders/wpg.c (ReadWPGImage): WPG segfault fix. From Debian 766 patch wpg_segfault_fix.</li> 767 <li>coders/viff.c (ReadVIFFImage): Verify number of bands prior to 768 using image. From Debian patch viff_heap_corruption_fix.</li> 769 <li>coders/sun.c (ReadSUNImage): Sun segfault fix. From Debian 770 patch sun_segfault_fix.</li> 771 <li>magick/blob.c (ReadBlobStream): Never try to read data beyond 772 EOF in blob streams. Some (but not all) ReadBlob*() methods 773 already implemented similiar checks. Moving it to the central 774 ReadBlobStream() increases robustness and prevents out-of-bounds 775 reads. From Debian readblob_offset_robustness patch.</li> 776 <li>coders/pnm.c (ReadPNMImage): Validate pixel scaling. From 777 Debian pnm_scale_fix patch.</li> 778 <li>coders/pict.c (ReadPixmap): PICT segfault fix. From Debian 779 pict_segfault_fix patch.</li> 780 <li>coders/pcx.c (ReadPCXImage): PCX heap overflow fix. From Debian 781 pcx_heap_overflow_fix patch. 782 (ReadPCXImage): PCX segfault fix. From Debian pcx_segfault_fix.</li> 783 <li>magick/montage.c, PerlMagick/t/montage.t: Do not pass bogus 784 negative values to modulate shadow in montage. Instead, drop a 785 constant grey shadow like current ImageMagick. From Debian 786 montage_shadow_fix patch.</li> 787 <li>coders/png.c (ReadMNGImage): MNG segfault fix. From Debian 788 mng_segfault_fix patch.</li> 789 <li>utilities/miff.4: MIFF man page apropos fix. From 790 Debian miff_apropos_fix patch.</li> 791 <li>coders/icon.c (ReadIconImage): Icon segfault fix. From Debian 792 icon_segfault_fix patch.</li> 793 <li>tests/drawtest.c: Make sure filename strings do not run out of 794 bounds in drawtest. From Debian drawtest_segfault_fix patch.</li> 795 <li>config/delegates.mgk.in: Remove obsolete option -2 when calling 796 dcraw as a delegate. From Debian dcraw_options_fix patch.</li> 797 <li>coders/dcm.c (ReadDCMImage): Fix integer overflow in DCM 798 coder. (CVE-2007-1797). From Debian dcm_overflow_fix patch.</li> 799 <li>coders/bmp.c (ReadBMPImage): Verify file seek success. From 800 Debian bmp_overflow_fix patch.</li> 801 </ul> 802 </blockquote> 803 <p>2007-07-19 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 804 <blockquote> 805 <ul class="simple"> 806 <li>magick/utility.h (MagickReallocMemory): It seems that realloc() 807 frees the provided memory pointer if the requested size is zero. 808 This was causing MagickReallocMemory() to perform a double-free 809 under error conditions. Inspired by Debian 810 realloc_double_free_fix patch by Daniel Kobras.</li> 811 </ul> 812 </blockquote> 813 <p>2007-07-18 Daniel Kobras <<a class="reference external" href="mailto:kobras%40debian.org">kobras<span>@</span>debian<span>.</span>org</a>></p> 814 <blockquote> 815 <ul class="simple"> 816 <li>magick/quantize.c (GrayscalePseudoClassImage): Fix computation 817 of memory required for colormap index 818 (colormap_heap_overflow_fix).</li> 819 </ul> 820 </blockquote> 821 <p>2007-07-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 822 <blockquote> 823 <ul class="simple"> 824 <li>coders/miff.c (WriteRunlengthPacket): Converted excessively long 825 macro to a function and hopefully eliminate warnings when using 826 Visual Studio 2005.</li> 827 <li>magick/pixel_cache.c (ClonePixelCache): Eliminate bug when 828 size_t is an unsigned type.</li> 829 </ul> 830 </blockquote> 831 <p>2007-07-15 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 832 <blockquote> 833 <ul class="simple"> 834 <li>magick/image.c (SetImageInfo): Address security issue noted by 835 CVE-2006-0082 836 <a class="reference external" href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0082">http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0082</a> in 837 which output filenames matching arbitrary printf specifications 838 may cause GraphicsMagick to crash.</li> 839 <li>magick/utility.c (TranslateTextEx): New version of TranslateText 840 which allows copying each attribute via a user-provided callback 841 function.</li> 842 <li>magick/delegate.c (InvokeDelegate): Implement secure delegate 843 execution in POSIX environments in order to avoid injection of 844 arbitrary shell commands via carefully crafted filenames. Fixes 845 Debian Bug 345238 "[CVE-2005-4601] Shell command injection in 846 delegate code (via file names)" 847 <a class="reference external" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345238">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=345238</a></li> 848 </ul> 849 </blockquote> 850 <p>2007-07-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 851 <blockquote> 852 <ul class="simple"> 853 <li>magick/forward.h: New header file to support forward type 854 declarations.</li> 855 <li><dl class="first docutils"> 856 <dt>coders/pnm.c (ReadPNMImage): Fix pixel scaling problem caused by</dt> 857 <dd>floating point rounding error.</dd> 858 </dl> 859 </li> 860 </ul> 861 </blockquote> 862 <p>2007-07-07 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 863 <blockquote> 864 <ul class="simple"> 865 <li>magick/studio.h: Provide pread() and pwrite() prototypes if they 866 are missing.</li> 867 <li>configure.ac: Check for missing pread() and pwrite() prototypes.</li> 868 <li>m4/ac_func_fseeko.m4: Use fixed version of AC_FUNC_FSEEKO.</li> 869 <li>magick/utility.c (SystemCommand): Avoid use of snprintf.</li> 870 </ul> 871 </blockquote> 872 <p>2007-07-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 873 <blockquote> 874 <ul class="simple"> 875 <li>magick/blob.c: Only replace getc_unlocked() and putc__unlocked() 876 for a thread-safe build.</li> 877 <li>magick/studio.h: Always use fseeko() and ftello() if they are 878 available.</li> 879 </ul> 880 </blockquote> 881 <p>2007-07-02 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 882 <blockquote> 883 <ul class="simple"> 884 <li>coders/dpx.c (ReadDPXImage): Avoid using seek() if possible, and 885 don't use at all if the input is not seekable.</li> 886 <li>coders/psd.c (ReadPSDImage): Eliminate memory leak when reading 887 PSD files. Fixes Sourceforge issue 1625477 "Memory leak reading 888 layered PSD Image".</li> 889 </ul> 890 </blockquote> 891 <p>2007-06-29 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 892 <blockquote> 893 <ul class="simple"> 894 <li>magick/command.c: Fixed -affine command argument 895 validation. Fixes SourceForge issue 1743141 "Affine matrix option 896 parsing".</li> 897 <li>config/magic.mgk: Added detection for BigTIFF.</li> 898 <li>coders/tiff.c: Preliminary work to support BigTIFF.</li> 899 </ul> 900 </blockquote> 901 <p>2007-06-18 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 902 <blockquote> 903 <ul class="simple"> 904 <li>coders/dpx.c: Fix problems encountered when reading and writing 905 from/to pipes or compressed files.</li> 906 </ul> 907 </blockquote> 908 <p>2007-06-17 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 909 <blockquote> 910 <ul class="simple"> 911 <li>coders/dpx.c (ReadDPXImage): Improved the pixel data marshalling 912 in order to obtain better read performance for 10-bit DPX.</li> 913 <li>magick/blob.c (OpenBlob): Added support for MAGICK_MMAP_READ and 914 MAGICK_MMAP_WRITE environment variable options to enable input and 915 output file access using mmap().</li> 916 </ul> 917 </blockquote> 918 <p>2007-06-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 919 <blockquote> 920 <ul class="simple"> 921 <li>magick/blob.c (OpenBlob): Use MAGICK_IOBUF_SIZE to tune the size 922 of the I/O buffer. Sometimes performance is improved by using 923 something other than the current default of 16KB.</li> 924 </ul> 925 </blockquote> 926 <p>2007-06-05 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 927 <blockquote> 928 <ul class="simple"> 929 <li>coders/miff.c (ReadMIFFImage): Handle case where compression 930 keyword is present but has value of <cite>None</cite>.</li> 931 </ul> 932 </blockquote> 933 <p>2007-06-03 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 934 <blockquote> 935 <ul class="simple"> 936 <li>magick/blob.c (OpenBlob): Disable reading input files using 937 memory mapping since it has been learned that some operating 938 systems fail to do read-ahead on network files. Without 939 read-ahead, performance is poor.</li> 940 <li>magick/resource.c (AcquireMagickResource): Map resource limit 941 was not being properly checked due to a typo. The memory limit 942 was being tested instead.</li> 943 <li>coders/tiff.c (ReadTIFFImage): Use libtiff to decode OJPEG 944 compressed files into RGB. Probably requires new OJPEG 945 implementation from Joris Van Damme which is new in libtiff and 946 not yet released. I am not completely sure that this approach is 947 correct yet.</li> 948 </ul> 949 </blockquote> 950 <p>2007-05-23 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 951 <blockquote> 952 <ul class="simple"> 953 <li>magick/xwindow.c (MagickXGetWindowImage): Set image->depth 954 appropriately.</li> 955 <li>many files: Compiler warnings reduction.</li> 956 </ul> 957 </blockquote> 958 <p>2007-05-13 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 959 <blockquote> 960 <ul class="simple"> 961 <li>coders/cineon.c (ReadCINEONImage): Alter sample scaling 962 algorithm a bit.</li> 963 <li>tests/rwblob.c, tests/rwfile.c: Allow some slop when testing 964 Cineon format with QuantumDepth=8 since we are currently only 965 supporting 10 bit samples.</li> 966 </ul> 967 </blockquote> 968 <p>2007-05-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 969 <blockquote> 970 <ul class="simple"> 971 <li>coders/jpeg.c (ReadJPEGImage): Fix reading 12-bit grayscale 972 JPEG.</li> 973 </ul> 974 </blockquote> 975 <p>2007-05-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 976 <blockquote> 977 <ul class="simple"> 978 <li>coders/cineon.c (WriteCINEONImage): Re-wrote Cineon writer from 979 scratch. There is no code originating from ImageMagick in this 980 source module any more.</li> 981 </ul> 982 </blockquote> 983 <p>2007-04-30 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 984 <blockquote> 985 <ul class="simple"> 986 <li>coders/art.c, coders.cut.c, coders/mat.c, coders/wpg.c: Add 987 support for PingImage() so that image identification is fast by 988 default. Also eliminates error message produced by mat.c due to 989 rotating an image which has no pixel cache.</li> 990 </ul> 991 </blockquote> 992 <p>2007-04-09 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 993 <blockquote> 994 <ul class="simple"> 995 <li>coders/wpg.c (ReadWPGImage): Fix for SourceForge bug id 1431805 996 "clip art wpg files cause access violation in graphics magick".</li> 997 </ul> 998 </blockquote> 999 <p>2007-04-09 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1000 <blockquote> 1001 <ul class="simple"> 1002 <li>magick/pixel_cache.c (ModifyCache): Ensure that the cache nexus 1003 is open. Fix for SourceForge bug id 1173713 "segfault in 1004 ModifyCache"</li> 1005 <li>m4/acx_pthread.m4 (ACX_PTHREAD): Apply fixes necessary to 1006 support C++ compiler properly.</li> 1007 </ul> 1008 </blockquote> 1009 <p>2007-04-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1010 <blockquote> 1011 <ul class="simple"> 1012 <li>magick/GraphicsMagick.pc.in: Fix for SourceForge bug id 1576616 1013 "Fix includedir variable in pkg-config files".</li> 1014 <li>magick/pixel_cache.c (GetOnePixel): Fix for SourceForge bug id 1015 1572357 "GetOnePixel definition appears incorrect". It is true 1016 that this function is intended for read-only purposes and that the 1017 PixelPacket value is returned directly.</li> 1018 <li>coders/pdf.c (WritePDFImage): Fix for SourceForge bug id 1510075 1019 "Failed to write PDF with JPEG compression".</li> 1020 <li>magick/command.c (MogrifyImageCommand): Properly bubble up 1021 errors and terminate further mogrify processing immediately. This 1022 in response to SourceForge bug id 1391421 "problem doing resize on 1023 273x1 JPEG".</li> 1024 <li>magick/magick.c (InitializeMagickClientPathAndName): Fix for 1025 SourceForge bug id 1315109 "segfault in InitializeMagick(NULL)".</li> 1026 <li>wand/magick_wand.c (MagickGetQuantumDepth): Fix for SourceForge 1027 bug id 1353744 "MagickGetQuantumDepth doesn't work".</li> 1028 <li>PerlMagick/t/read.t: Added a test for WPG v1.</li> 1029 </ul> 1030 </blockquote> 1031 <p>2007-04-07 Fojtik Jaroslav <<a class="reference external" href="mailto:JaFojtik%40seznam.cz">JaFojtik<span>@</span>seznam<span>.</span>cz</a>></p> 1032 <blockquote> 1033 <ul class="simple"> 1034 <li>coders/mat.c: Read Matlab files in both big and little endian 1035 format.</li> 1036 </ul> 1037 </blockquote> 1038 <p>2007-03-28 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1039 <blockquote> 1040 <ul class="simple"> 1041 <li>coders/dpx.c (WriteDPXImage): Set DPX reference high quantity to 1042 2.047 rather than 2.048 since zero is assumed to occupy one count 1043 and 2.047 seems to be the convention even though the DPX 1044 specification says the default is 2.048. Technicolor uses 2.047.</li> 1045 <li>m4/acx_pthread.m4: Update version of ACX_PTHREAD macro used.</li> 1046 </ul> 1047 </blockquote> 1048 <p>2007-03-28 Fojtik Jaroslav <<a class="reference external" href="mailto:fojtik%40humusoft.cz">fojtik<span>@</span>humusoft<span>.</span>cz</a>></p> 1049 <blockquote> 1050 <ul class="simple"> 1051 <li>coders/wpg.c: Support CTM translation in WPG reader.</li> 1052 </ul> 1053 </blockquote> 1054 <p>2007-03-08 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1055 <blockquote> 1056 <ul class="simple"> 1057 <li>coders/dpx.c: Store 10-bit Luma samples in the filled 32-bit 1058 storage word starting with the datum in the least significant 1059 position.</li> 1060 </ul> 1061 </blockquote> 1062 <p>2007-02-10 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> 1063 <blockquote> 1064 <ul class="simple"> 1065 <li>Updated autoconf to version 2.61.</li> 1066 </ul> 1067 </blockquote> 1068 <p>2007-02-10 Daniel Kobras <<a class="reference external" href="mailto:kobras%40debian.org">kobras<span>@</span>debian<span>.</span>org</a>></p> 1069 <blockquote> 1070 <ul class="simple"> 1071 <li>coders/palm.c: (ReadPALMImage) Do not implicitly call 1072 ReadBlobByte() twice in Min() macro. Patch thanks to Vladimir 1073 Nadvornik. This was a regression introduced in patch for 1074 CVE-2006-5456. (CVE-2007-0770)</li> 1075 </ul> 1076 </blockquote> 1077 </div> 1078 </body> 1079 </html>