~ubuntu-branches/ubuntu/trusty/graphicsmagick/trusty-proposed

« back to all changes in this revision

Viewing changes to NEWS.txt

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2009-05-07 20:09:28 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090507200928-5rb3jyvrsi9x3zfl
Tags: 1.3.5-5
* debian/control: Update Conflicts/Replaces of -dev-compat package to
  follow libmagick-dev package split. Closes: #526482
* magick/GraphicsMagick-config.{in,1}: Do not expose compiler options
  used to build the library itself via GraphicsMagick-config. Only
  provide options that are actually useful to depending applications.
  Adjust documentation accordingly. Closes: #523596

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.. This text is in reStucturedText format, so it may look a bit odd.
 
2
.. See http://docutils.sourceforge.net/rst.html for details.
 
3
 
 
4
===================
 
5
GraphicsMagick News
 
6
===================
 
7
 
 
8
This file was last updated on January 26, 2009
 
9
 
 
10
Please note that this file records news for the associated development
 
11
branch and that each development branch has its own NEWS file. See the
 
12
ChangeLog file for full details.
 
13
 
 
14
.. contents::
 
15
  :local:
 
16
 
 
17
1.3.5 (January 26, 2009)
 
18
=========================
 
19
 
 
20
Security Fixes:
 
21
 
 
22
  * BMP and DIB formats were throwing an assertion for negative height
 
23
    values.  This caused the process to crash.
 
24
 
 
25
Bug fixes:
 
26
 
 
27
  * Don't install Magick++ headers if C++ is disabled.
 
28
 
 
29
  * Linux RPM SPEC file needs to always install the loadable module
 
30
    .la files or else the modules won't load.
 
31
 
 
32
  * Windows runtime DLLs were for the wrong compiler version,
 
33
    resulting in failure to execute if the correct runtime DLLs are
 
34
    not available.
 
35
 
 
36
New Features:
 
37
 
 
38
  * None
 
39
 
 
40
Feature improvements:
 
41
 
 
42
  * FITS: Parsing is more robust.
 
43
 
 
44
Performance Improvements:
 
45
 
 
46
  * None
 
47
 
 
48
1.3.4 (January 13, 2009)
 
49
=========================
 
50
 
 
51
Security Fixes:
 
52
 
 
53
  * None.
 
54
 
 
55
Bug fixes:
 
56
 
 
57
  * Now runs under Windows Vista (as a 32-bit application).
 
58
 
 
59
  * Fix for colorspace transform math overflow in Q32 build.
 
60
 
 
61
New Features:
 
62
 
 
63
  * Windows build supports OpenMP and requires Windows 2000 or later
 
64
    (source code still supports Windows '98).
 
65
 
 
66
  * Support large files under Windows.
 
67
 
 
68
  * Support reading/writing 16 and 24 bit float TIFF files.
 
69
 
 
70
  * Support reading/writing 64 bit integer TIFF files.
 
71
 
 
72
  * Added "Log", "Max", "Min", and "Pow" options to -operator.
 
73
 
 
74
Feature improvements:
 
75
 
 
76
  * Debug logging now properly prints 64-bit offset values.
 
77
 
 
78
Performance Improvements:
 
79
 
 
80
  * Improve resource estimation for Microsoft Windows systems.
 
81
 
 
82
1.3.3 (December 9, 2008)
 
83
========================
 
84
 
 
85
Security Fixes:
 
86
 
 
87
  * None.
 
88
 
 
89
Bug fixes:
 
90
 
 
91
  * 'identify' was throwing an assertion when used on colormapped
 
92
    files (this bug was introduced by 1.3.2).
 
93
 
 
94
  * With the -segment option, eliminate trashing the image colors when
 
95
    used on huge images.
 
96
 
 
97
  * 'identify -format "%c"' now reports the entire comment regardless
 
98
    of size.
 
99
 
 
100
  * Argument to -convolve is no longer arbitrarily truncated so huge
 
101
    convolution kernels may now be specified from the command line.
 
102
 
 
103
Performance Improvements:
 
104
 
 
105
  * Image segmentation (-segment) is now accelerated using OpenMP and
 
106
    uses several other tactics to improve execution performance.
 
107
 
 
108
  * 'identify "*"' now successfully works in a 32-bit application when
 
109
    used in a directory containing a million files.
 
110
 
 
111
  * 'identify' now executes quickly when used on TIFF files.
 
112
 
 
113
1.3.2 (November 29, 2008)
 
114
=========================
 
115
 
 
116
Security Fixes:
 
117
 
 
118
  * None.
 
119
 
 
120
Bug fixes:
 
121
 
 
122
  * -roll was failing for colormapped images.
 
123
 
 
124
  * VID: Memory leak fix.
 
125
 
 
126
  * PREVIEW: Solarize parameter was wrong.
 
127
 
 
128
  * Delegates previously using 'spawn' needed an ampersand so that
 
129
    starting the child process does not hang the GUI.
 
130
 
 
131
Feature improvements:
 
132
 
 
133
  * +profile now supports an exclusion syntax.  For example ``+profile
 
134
    '!icm,*'`` removes all of the profiles except for the ICM profile.
 
135
    The new syntax also allows multiple profiles to be listed at once.
 
136
 
 
137
Performance Improvements:
 
138
 
 
139
  * AdaptiveThreshold, Blur, Convolve, and MotionBlur no longer
 
140
    process the opacity channel unless the image has one.
 
141
 
 
142
1.3.1 (November 17, 2008)
 
143
=========================
 
144
 
 
145
Security Fixes:
 
146
 
 
147
  * None.
 
148
 
 
149
Bug fixes:
 
150
 
 
151
  * RPM build, Fixes to successfully build binary RPMs for Red Hat
 
152
    Linux 4.
 
153
 
 
154
  * MSL/conjure, Fix bug with attributes becoming appended to
 
155
    themselves.  Fix memory leaks.
 
156
 
 
157
Feature improvements:
 
158
 
 
159
  * New --disable-openmp-slow configure option for disabling use of
 
160
    OpenMP for algorithms which may run slower on operating systems
 
161
    with crummy thread libraries.
 
162
 
 
163
  * JPEG, Allow user to specify DCT encoding method via
 
164
    jpeg:dct-method define.  Also allow control over whether huffman
 
165
    encoding is used via jpeg:optimize-coding define.
 
166
 
 
167
Performance Improvements:
 
168
 
 
169
  * OpenMP (parallel processing) improvements for these functions:
 
170
 
 
171
    - Rotate by 90 and 270 degrees (-rotate)
 
172
 
 
173
1.3 (November 9, 2008)
 
174
======================
 
175
 
 
176
Security fixes:
 
177
 
 
178
  * AVI reader: Re-worked to be more robust against crash or DOS.
 
179
 
 
180
  * AVS reader: Re-worked to be more robust against crash or DOS.
 
181
 
 
182
  * DCM reader: Re-worked to be more robust against crash or DOS.
 
183
 
 
184
  * EPT reader: Re-worked to be more robust against crash or DOS.
 
185
 
 
186
  * FITS reader: Re-worked to be more robust against crash or DOS.
 
187
 
 
188
  * MTV reader: Re-worked to be more robust against crash or DOS.
 
189
 
 
190
  * PALM reader: Re-worked to be more robust against crash or DOS.
 
191
 
 
192
  * RLA reader: Re-worked to be more robust against crash or DOS.
 
193
 
 
194
  * TGA reader: Re-worked to be more robust against crash or DOS.
 
195
 
 
196
  * Avoid possible crash in GetImageCharacteristics() when substituting
 
197
    text in comment read from file.
 
198
 
 
199
  * Cineon reader: Fixed crash with broken file from Sami Liedes.
 
200
 
 
201
  * Palm reader: Fixed crash with broken files from Sami Liedes.
 
202
 
 
203
  * PICT reader: Fixed crash with broken files from Sami Liedes.
 
204
 
 
205
  * DPX reader: Validate file data better to avoid improper operation with
 
206
    intentionally (or accidentally) defective files.
 
207
 
 
208
  * XCF reader: Fixed crash with broken files from Sami Liedes.
 
209
 
 
210
Bug fixes:
 
211
 
 
212
  * Libbz2 is now detected for MinGW.
 
213
 
 
214
  * Install documentation under /usr/local/share/doc/GraphicsMagick by
 
215
    default, according to GNU conventions.
 
216
 
 
217
  * In PerlMagick, Dissolve composition was not working right.
 
218
 
 
219
  * FITS: Ensure that written format conforms to specification.
 
220
 
 
221
  * TIFF:
 
222
 
 
223
    - Don't accidentially convert CMYK images to RGB.
 
224
 
 
225
    - Eliminated a memory leak in the codec support detection code.
 
226
 
 
227
  * JPEG: Removed over-write of image->client_data.
 
228
 
 
229
  * PDF: Try to properly deal with reading rotated PDFs.
 
230
 
 
231
  * PNG: Fixed crash when writing PNG images with transparency and either
 
232
    optimize is requested, or the image is colormapped.
 
233
 
 
234
  * Configure: Fixed the --enable-magick-compat configure option, which
 
235
    had stopped working.
 
236
 
 
237
  * Configure: Fixed --without-magick-plus-plus so that it works again.  This
 
238
    stopped working in the 1.2 release cycle.
 
239
 
 
240
  * Configure: Fixed MagickLibVersion text string generation so that it
 
241
    is now correct when a component of the release number exceeds '9'.
 
242
    Now components can safely count up to '99' before there is a problem.
 
243
 
 
244
Performance Improvements:
 
245
 
 
246
  * OpenMP (parallel processing) improvements for these functions:
 
247
 
 
248
    - Affine transform (-affine -transform)
 
249
    - Average images (-average)
 
250
    - Add noise (+noise)
 
251
    - Black threshold (-black-threshold)
 
252
    - Blur (-blur)
 
253
    - Border (-border)
 
254
    - Channel import, export, and depth-setting (-channel, -depth)
 
255
    - Clip path
 
256
    - Coalesce (-coalesce)
 
257
    - Colorize (-colorize)
 
258
    - Colorspace transformation (-colorspace)
 
259
    - Compare images ('compare' command)
 
260
    - Composition ('composite' command)
 
261
    - Convolution (-convolve, -edge, -emboss, -gaussian, -sharpen)
 
262
    - Contrast adjust (-contrast)
 
263
    - Crop (-crop)
 
264
    - CycleColormap (-cycle)
 
265
    - Depth setting (-depth, -operator depth)
 
266
    - Despeckle (-despeckle)
 
267
    - Enhance (-enhance)
 
268
    - Equalize (-equalize)
 
269
    - Flatten (-flatten)
 
270
    - Flip (-flip)
 
271
    - Flop (-flop)
 
272
    - Frame (-frame)
 
273
    - Gamma adjust (-gamma, -operator gamma)
 
274
    - Gradient
 
275
    - Implode (-implode)
 
276
    - Levels adjust image (-level)
 
277
    - Local adaptive threshold (-lat)
 
278
    - Median filter (-median)
 
279
    - Minify image (-minify)
 
280
    - Modulate image (-modulate)
 
281
    - Morph image (-morph)
 
282
    - Mosiac (-mosaic)
 
283
    - Motion blur (-motion-blur)
 
284
    - Negate image (-negate)
 
285
    - Noise filter (-noise)
 
286
    - Normalize image (-normalize)
 
287
    - Oil Paint (-paint)
 
288
    - Opaque (-opaque)
 
289
    - Ordered dither (-ordered-dither)
 
290
    - Operators (-operator)
 
291
    - Profile adjust (ICC) (-profile)
 
292
    - Random threshold (-random-threshold)
 
293
    - Resize image (-resize)
 
294
    - Raise image (-raise)
 
295
    - Roll image (-roll)
 
296
    - Rotate image (-rotate)
 
297
    - Shade image (-shade)
 
298
    - Shear image (-shear)
 
299
    - Shave (-shave)
 
300
    - Solarize image (-solarize)
 
301
    - Spread image (-spread)
 
302
    - Statistics computation (identify -verbose)
 
303
    - Swirl (-swirl)
 
304
    - Threshold channel (-threshold, -operator threshold)
 
305
    - Threshold image (-threshold)
 
306
    - Transparent (-transparent)
 
307
    - Trim image (-trim)
 
308
    - UnsharpMaskImage (-unsharp)
 
309
    - Wave (-wave)
 
310
    - White threshold (-white-threshold)
 
311
 
 
312
  * Improved coder management performance.
 
313
 
 
314
  * XCF (GIMP) reader is much faster.
 
315
 
 
316
New Features:
 
317
 
 
318
  * Use MAGICK_CODER_STABILITY environment variable to enable a subset
 
319
    of the coders based on their stability classification.
 
320
 
 
321
  * Use MAGICK_IO_FSYNC environment variable to cause written file to
 
322
    be synchronized to disk to avoid possible data loss on power fail.
 
323
 
 
324
  * Added 'compare' command to statistically or visually compare two
 
325
    image files.
 
326
 
 
327
  * Added new channel operators (-operator):
 
328
 
 
329
    - Assign
 
330
    - Gamma
 
331
    - Depth
 
332
    - Negate
 
333
    - Noise-Gaussian
 
334
    - Noise-Impulse
 
335
    - Noise-Laplacian
 
336
    - Noise-Multiplicative
 
337
    - Noise-Poisson
 
338
    - Noise-Uniform
 
339
    - Threshold
 
340
    - ThresholdBlack
 
341
    - ThresholdWhite
 
342
 
 
343
  * New composition operators (-compose):
 
344
 
 
345
    - CopyBlack
 
346
    - CopyCyan
 
347
    - CopyMagenta
 
348
    - CopyYellow
 
349
    - Divide
 
350
 
 
351
  * Added -motion-blur to motion blur the image.
 
352
 
 
353
  * Mogrify and convert now support -black-threshold and -white-threshold.
 
354
 
 
355
  * MAT: Now supports reading compressed files.
 
356
 
 
357
  * FITS: Now supports 8, 16, 32 bit integer, float, and double images
 
358
    and writes correct FITS format.
 
359
 
 
360
  * DCRAW: Coder proxy module allows reading digital camera files as if
 
361
    they were natively supported.
 
362
 
 
363
  * New C API functions:
 
364
 
 
365
    - AddNoiseImageChannel(), add noise to an image channel.
 
366
    - BlurImageChannel(), blur an image channel.
 
367
    - GaussianBlurImageChannel(), gaussian blur an image channel.
 
368
    - ImportImageChannelsMasked(), import selected image channels.
 
369
    - SharpenImageChannel(), sharpen an image channel.
 
370
    - UnsharpMaskImageChannel(), unsharpmask an image channel.
 
371
    - New cache view interfaces to correct shortcommings of original
 
372
      ones.  New interfaces are AcquireCacheViewPixels(),
 
373
      AcquireOneCacheViewPixel(), AcquireCacheViewIndexes(),
 
374
      GetCacheViewPixels(), SetCacheViewPixels(), and
 
375
      SyncCacheViewPixels(). The deprecated functions are
 
376
      AcquireCacheView(), GetCacheView(), SetCacheView(), and
 
377
      SyncCacheView().
 
378
    - GetCacheViewRegion() reports region bounded by a cache view.
 
379
    - GetCacheViewArea() reports area bounded by a cache view.
 
380
    - ExportViewPixelArea() exports a cache view as formatted pixels.
 
381
    - ImportViewPixelArea imports formatted pixels into a cache view.
 
382
 
 
383
  * Removed C API functions:
 
384
 
 
385
    - ReadStream()
 
386
    - WriteStream()
 
387
 
 
388
  * Magick++ C++ API improvements
 
389
 
 
390
    - Color class no longer considers transparent black to be an invalid
 
391
      color.
 
392
    - New Image methods addNoiseChannel(), blurChannel(),
 
393
      gaussianBlurChannel(), motionBlur(), randomThresholdChannel(),
 
394
      randomThresholdChannel(), sharpenChannel(), unsharpmaskChannel().
 
395
 
 
396
Feature improvements:
 
397
 
 
398
  * -ordered-dither and -random-threshold may now be used to individually
 
399
    dither any named channel.
 
400
  * Mogrify and convert now support -minify to halve the image size.
 
401
  * Mogrify and convert now support -magnify to double the image size.
 
402
 
 
403
1.2 (April 29, 2008)
 
404
====================
 
405
 
 
406
Security fixes:
 
407
 
 
408
  * Fixes for CERT security alert TA04-217A described at
 
409
    "http://www.us-cert.gov/cas/techalerts/TA04-217A.html".
 
410
  * AVI, BMP, & DIB security fixes.
 
411
  * PSD security fixes.
 
412
  * P7 format security fix.
 
413
  * Fix EXIF IFD stack overflow vulnerability.
 
414
  * SGI security fix for RLE encoding (CVE-2006-4144)
 
415
  * XCF security fix (CVE-2006-3743)
 
416
  * PALM heap overflow fix (CVE-2006-5456)
 
417
  * DCM security fix (CVE-2006-5456)
 
418
  * Fix for shell command injection in delegate code via file names)
 
419
    (CVE-2005-4601).  Delegate execution is much more secure now.
 
420
  * Don't use filenames as printf specifications (CVE-2006-0082).
 
421
  * Fix integer overflow in DCM coder (CVE-2007-1797).
 
422
  * XWD integer overflow fix (CVE-2007-1797).
 
423
  * Implementation has replaced usage of strcpy, strcat, and strncat
 
424
    with the more security conscious strlcat and strlcpy.
 
425
  * DCM, DIB, XCF, XBM, and XWD security fix for integer overflow
 
426
    vulnerability (IDefense 09.19.07).
 
427
  * Do not access X11 or invoke convenience or stealth delegate programs
 
428
    based on the file extension. In particular, these file extensions are
 
429
    rejected for consideration as a format specifier: 'autotrace',
 
430
    'browse', 'dcraw', 'edit', 'gs-color', 'gs-color+alpha', 'gs-gray',
 
431
    'gs-mono', 'launch', 'mpeg-encode', 'print', 'scan', 'show', 'win',
 
432
    'xc', and 'x'.
 
433
 
 
434
Bug fixes:
 
435
 
 
436
  * The configure script now searches for a web browser in the order
 
437
    mozilla, firefox, and finally netscape.
 
438
  * When the user specifies the -units option, the current image
 
439
    resolution values are now re-scaled to match the new units.
 
440
  * Properly determine Ghostscript font location for Ghostscript 8.0 and later.
 
441
  * GraphicsMagick now successfully builds and passes all tests under
 
442
    Digital Unix 5.1, using the vendor compiler.
 
443
  * Ghostscript sometimes displays an error message and fails, yet it
 
444
    returns a success error code to GraphicsMagick. Verify that
 
445
    Ghostscript has updated the output file before attempting to use it.
 
446
  * Fixed a configure script syntax error when testing for trio.
 
447
  * When requesting a list of formats, all of the modules in the module
 
448
    search path are considered. Previously only the modules in the same
 
449
    directory as the LOGO module were listed.
 
450
  * Ensure that an image clip mask is respected by the negate algorithm.
 
451
  * The BMP writer was sometimes writing incorrect BMP v4 files.
 
452
  * Support reading and writing large PCX files.
 
453
  * The Red Hat source RPM was failing to install the -config scripts
 
454
    with execute permissions.
 
455
  * Fixed a bug which could cause possible truncation while cloning the
 
456
    image cache.
 
457
  * Ensure that MIFF files indicate the compression which was actually used.
 
458
  * Properly handle errors from libtiff so that corrupted images are not
 
459
    output.
 
460
  * Fix for stripped-TIFF reader. Discard extra samples beyond alpha in
 
461
    scanline TIFFs.
 
462
  * Endian option now controls TIFF byte-order rather than bit-order.
 
463
  * TIFF writer can now write to pipes and other non-seekable output
 
464
    destinations.
 
465
  * JBIG writer was writing empty files for some libjbig releases.
 
466
  * Improved handling of corrupt GIF files.
 
467
  * Handle large SUN format images.
 
468
  * Properly compute image depth for 16-bit SGI image files.
 
469
  * For the gmdisplay program, ensure that only RGB data is sent to Windows.
 
470
  * Many memory leak fixes.
 
471
  * PDF writer is fixed so that Ghoscript 8.5 doesn't warn about the output.
 
472
  * PDF writer now writes proper output with CCITT compression.
 
473
  * Properly use fseeko() and ftello() if they are available.
 
474
  * Fixed a infinite loop bug in the XWD reader.
 
475
  * Fix minor memory leak in ProfileImage().
 
476
  * Fixed -level command parsing when a percent symbol is supplied within the
 
477
    argument rather than at the end.
 
478
  * Fix pixel scaling problem caused by floating point
 
479
    rounding error (noticed under AIX).
 
480
  * Fixed a memory leak in the GIF coder in the error return path.
 
481
  * Fix for SourceForge bug id 1353744 "MagickGetQuantumDepth doesn't work".
 
482
  * Fix for SourceForge bug id 1315109 "segfault in InitializeMagick(NULL)".
 
483
  * Fix for SourceForge bug id 1391421 "problem doing resize on 273x1 JPEG".
 
484
  * Fix for SourceForge bug id 1510075 "Failed to write PDF with JPEG compression".
 
485
  * Fix for SourceForge bug id 1572357 "GetOnePixel definition appears incorrect".
 
486
  * Fix for SourceForge bug id 1576616 Fix includedir variable in pkg-config files".
 
487
  * Fix for SourceForge bug id 1173713 "segfault in ModifyCache".
 
488
  * Fix for SourceForge bug id 1431805 "clip art wpg files cause access violation
 
489
    in graphics magick".
 
490
  * Fix for SourceForge bug id 1743141 "Affine matrix option parsing".
 
491
  * Fix for SourceForge bug id 1625477 "Memory leak reading layered PSD Image".
 
492
  * Fix for SourceForge bug id 1878992 "literal square brackets in file
 
493
    name cause large delay and bug id 1783209 "converting runs slowly
 
494
    when subimage is specified".
 
495
  * Fix for SourceForge bug id 1883527 "compression of tiff-file has no effect".
 
496
  * Successfully read files in the form "file[123]".
 
497
  * Fix reading 12-bit grayscale JPEG.
 
498
  * Set image depth appropriately when importing image from X11 display.
 
499
  * Fix map resource tracking.
 
500
  * Fix reading recent variants of ImageMagick's MIFF format.
 
501
  * Output bilevel TIFF meeting the TIFF Class F specification.
 
502
 
 
503
New Utilities:
 
504
 
 
505
  * A 'benchmark' subcommand is now available to benchmark the
 
506
    performance of any other arbitrary subcommand (e.g. 'convert').
 
507
 
 
508
Feature improvements:
 
509
 
 
510
  * LZW compression is now enabled by default.
 
511
  * Support industry-standard subsampling notation like "4:2:2".
 
512
  * If gm is executed under a traditional alternate name (e.g.
 
513
    convert), it will invoke the appropriate sub-command. This allows
 
514
    use of hard links, symbolic links, or just copying 'gm' to the
 
515
    desired sub-command name in order to achieve 100% ImageMagick 5.5.2
 
516
    utility compatibility.
 
517
  * Provide the --enable-magick-compat option when configuring to install
 
518
    ImageMagick utilities compatibility links.
 
519
  * Identify -verbose output includes normalized (0.0-1.0) statistics.
 
520
  * Identify and convert now print "pixels per second" rates to help
 
521
    evaluate performance.
 
522
  * Added the identify +ping option to force reading the complete file.
 
523
  * The display program now supports the +progress option to disable any
 
524
    visual progress indication (and hourglass cursor) while loading images.
 
525
  * Support writing grayscale TGA files.
 
526
  * Provide explicit support for Rec 601 and Rec 709 grayscale spaces.
 
527
  * Include some support for a log RGB space based on the 2.048 density
 
528
    range as defined for the Cineon Digital Film System.
 
529
  * Added utilities command-line support for industry standard subsampling
 
530
    notation like 4:4:4 and 4:2:2.
 
531
  * Use MAGICK_IOBUF_SIZE to tune the size of the I/O buffer.
 
532
  * Use -type Bilevel, Grayscale, TrueColor, or TrueColorMatte to
 
533
    influence the type of image that Ghostscript returns.
 
534
  * Use '-define tiff:fill-order={msb2lsb|lsb2msb}' to control TIFF bit
 
535
    fill order.
 
536
  * The -version option now dumps a feature list as well as the build
 
537
    options.
 
538
  * The -endian option now supports the option 'native'.
 
539
  * A -monitor is added to enable progress monitoring for the command line
 
540
    utilities.
 
541
  * Use the -output-directory option to 'mogrify' to send output files to
 
542
    the specified directory.
 
543
  * Use the -create-directories option in conjunction with
 
544
    -output-directory and 'mogrify' to create any necessary subdirectories.
 
545
  * A Pixels resource limit is added.  Use '-limit Pixels value' to limit
 
546
    the maximum number of pixels in an image to 'value'.
 
547
  * The already supported option '-type Optimize' is now honored by
 
548
    formats that need to choose a subformat based on the properties of
 
549
    the image. Grueling tests of many/all pixels are not performed
 
550
    unless '-type Optimize' is supplied.
 
551
  * Added a a -set option to the composite, convert, display, mogrify,
 
552
    import commands in order to allow setting an image attribute.
 
553
  * Display utility no longer defaults to reading from standard input if
 
554
    stdin is not a tty.
 
555
  * May now be configured to use the umem memory allocation library
 
556
    available in Solaris 9, Update 3 and later, or from the portable umem
 
557
    project.
 
558
 
 
559
Coder additions/improvements:
 
560
 
 
561
  * Replaced existing DPX "support" with all-new DPX support conforming
 
562
    to the SMPTE 268M-2003 standard.
 
563
  * Cineon reader completely rewritten.
 
564
  * TIFF coder is completely re-written. Now supports reading and
 
565
    writing RGB, CMYK, and grayscale, scanline-oriented TIFF images
 
566
    with arbitrary (1 to 32 bits) depth. Includes support for tiled
 
567
    TIFF, floating point TIFF, LogLuv TIFF, BigTIFF, arbitrary depths,
 
568
    and associated alpha.
 
569
  * TIFF coder now supports retrieving and saving XMP profiles.
 
570
  * MATLAB support is much improved and supports writing as well.
 
571
  * WPG reader now supports CTM translations.
 
572
  * ART format now supports writing.
 
573
  * Support 32-bit raw RGB images.
 
574
  * Support 32-bit raw CMYK images.
 
575
  * Support 32-bit raw gray images.
 
576
  * JP2 coder reads images in YCbCr colorspace and retrieves an embedded
 
577
    ICC ICM color profile if present.
 
578
 
 
579
API enhancements:
 
580
 
 
581
  * Added ExportImageChannel() and ImportImageChannel() APIs to support
 
582
    exporting and importing pixel regions with an arbitary range of (1
 
583
    to 32) bits per quantum.
 
584
  * Added image leveling methods for Magick++.
 
585
  * Generalized GetImageAttribute() support for retrieving wildcarded
 
586
    attributes so that an identify -format specification like
 
587
    ``"%[dpx:*]"`` works as expected.
 
588
  * Incorporated changes changes necessary so that GraphicsMagick can
 
589
    work with the Ch C/C++ interpreter from SoftIntegration at
 
590
    http://www.softintegration.com/.
 
591
  * Added MagickAllocFunctions() to allow the API user to replace the
 
592
    underlying memory allocator functions.
 
593
  * Added MagickMalloc() and deprecated AcquireMemory().
 
594
  * Added MagickCloneMemory() and deprecated CloneMemory().
 
595
  * Added MagickMallocArray() to safely allocate N items of size S.
 
596
  * Added MagickRealloc() and deprecated ReacquireMemory().
 
597
  * Added MagickFree() and deprecated LiberateMemory().
 
598
 
 
599
Performance improvments:
 
600
 
 
601
  * The DispatchImage() and ConstituteImage() functions incorporate
 
602
    special case code for BGR, BGRO, BGRP, RGB, RGBO, and I formats (8
 
603
    bit only) in order to improve performance dramatically.
 
604
  * When writing very large JPEG images, don't enable Huffman compression
 
605
    since doing so requires libjpeg to buffer the entire image in memory.
 
606
  * When using the 'identify' -verbose option, -verbose must be specified
 
607
    twice in order to obtain the color count.  This makes normal use of
 
608
    -verbose much faster.
 
609
  * Significantly improved read/write speed for bilevel and gray images.
 
610
  * TIFF I/O is considerably faster.
 
611
  * Postscript writer is 10-15X faster.
 
612
  * PNM formats writer is 10-100X faster.
 
613
  * Rotate by 90 or 270 degrees is 2-9X faster.
 
614
 
 
615
Windows-specific improvements/changes:
 
616
 
 
617
  * For the MinGW and Cygwin builds, the Magick++ library is forced to
 
618
    build as a static library since otherwise C++ exceptions don't work.
 
619
  * MinGW cross-build is available from a Linux or FreeBSD host.
 
620
  * Determine location of Ghostscript fonts only once in order to improve
 
621
    performance.
 
622
  * Updated bzip2 to 1.0.4.
 
623
  * Updated Jasper library to version 1.900.1.
 
624
  * Updated jbigkit to 1.6
 
625
  * Updated lcms to 1.17
 
626
  * Updated libpng to 1.2.27.
 
627
  * Updated libtiff to 3.8.2
 
628
  * Updated zlib to 1.2.3.
 
629
  * Libtiff supports LZW compression.
 
630
  * X11 is no longer part of the default build and will not be included
 
631
    in the distributed install packages (but can still be built).
 
632
  * Find latest Ghostscript which idenfies itself as "GPL Ghostscript".
 
633
  * Use GlobalMemoryStatusEx(), if available, to determine how much
 
634
    physical memory is available. Important for large-memory machines.
 
635
  * Fixed NTreaddir() so that it does not write beyond its buffer.
 
636
  * Fixed opendir() emulation function so it can't overwrite the stack.
 
637
  * FlashPIX library sources are no longer distributed in the Windows
 
638
    source package and building FlashPIX is disabled by default.
 
639
    FlashPIX may still be built by adding the library (separately
 
640
    distributed).
 
641
  * Fix bitmap handle leak in CropImageToHBITMAP() and ImageToHBITMAP().
 
642
 
 
643
1.1 (Released April 4, 2004)
 
644
============================
 
645
 
 
646
Bug fixes:
 
647
 
 
648
  * Semaphore fix which is necessary for proper multi-threaded operation.
 
649
  * Configure script fix to ensure that -lfpx is not supplied to the C
 
650
    compiler during subsequent tests since this fails on some systems.
 
651
  * Fix for East and West gravity computations.
 
652
  * System error reports (errno) associated with an exception are now
 
653
    correctly obtained from the context existing when the exception was
 
654
    thrown rather than the context of the reporting function.
 
655
  * JNG encoder fix. Files were being written with incorrect
 
656
    alpha_sample_value in the header. These can be repaired by reading
 
657
    them into GM 1.1 and rewriting them.
 
658
  * XPM fix to module registration.
 
659
  * PSD fix for index calculation when QuantumDepth>8.
 
660
  * Validate that geometry specifications only include allowed
 
661
    characters.
 
662
  * SGI fix to save compression type while writing.
 
663
  * EXIF attributes were not being retrieved when requested.
 
664
  * Fix for bug when reading an image via a user-provided file
 
665
    descriptor.
 
666
  * The reported image magick string is now always that of the original
 
667
    input file (it was sometimes being reported as the format produced by
 
668
    an intermediate delegate program).
 
669
  * Fixes to color profiling of CMYK images.
 
670
  * Memory leak fixed in DrawClipPath().
 
671
  * Arc drawing is fixed.
 
672
  * Command-line parsing bug under Linux due to Linux's sscanfs
 
673
    inability to parse strings like "0x1" as "%fx%f" is fixed.
 
674
  * Scaling of 5 and 6-bit colors was slightly incorrect in BMP, AVI,
 
675
    DIB, and TIM datastreams.
 
676
  * GM utility now reports an error rather than silently returning if
 
677
    an unsupported sub-command is provided.
 
678
  * TIFF coder was writing 16-bit per sample RGB images incorrectly on
 
679
    little-endian CPUs.
 
680
 
 
681
Performance improvements:
 
682
 
 
683
  * Texture tiling is now 7X faster.
 
684
  * Color profile processing speed improvements for colormapped images.
 
685
 
 
686
Utilities enhancements:
 
687
 
 
688
  * For Unix, 'gm version' now includes a dump of the configure and
 
689
    build parameters.
 
690
  * Logging of thrown exceptions is now supported. Use '-debug
 
691
    exception'. This is useful to learn when and where errors are
 
692
    reported.
 
693
  * The -define option is added in order to support supplying
 
694
    additional options to coders without needing to add additional
 
695
    command line options or structure members.
 
696
  * The output of 'gm identify -verbose' now provides a nice dump
 
697
    of EXIF data.
 
698
  * The -sampling-factor option now accepts as many HxV pairs as
 
699
    there are JPEG components.  Omitted ones default to 1x1.
 
700
  * The convert and montage commands now support an -operator command to
 
701
    perform arithmetic and bitwise operations on specified image channels.
 
702
 
 
703
Coder additions/improvements
 
704
 
 
705
  * The META coder supports wide characters for the IPTC and 8BIM
 
706
    formats.
 
707
  * The XTRN coder now supports wide characters.
 
708
  * An "IMAGE" coder is provided which provides access to a large
 
709
    number of images (derived from XFig) suitable for use as patterns,
 
710
    or as test images.
 
711
  * The "PATTERN" coder now returns an image pattern tiled to size
 
712
    (equivalent results to TILE:IMAGE:pattern). This is for ImageMagick
 
713
    compatibility.
 
714
  * The CINEON coder now supports reading and writing images in CINEON
 
715
    "CIN" linear gray and RGB formats. The read support is still very
 
716
    weak, but it works for common images.
 
717
  * The JPEG coder now estimates the original JPEG quality and sampling
 
718
    factors and will reuse these options when writing JPEG if the image
 
719
    is of the same type and the option "-define JPEG:preserve-settings"
 
720
    is supplied.
 
721
  * The JPEG-2000 coder now supports all Jasper library arguments using
 
722
    command line syntax similar to '-define jp2:rate=0.5'.
 
723
  * Reading and writting compressed SVG (SVGZ) is now supported.
 
724
  * The TXT coder now observes depth when writing.
 
725
  * The TIFF coder now outputs colormapped images with 1, 2, 4, and 8
 
726
    bits per sample in order to provide much smaller file sizes for
 
727
    images with very few colors.
 
728
  * Many TIFF coder enhancements. Now reads colormapped and grayscale
 
729
    images at arbitrary (even odd) bits-per-sample sizes. Now properly
 
730
    supports an opacity channel (at any bits-per-sample value) for
 
731
    grayscale images. Bilevel grayscale images are treated similar to any
 
732
    other grayscale image unless CCITT FAX3/FAX4 compression is
 
733
    requested. Now allows the user to specify an arbitrary
 
734
    bits-per-sample value for grayscale images (even odd values) using
 
735
    "-define tiff:bits-per-sample=value". Now automatically stores the
 
736
    image as TrueColor RGB pixels if the image compression is set to JPEG.
 
737
    TIFF files are now written in using the TIFF library's default endian
 
738
    order rather than always big endian.
 
739
  * The WPG coder now renders embedded WMFs.
 
740
  * The PS3 coder is completely re-written to work much better and
 
741
    support more features (see ChangeLog).
 
742
 
 
743
Code structure enhancements:
 
744
 
 
745
  * Error handling has been improved and validated through testing.
 
746
    Some errors were being lost, unnecessarily ignored, or reported as
 
747
    something else entirely.
 
748
  * The number of error text messages to be maintained has been reduced
 
749
    by consolidating similar messages.
 
750
  * The memory allocator functions have been replaced with similar
 
751
    macros in order to eliminate warnings with GCC 3.3, avoid
 
752
    accidentally casting away const, and allow memory debuggers to
 
753
    report memory allocations and frees against the correct functions.
 
754
    The previously-used functions remain in the library for the purpose
 
755
    of compatibility.
 
756
  * <magick/xwindow.h> no longer depends on magick_config.h defines.
 
757
  * The text string localization code has been replaced with a simpler
 
758
    version written by Bill Radcliffe.
 
759
  * Added key,value "map" APIs (somewhat similar to C++'s <map>) for
 
760
    internal use.
 
761
 
 
762
API enhancements:
 
763
 
 
764
  * Incorporated John Cristy's Wand API's in a new GraphicsMagickWand
 
765
    library.
 
766
  * API definition is no longer dependent on types which vary in size
 
767
    (e.g. size_t) depending on large file compilation options.  This means
 
768
    that applications may now be compiled without any special large file
 
769
    options and still work properly with the library.
 
770
  * Thrown exceptions (ExceptionInfo structure) now include source
 
771
    file, source line, function name, and current system error number.
 
772
  * The GetMagickInfoArray() function is added to replace use of
 
773
    GetMagickInfo() for code which needs to access the coder list. This
 
774
    is necessary since invoking GetMagickInfo() may re-order the coder
 
775
    list, causing problems for code which traverses the list. Using
 
776
    GetMagickInfo() to access individual list elements is safe.
 
777
  * Added the CopyException function to support copying exception info
 
778
    from one structure to another.
 
779
  * Added the ReplaceImageInList function to replace an image in an
 
780
    image list.
 
781
  * Added the DrawPeekGraphicContext function to access the current
 
782
    DrawInfo structure in the drawing context stack. Use of this
 
783
    function is not recommended since it voilates proper programming
 
784
    practices. It is added to support the Wand API's.
 
785
  * GetImageDepth() now returns an integral value between 1 and
 
786
    QuantumDepth and is no longer limited to the values 8, 16, and 32.
 
787
  * SetImageDepth() supports setting the image modulus depth to any
 
788
    integral value between 1 and QuantumDepth. This effects the effective
 
789
    numeric precision, not the storage depth, since the quantum storage
 
790
    type is still a Quantum.
 
791
  * GetImageChannelDepth() supports retrieving the modulus depth for a
 
792
    specified channel.
 
793
  * SetImageChannelDepth() supports setting the modulus depth for a
 
794
    specified channel.
 
795
  * ProfileImage is updated to handle alpha channels and grayscale
 
796
    images.
 
797
  * Added GetImageProfile() to retrieve a CMS profile from an image.
 
798
  * Added SetImageProfile() to attach a CMS profile to an image without
 
799
    adjusting the image pixels.
 
800
  * Added DeleteImageProfile() to remove a CMS profile from an image.
 
801
  * ConstituteImage() and DispatchImage() now support 'T' (transparency),
 
802
    'O' (opacity), and 'P' (pad) options.
 
803
  * CompositeImage() now supports CopyCyanCompositeOp,
 
804
    CopyMagentaCompositeOp, CopyYellowCompositeOp, and
 
805
    CopyBlackCompositeOp, composition operators.
 
806
  * GetColorHistogram() obtains a color histogram for the image.
 
807
  * QuantumOperatorImage() and QuantumOperatorRegionImage() support
 
808
    arithmetic and bitwise operations on specified image channels.
 
809
  * The semaphore.h header is no longer installed or included in the
 
810
    API headers since these functions are private interfaces.
 
811
  * Configure using --enable-symbol-prefix or define
 
812
    PREFIX_MAGICK_SYMBOLS to use the C preprocessor to prefix all library
 
813
    symbols with "Gm". This prevents library symbol conflicts with other
 
814
    libraries.
 
815
 
 
816
PerlMagick fixes:
 
817
 
 
818
  * Adjusted a number of function option names so that they match the
 
819
    documentation.
 
820
  * Memory leak fixed.
 
821
  * Reading files (e.g. GIF) via a file descriptor is fixed.
 
822
 
 
823
Build improvements:
 
824
 
 
825
  * The TRIO library may be used to provide a replacement for vsnprintf
 
826
    if the C library doesn't provide it.  This improves security on old
 
827
    systems.
 
828
  * Configure only configures for C & C++ languages.
 
829
  * Configure now does a better job of figuring out how to build a
 
830
    thread-safe library across multiple operating systems.
 
831
  * Configure incorporates a new mmap() test which tests the
 
832
    functionality which is needed so that mmap() is not unnecessarily
 
833
    rejected on a number of systems. This improves performance for large
 
834
    files on those systems.
 
835
  * Configure/build fixes for IBM's AIX operating system.
 
836
 
 
837
Windows-specific improvements:
 
838
 
 
839
  * The static install package now uses the "uninstalled"
 
840
    configuration so that it does not depend on the Windows registry in
 
841
    order to run. This allows files from the static install package to
 
842
    be copied to another computer without running an installer.
 
843
  * The executable search path is extended at run-time to include the
 
844
    directory where the CORE DLLs reside in order to ensure that they
 
845
    are found.
 
846
  * Adding the -t option to VisualMagick configure enables building
 
847
    all of the coders into one library in order to save build time and
 
848
    simplify linkage.
 
849
  * The XTRN coder now supports wide characters.
 
850
  * LCMS library updated to version 1.10.
 
851
  * GMDisplay displays a checkerboard pattern behind transparent images.
 
852
  * Support is provided for issuing log messages to the Windows standard
 
853
    logging system.
 
854
  * Project files are now provided for use with Borland C++ Builder 6.0.
 
855
  * Updated LCMS version to 1.12.
 
856
  * Updated FreeType version to 2.1.5.
 
857
  * Updated JBIG-KIT to version 1.5.
 
858
  * Updated libpng to version 1.2.5.
 
859
  * Updated libwmf to version 0.2.8.2.
 
860
  * Updates zlib to version 1.2.1.
 
861
  * ActivePerl 5.8.1 Build 807 now supported.
 
862
  * GraphicsMagick now compiles using Visual Studio .NET 2003.
 
863
 
 
864
---------------------------------------------------------------------------
 
865
 
 
866
1.0 (Released in May, 2003)
 
867
===========================
 
868
 
 
869
GraphicsMagick support services:
 
870
 
 
871
  * Master web site at "http://www.GraphicsMagick.org/".
 
872
  * Mailing lists, bug tracking, and forums available via
 
873
    "http://sourceforge.net/projects/graphicsmagick/".
 
874
  * CVSWeb via "http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/".
 
875
  * CVS via cvs.graphicsmagick.org (find instructions at
 
876
    "http://www.graphicsmagick.org/www/cvs.html").
 
877
  * FTP via "ftp://ftp.graphicsmagick.org/pub/GraphicsMagick".
 
878
 
 
879
Project maintenance improvements:
 
880
 
 
881
  * ChangeLog conforms to the GNU standard and all CVS commits include
 
882
    useful log messages.
 
883
  * CVS commit messages posted to graphicsmagick-commit mail list.
 
884
  * CVS commit messages contain CVSWeb URL references.
 
885
 
 
886
Footprint changes from ImageMagick:
 
887
 
 
888
  * Library -lMagick renamed to -lGraphicsMagick.
 
889
  * Library -lMagick++ renamed to -lGraphicsMagick++.
 
890
  * Utilities consolidated into a single 'gm' utility (e.g. use 'gm
 
891
    convert').
 
892
  * Script Magick-config renamed to GraphicsMagick-config.
 
893
  * Script Magick++-config renamed to GraphicsMagick++-config.
 
894
  * Headers installed under ${PREFIX}/include/GraphicsMagick.
 
895
  * PerlMagick namespace renamed from "Image::Magick" to "Graphics::Magick".
 
896
  * Pkgconfig files GraphicsMagick.pc and GraphicsMagick++.pc are
 
897
    installed in $libdir/pkgconfig to assist pkg-config users.
 
898
  * Coder modules installed to lib/GraphicsMagick-1.0/modules-Q8/coders.
 
899
  * Filter modules installed to lib/GraphicsMagick-1.0/modules-Q8/filters.
 
900
 
 
901
Many performance enhancements:
 
902
 
 
903
  * Default QuantumDepth is 8 since this is adequate for most purposes
 
904
    and more efficient than 16.
 
905
  * The Magick++ demo (compiled with QuantumDepth=8 and -O2) runs about
 
906
    1.8X faster under SPARC/Solaris than the same demo with ImageMagick
 
907
    5.5.4.
 
908
  * Colorspace transformations are much faster.
 
909
  * Grayscale/monochrome image handling is much faster.
 
910
  * PseudoClass image handling is faster.
 
911
  * Text annotations using FreeType are much faster.
 
912
  * Image file I/O is much faster.
 
913
  * RLE-compressed MIFF reading much faster.
 
914
 
 
915
Code structure enhancements:
 
916
 
 
917
  * All utility support functions moved to magick/command.c in order to
 
918
    significantly reduce link dependencies, allowing statically-linked
 
919
    programs to be smaller.
 
920
  * Use of MogrifyImage() elminated except for by utilities.
 
921
  * Re-builds due to changes to <magick/image.h> reduced by splitting the
 
922
    header into multiple headers.
 
923
  * ISO C '99 typedefs (gm_int16_t, gm_uint16_t, gm_int32_t, gm_uint32_t,
 
924
    gm_int64_t, gm_uint64_t) are available for use.
 
925
 
 
926
Feature enhancements:
 
927
 
 
928
  * Module loader always enabled for shared builds to allow extension.
 
929
  * Loading of arbitrary filter modules (via -process option) supported
 
930
    under Unix as well as Windows.
 
931
  * SVG coder allows specifying size and initial background color.
 
932
  * JPEG-2000 coder (JP2) updated to work with Jasper 1.7.
 
933
  * HWB and HSL image colorspace translation support.
 
934
  * JNG/MNG/PNG format support tracks ImageMagick version.
 
935
  * BMP encoder can write 16-color indexed BMPs now as well as 2-color
 
936
    BMPs (not restricted to monochrome).
 
937
  * TIFF decoder now includes optimized support for tiled and stripped
 
938
    TIFF.
 
939
  * The -random-threshold option (RandomThresholdImage()) is added to
 
940
    threshold an image to bilevel using random thresholding.
 
941
 
 
942
Major bug fixes:
 
943
 
 
944
  * 100% successful test completion at all quantum depths (8/16/32).
 
945
  * A temporary file management subsystem is added to ensure that all
 
946
    temporary files are removed before program exit. Temporary files are
 
947
    created and used in a secure fashion to avoid the possibility that a
 
948
    "trojan" temporary file (e.g. a symbolic link, or a file containing
 
949
    unsafe content) is created before a delegate has the chance to write
 
950
    to it. The environment variable MAGICK_TMPDIR allows the user to
 
951
    specify where temporary files are created without altering where
 
952
    other programs create their temporary files. Temporary filenames are
 
953
    created in 8+3 format to hopefully be more acceptable to ralcgm.
 
954
  * When dithering is disabled, don't dither when converting to a
 
955
    PseudoClass, grayscale, or monochrome image. Disabling dithering
 
956
    may cause these translations to be much faster.
 
957
  * PICON format works with BLOBs.
 
958
  * No longer removes input file when pinging a FlashPIX file.
 
959
  * Arc drawing and texture fill fixes from ImageMagick.
 
960
  * Sample, scale and affine fixes from ImageMagick.
 
961
  * MIFF colormaps are now scaled properly while reading.
 
962
  * CMYK translation works for QuantumDepth=32.
 
963
  * ConstituteImage now works properly for grayscale images.
 
964
  * Built-in tilde expansion and filename globbing now works properly.
 
965
  * InitializeMagick now registers signal handlers to ensure that
 
966
    resources are released before program exit.  This helps avoid
 
967
    temporary file leaks due to the user using "CONTROL-C".
 
968
  * The installed <magick/magick_config.h> header now only contains
 
969
    the few definitions required by the API headers.  This should
 
970
    significantly reduce or eliminate conflicts with other package
 
971
    headers.
 
972
 
 
973
Windows platform enhancements:
 
974
 
 
975
  * Configure updated for Visual C++ 7.0.
 
976
  * OLE object (ImageMagickObject) re-written to work with Visual C++ 7.0
 
977
  * New function, CropImageToHBITMAP(), to return a region of the image
 
978
    as a Windows HBITMAP.
 
979
  * Use vsnprintf to format strings under Windows (safer).
 
980
 
 
981
---------------------------------------------------------------------------
 
982
 
 
983
On November 19, 2002, GraphicsMagick was created as a fork of
 
984
ImageMagick, several days before the ImageMagick 5.5.2 release.
 
985
 
 
986
The objectives of GraphicsMagick are to:
 
987
 
 
988
  * Use an open development model.
 
989
  * Encourage new developers to join the project.
 
990
  * Avoid unnecessary source code "churn".
 
991
  * Establish and preserve a stable API.
 
992
  * Use efficient coding practices which result in fast code.
 
993
  * Improve memory efficiency.
 
994
  * Use a release process which assures a working product.
 
995
  * Maintain an accurate ChangeLog.
 
996
 
 
997
 
 
998
---------------------------------------------------------------------------
 
999
 
 
1000
| Copyright (C) 2003 - 2009 GraphicsMagick Group
 
1001
 
 
1002
This program is covered by multiple licenses, which are described in
 
1003
Copyright.txt. You should have received a copy of Copyright.txt with this
 
1004
package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
 
1005
 
 
1006