12012-12-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
2
3	* magick/command.c: Added -auto-orient to 'convert' and 'mogrify'
4	to automatically rotate the image upright for viewing based on its
5	current orientation setting.
6	Added -orient to support setting the image orientation.
7
8	* magick/shear.c (AutoOrientImage): New function to automatically
9	orient the image so that it is upright for normal viewing.
10
112012-12-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
12
13	* scripts/tap-functions.shi: Tidy TAP tests so that they may be
14	run alone, or via Perl's 'prove'.
15
162012-12-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
17
18	* tests/rwfile.c (main): Test file name generation was not
19	correct.
20
212012-12-27  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
22
23	* tests/rwfile.tap: Added -stdio tests for most file formats.
24	This tests I/O using an already-opened file handle passed via the
25	ImageInfo file member.  Formats using the Ghostscript delegate are
26	not working right yet.
27
282012-12-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
29
30	* tests/rwfile.c (main): Added a '-stdio' option to test
31	reading/writing files using file handles opened by the API user.
32
33	* magick/blob.c (CloseBlob): It should be possible to invoke
34	CloseBlob() multiple times, including blobs set to "exempt".
35	There were some issues when passing in file descriptors.
36
372012-12-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
38
39	* www/api/api.rst: Add another example Core C API example program.
40
41	* magick/blob.c (OpenBlob): Restore file position, rather than
42	rewind, after reading header bytes.
43
44	* magick/image.c (SetImageInfo): Restore file position after
45	reading header bytes.  Resolves SourceForge issue 3597486
46	"ReadImage not working with file descriptors".
47
482012-12-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
49
50	* VisualMagick: WIN64 (64-bit Windows) installer improvements to
51	bring up to par with 32-bit installer.
52
532012-12-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
54
55	* VisualMagick: WIN64 (64-bit Windows) is supported now.
56
572012-12-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
58
59	* magick/blob.c: Eliminate support for experimental
60	MAGICK_MMAP_WRITE, which never quite worked correctly and did not
61	provide performance benefits.
62
632012-12-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
64
65	* magick/blob.c (FileToBlob): Rewrite to be based on stdio.
66
672012-12-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
68
69	* magick/magick_types.h.in: Changes to try to work better with the
70	Windows WIN64 API.
71
722012-12-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
73
74	* magick/image.c (SetImageColorRegion): The provided color should
75	be in the same colorspace as the image.  The image is no longer
76	converted to RGB with the expectation that the provided color is
77	always some particular RGB.
78	(AppendImages): No longer transform the canvas image to RGB.  Now
79	append uses the first listed image to determine the colorspace
80	which should be used when appending the additional images and of
81	the output image.  The additional images are converted to the
82	canvas image colorspace.  Likewise, the background color is
83	assumed to be in the same colorspace as the first listed image so
84	that it is compatible and can be used to fill the background color
85	without translation.
86
872012-11-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
88
89	* rungm.sh.in: Remove extraneous space in first line which
90	prevents execution with T-shell (tsch).  Reported by William
91	Langdon.
92
932012-11-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
94
95	* www/wand/wand.rst: Add a simple example of using the Wand API.
96
972012-11-21  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
98
99	* coders/bmp.c (ReadBMPImage): Fixed an old bug with decoding
100	chromaticity primaries.
101
1022012-11-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
103
104	* wand/magick_wand.h ("C"): Need to include wand/wand_symbols.h
105	after magick/api.h in order for options from magick_config.h to
106	take effect.
107
108	* magick/symbols.h (PSPageGeometry): Fix typo. Should map to
109	GmPSPageGeometry.
110
1112012-11-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
112
113	* wand/wand_symbols.h, magick/symbol.h: MagickWand API is now
114	prefixed with 'Gm' when the --enable-symbol-prefix configure
115	option is supplied.  These changes are contributed by Ben Wu.
116	Details of changes are as follows:
117
118	1. A new header file wand/wand_symbols.h which prefixes all
119	   MagickWand API symbols with Gm.
120	2. Modification to all the header files in wand/ to include
121	   wand_symbols.h.
122	3. Modification to magick/symbols.h to include additional
123	   symbols which were colliding with names in ImageMagick.
124	4. Modification to magick/error.c to exclude function
125	   definitions for MagickError, MagickFatalError,
126	   MagickWarning, and ThrowException when building with
127	   --enable-symbol-prefix option. There four names were also
128	   defined as macros so it appears that putting them in a
129	   symbol-remapping file wont work.
130
131	* Makefile.am: Update Automake to 1.12.5.
132
1332012-11-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
134
135	* Magick++/COPYING: Change Magick++ usage license to be exactly
136	the MIT license without the additional sentence about retention of
137	copyright (which was already legally implicit).
138
1392012-11-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
140
141	* magick/symbols.h: Re-generate list of symbols to prefix.
142
143	* magick/utility.c (IsGlob): IsGlob can be more efficient.
144
145	* magick/floats.c: Use compile-time selection of endian-specific
146	code rather than run-time.  Fix cast warning with 64-bit builds.
147
1482012-11-07  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
149
150	* coders/png.c (WriteOnePNGImage): The wrong QuantumType was
151	sometimes passed to ExportImagePixelArea() by the PNG encoder.
152
153	* coders/png.c (ReadOnePNGImage): Let libpng unpack all sub-8-bit
154	pixels (see change of 2012-08-31 which lets libpng unpack sub-8-bit
155	palette images; this also lets libpng unpack the grayscale images).
156
157	* coders/png.c (ReadOnePNGImage): Corrected the reading of interlaced
158	images (see SourceForge bug 3420695, in which all passes are
159	displayed in a garbled manner instead of only the completed image).
160
1612012-10-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
162
163	* wand/magick_wand.c (MagickGetImagePage): Need to use 'image'
164	rather than 'images' in order to work with iterator.
165	(MagickSetImagePage): Need to use 'image'
166	rather than 'images' in order to work with iterator.
167
1682012-10-25  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
169
170	* magick/utility.c (TranslateTextEx): Fix bug with input string
171	read overrun if the input string ends with a single '%'.  This
172	sometimes caused random heap data to be added to the output string
173	until another null character is reached.  A simple work-around
174	without this fix is to use "%%" rather than "%".  Fixes
175	SourceForge bug 3580219 "strange results with '%' in Annotate()".
176
1772012-10-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
178
179	* wand/magick_wand.c (MagickSetImagePage): New method to support
180	setting the image page size and offsets.
181	(MagickGetImagePage): New method to support getting image page
182	size and offsets.
183
1842012-10-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
185
186	* configure.ac: Report fatal error if doing modules build and
187	libltdl is not found.
188
1892012-10-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
190
191	* ltdl: Libltdl is no longer bundled.  Libltdl must be previously
192	installed on the system in order to build the modules
193	configuration.
194
1952012-10-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
196
197	* www/index.rst: Update top index page for 1.3.17 release.
198
199	* NEWS.txt: Update NEWS for 1.3.17 release.
200
201	* version.sh: Update shared library versioning for 1.3.17 release.
202
203	* coders/jnx.c: Fix format string compilation warnings.  Remove
204	MS-DOS line terminations.
205
206	* configure.ac: Module loading is now only supported by the
207	modules build and not just because shared libraries are enabled.
208	This means that libltdl is only depended upon by the modules
209	build.  Sometime in the future, libltdl will no longer be bundled
210	in the GraphicsMagick source tree.
211
2122012-10-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
213
214	* configure.ac (LTDL_INIT): Request installable libltdl rather
215	than convenience.
216
2172012-10-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
218
219	* coders/bmp.c: Support alpha channel in uncompressed 32-bit BMP.
220	Resolves SourceForge issue 3566239 "Can't open BMP with alpha
221	created by photoshop".
222
2232012-10-07  Fojtik Jaroslav  <JaFojtik@seznam.cz>
224
225	* dcraw/dcraw.c: Fixed situation when M_PI is not defined.
226
2272012-10-07  Fojtik Jaroslav  <JaFojtik@seznam.cz>
228
229	* coders/jnx.c: Add image attribute with geolocation.
230
2312012-10-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
232
233	* dcraw: VisualMagick configure fixes to support linking with JPEG
234	and JPEG2000.
235
2362012-09-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
237
238	* dcraw: Add dcraw to VisualMagick build.
239
240	* libxml: Update libxml2 to 2.9.0 release.
241
2422012-09-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
243
244	* tiff: Update libtiff to 4.0.3 release.
245
246	* lcms: Update liblcms2 to 2.4 release.
247
248	* png: Update libpng to 1.5.13 release.
249
2502012-09-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
251
252	* Makefile.am: Update to Automake 1.12.4.
253
2542012-09-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
255
256	* doc/options.imdoc: Fix Debian bug 687738 "graphicsmagick:
257	repeated words suitable for suitable for in gm manpage" reported
258	by Jonas Smedegaard.
259
2602012-09-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
261
262	* NEWS.txt: Update with news since last release.
263
264	* configure.ac: Added the configure option
265	--enable-quantum-library-names to enable that shared library name
266	includes quantum depth to allow shared libraries with different
267	quantum depths to co-exist in same directory (only one can be used
268	for development).
269
2702012-09-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
271
272	* magick/effect.c (AdaptiveThresholdImage): New implementation
273	contributed by Roberto de Deus Barbosa Murta.  Executes in linear
274	time as threhold area is increased rather than being quadratic.
275
2762012-09-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
277
278	* coders/svg.c: Fix improper injection of XML headers as rendered
279	text.
280
281	* magick/render.c (DrawImage): Fix SourceForge issue 3499164
282	"Drawing of text fails if text starts with "," character".  Fix
283	SourceForge issue 3411492 "Certain SVGs hang GraphicsMagick".  Fix
284	SourceForge issue 1961000 "Could not print ',' via convert draw
285	text".
286
2872012-09-01  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
288
289	* coders/wmf.c (lite_font_stringwidth): Simply return zero.
290	Returning a computed string width was causing text placement
291	problems when testing with libwmf's fulltest.wmf.
292
2932012-08-31  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
294
295	* coders/png.c: ReadOnePNGImage: sub-8-bit palette images were
296	getting unpacked twice; once by libpng via png_set_packing()
297	and again by coders/png.c in a switch() statement around line 2500,
298	resulting in horizontally stretched pixels.
299
3002012-08-31  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
301
302	* Makefile.am (AUTOMAKE_OPTIONS): Include lzip as a distribution
303	format again.
304
3052012-08-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
306
307	* configure.ac: BrowseDelegate now defaults to 'xdg-open', but if
308	it is not found, then configure will search for firefox,
309	google-chrome, mozilla (in that order).
310
3112012-08-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
312
313	* configure.ac: For testing on MinGW, assume that Postscript is
314	available since we don't have a good way to check for that.
315
316	* scripts/tap-functions.shi (test_count): Always execute the test
317	program rather than skipping execution since we want to make sure
318	the test program fails correctly as well.
319
320	* coders/gif.c (DecodeImage): Add a log message for attempted LZW
321	string data table overflow.
322
3232012-08-20  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
324
325	* magick/effect.c (ConvolveImage): Allocate normalized convolution
326	kernel using cache-line aligned memory allocator.
327
328	* configure.ac: Remove support for legacy LZWDecodeDelegate and
329	LZWEncodeDelegate since these are not used any more.
330
3312012-08-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
332
333	* scripts/tap-functions.shi: If a test declares that it needs
334	certain features, skip the test if required features are not
335	available.
336
337	* configure.ac: Build a supported features list and save to
338	common.shi script for use by test scripts.
339
340	* Makefile.am (LOG_COMPILER): Run Bourne-shell based TAP scripts
341	with the same shell $(SHELL) that configure selected for the
342	Makefile to use.
343
3442012-08-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
345
346	* Makefile.am (AUTOMAKE_OPTIONS): Update to Automake 1.12.3.
347	Update test suite to use Automake TAP driver rather than legacy
348	tests.
349
3502012-08-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
351
352	* coders/jnx.c (ExtractTileJPG): Add a trace of tile offset and size.
353
3542012-08-13  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
355
356	* coders/jnx.c (ExtractTileJPG): Use a memory buffer for the JPEG
357	tile rather than a temporary file.
358
3592012-08-12  Fojtik Jaroslav  <JaFojtik@seznam.cz>
360
361        * PerlMagick/t/input_jnx.jnx: Small JNX test file.
362
3632012-08-11  Fojtik Jaroslav  <JaFojtik@seznam.cz>
364
365	* coders/jnx.c: speedup.
366
3672012-08-10  Fojtik Jaroslav  <JaFojtik@seznam.cz>
368
369	* coders/jnx.c: changed malloc/free to MagickMalloc/MagickFree.
370
3712012-08-06  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
372
373	* coders/jnx.c (ReadJNXImage): Add progress monitor support for
374	JNX.
375
3762012-08-06  Fojtik Jaroslav  <JaFojtik@seznam.cz>
377
378	* coders/jnx.c: Image cache is turned off to work-around memory
379	overflow.
380
3812012-08-05  Fojtik Jaroslav  <JaFojtik@seznam.cz>
382
383	* coders/jnx.c: Fixed.
384
3852012-08-05  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
386
387	* coders/jnx.c: Add JNX coder for "Garmin proprietary Image
388	Format" (implementation by Jaroslav Fojtik) to the build.  Code is
389	not yet working properly at this time.
390
3912012-08-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
392
393	* configure.ac: Remove use of -Wl,-zlazyload under Solaris since
394	it seems to decrease the stability of C++ exceptions in x86-64
395	build and does not measurably improve runtimes.  Don't force use
396	of liblzma because libtiff is used.  User should always have
397	control.
398
3992012-07-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
400
401	* magick/memory.c (MagickMallocAligned): Use RoundUpToAlignment()
402	macro to compute aligned pointer.
403
404	* magick/effect.c (EnhanceImage): Eliminate use of ugly Enhance
405	macro.  Only filter based on color channels (ignore opacity).
406
4072012-07-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
408
409	* magick/studio.h (MAGICK_CACHE_LINE_SIZE): Assume a cache line
410	size of 64 bytes except for on PowerPC which uses 128.
411
412	* magick/pixel_cache.c: Use aligned memory allocator to allocate
413	structures and buffers which might suffer from false cache line
414	sharing
415
416	* magick/memory.c (MagickMallocAligned): Also round up allocation
417	size to alignment.
418
4192012-07-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
420
421	* magick/effect.c, magick/random.c, magick/semaphore.c: Use
422	aligned memory allocator to align allocations which should be
423	aligned to cache line boundary.
424
4252012-07-24  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
426
427	* magick/memory.h (MagickAllocateAlignedMemory): New macro to
428	allocate aligned memory.
429	(MagickFreeAlignedMemory): New macro to free aligned memory.
430
431	* magick/memory.c (MagickMallocAligned): New internal function to
432	allocate aligned memory.
433	(MagickFreeAligned): New internal function to free aligned memory.
434
4352012-07-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
436
437	* magick/common.h (MAGICK_ASSUME_ALIGNED): Add some GCC attribute
438	wrappers for useful features added by GCC 4.7.
439
4402012-07-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
441
442	* coders/gif.c (ReadGIFImage): Try to be better about reporting
443	failure when ReadBlob() fails to return the requested number of
444	bytes.
445
4462012-06-26  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
447
448	* www/benchmarks.rst: Strip the outdated benchmark results from
449	the benchmarks page.
450
451	* magick/command.c (ImportImageCommand): Status returned from the
452	command was inverted.
453
4542012-06-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
455
456	* Release GraphicsMagick 1.3.16
457
4582012-06-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
459
460	* magick/command.c (MogrifyImage): -units was adjusting existing
461	resolution the wrong way around.
462
4632012-06-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
464
465	* jpeg: Updated to IJG 8d release.
466
467	* libxml: Updated libxml to 2.8.0 release.
468
469	* zlib: Updated zlib to 1.2.7 release.
470
471	* magick/blob.c (MagickFileHandle): Refer to stdio, bzip2, and
472	gzip file handles using their own type.  Eliminates warnings
473	observed when compiling with zlib 1.2.7.
474
475	* tiff: Updated libtiff to 4.0.2 release.
476
477	* png: Updated libpng to 1.5.11 release.
478
4792012-06-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
480
481	* configure.ac: Fix typo which caused the --without-lzma option to
482	be handled incorrectly.  Resolves SourceForge issue 3535309
483	"graphicsmagick from 1.3.13 to 1.3.15 has broken lzma support".
484
4852012-06-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
486
487	* tests/rwfile.c (main): Verify that we can 'ping' the file using
488	PingImage().  Tests for some formats may take longer to complete.
489
490	* tests/rwblob.c (main): Verify that we can 'ping' the blob using
491	PingBlob().  Tests for some formats may take longer to complete.
492
493	* coders/xbm.c (ReadXBMImage): Fix memory leak of temporary X
494	bitmap image allocation encountered when reading in 'ping' mode.
495
496	* magick/blob.c (PingBlob): Re-write to be based on BlobToImage()
497	so that it works reliably.
498	(BlobToImage): Restore original input file name to image if
499	temporary file was used so that image 'filename' and
500	'magick_filename' do not contain unexpected content due to using a
501	temporary file.
502
5032012-06-07  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
504
505	* coders/png.c: Disable new libpng-1.5.10 test for invalid palette
506	index when reading a PNG or MNG (for speed), or when writing a MNG
507	(because a zero-length PLTE is valid in a MNG).
508
5092012-06-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
510
511	* magick/attribute.c (SetImageAttribute): Don't translate
512	'comment' and 'label' attributes if the request is made while a
513	file is being read.  This is a temporary workaround until there is
514	opportunity to modify the architecture so that there is a clear
515	split between user-provided settings and values obtained from the
516	input image.
517
518	* magick/blob.c (GetBlobIsOpen): New function to return if blob is
519	currently open.
520
5212012-06-02  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
522
523	* PerlMagick/typemap: Add typemap file needed by Perl 5.16.
524	Resolves SourceForge issue 3531512 "PerlMagick does not build with
525	perl 5.16".
526
5272012-05-29  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
528
529	* coders/png.c: Ignore APNG chunks even if we are using a libpng
530	that was built with the "APNG patch".
531
5322012-05-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
533
534	* magick/command.c (ConvertImageCommand): +repage does not require
535	an argument.  Resolves SourceForge issue 3529158 "+repage option
536	not respected with convert command".
537
538	* configure: Update to Autoconf 2.69.
539
540	* magick/effect.c (MotionBlurImage): Motion blur does scale so
541	remove DisableSlowOpenMP for it.
542
543	* magick/command.c (BenchmarkImageCommand): Remove parenthesis
544	from output, and change "iter/sec cpu" to "iter/cpu" to ease
545	parsing.
546
547	* magick/pixel_cache.c (GetPixelCacheInCore): Consider read-only
548	memory-mapped cache as being "in-core".  Otherwise MPC input files
549	are penalized.
550
5512012-05-16  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
552
553	* magick/api.h: Include <sys/types.h> on POSIX systems in order to
554	help assure that 'size_t' and 'ssize_t' are declared.
555
5562012-05-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
557
558	* magick/magick_config_api.h.in: Need to provide definitions for
559	'size_t' and 'ssize_t' in case the system headers lack these types
560	because the definition of MagickExtentImage() requires them.  This
561	should resolve PHP bug #62034 "gmagick does not compile".
562
5632012-05-14  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
564
565	* magick/pixel_iterator.c (GetRegionThreads): Don't thread region
566	if it is not memory-based.
567
5682012-05-09  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
569
570	* coders/png.c (ReadOnePNGImage): make transparent_color elements
571	unsigned long instead of unsigned short, so 65537 is actually out of
572	range as expected, and won't match any pixel if no tRNS chunk is
573	present.
574
5752012-05-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
576
577	* coders/sfw.c (ReadSFWImage): Reader needs to be more robust
578	against corrupt or maligned headers.  Resolves SourceForge issue
579	"sfw file crash".
580
5812012-05-05  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
582
583	* coders/pdf.c (WritePDFImage): Add file basename as the PDF
584	document title.  Resolves SourceForge bug ID 2835140
585	"GraphicsMagick fails to add title attribute to PDF output".
586
587	* coders/sfw.c (ReadSFWImage): Restore original filename and
588	format.
589
590	* PerlMagick/t/jpeg/read.t: Add a test for reading Seattle
591	FilmWorks format based on the sample image from
592	http://www.algonet.se/~cyren/sfw/.  Image was approved for
593	distribution in GraphicsMagick by Bengt Cyr�n.
594
595	* magick/analyze.c (GetImageBoundingBox): Only apply opacity-based
596	bounding box detection if all three test points are non-opaque and
597	the same value.  Resolves SourceForge bug ID 3522804 "convert
598	-trim fails on 8-bit PNG that ImageMagick can trim".
599
600	* coders/sfw.c (ReadSFWImage): Fix variety of bugs related to
601	closing Image and blob at wrong points.  SFW reader is working
602	again.  Resolves SourceForge bug ID 523430 "sfw file open failed".
603
6042012-05-01 Fojtik Jaroslav  <JaFojtik@seznam.cz>
605
606	* coders/mat.c Animated movies inside 4D matrices are loaded now.
607
6082012-04-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
609
610	* magick/pixel_iterator.c: Limit the number of threads to use in
611	the loop rather than the total number of threads available.
612
6132012-04-28  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
614
615	* Release GraphicsMagick 1.3.15
616
6172012-04-23  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
618
619	* magick/image.c (SetImageInfo): Remove automatic adjoin mode
620	support logic.
621	(AddDefinition): Fix use of uninitialized variable.
622
6232012-04-23  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
624
625	* doc/*.imdoc: some example commandlines in the documentation
626	were missing the leading "gm ".
627
6282012-04-22  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
629
630	* magick/blob.c (FormMultiPartFilename): No longer add a
631	printf-style scene formatting specification to filenames which do
632	not have one and no longer automatically operate in 'adjoin' mode
633	in such cases.  This is a BIG CHANGE for users who may have become
634	used to this automatic functionality.  The simple solution to
635	update existing scripts depending on this behavior is to change
636	any bare filenames to include a format specification similar to
637	"image-%d.jpg" and add +adjoin to the command line.  The reason
638	why this change is made is that the output files produced by any
639	given operation were unpredictable, and it was causing temporary
640	files to be leaked due to the renaming.
641
6422012-04-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
643
644	* coders/bmp.c (WriteBMPImage): Enforce that image width and
645	height do not exceed BMP dimensions.  BMP dimensions are
646	represented by a signed type.  BMPv2 supports maximum dimensions
647	of 32k by 32k.
648
6492012-04-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
650
651	* coders/info.c (WriteINFOImage): When driven by the 'convert'
652	utility, -format produces user-controlled formatted output similar
653	to -format in 'identify'.  This is accomplished via a
654	'info:format=value' define.
655
656	* magick/image.c (AddDefinition): New function for adding just one
657	define to definitions list.
658
6592012-04-11  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
660
661	* coders/pnm.c (ReadPNMImage): Completely disable OpenMP in reader
662	because there is too much contention.
663
664	* magick/pixel_iterator.c: Dereference image to be modified in
665	non-threaded context in order to lessen contention.
666
667	* magick/semaphore.c (AllocateSemaphoreInfo): Make sure that
668	SemaphoreInfo does not share cache lines with another semaphore.
669
6702012-04-11  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
671
672	* coders/png.c: fixed problem with bit depth when the encoder
673	decides to write RGBA instead of indexed PNG, by delaying the
674	call to png_set_tRNS() until after calling png_set_IHDR().
675
6762012-03-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
677
678	* png: Update bundled libpng to 1.5.10 release.  Provides security
679	fix for CVE-2011-3048.
680
681	* wand/magick_compat.c (ParseGeometry): Use strlcpy() rather than
682	strncpy().
683	(CopyMagickString): Depend on strlcpy() because we provide it if
684	it is missing.
685	(ConcatenateMagickString): Depend on strlcat().
686
687	* coders/xcf.c (ReadXCFImage): Now respects image subimage and
688	subrange members so that returned image layers may be selected.
689	Based on patch from SourceForge issue 3513025 "XCF reads all
690	layers all the time".
691
692	* magick/resize.c (ThumbnailImage): Thumbnail default filter is
693	intended to be the box filter, but allow the user to override the
694	filter used.  Resolves SourceForge issue 3513239 "-filter command
695	line argument ignored".
696
6972012-03-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
698
699	* magick/command.c (ConvertImageCommand, MogrifyImageCommand):
700	Added support for '+noise random' and '-operator noise-random' to
701	'convert' and 'mogrify'.
702
703	* magick/effect.c (AddNoiseImage): Added support for RandomNoise.
704	(AddNoiseImageChannel): Added support for RandomNoise.
705
706	* magick/enum_strings.c (StringToNoiseType): New function to
707	convert a string to a NoiseType enumeration value.
708	(NoiseTypeToString): New function to convert a NoiseType
709	enumeration value into a string.
710
711	* PerlMagick/Magick.xs: Added support for RandomNoise.
712
713	* magick/operator.c (QuantumOperatorRegionImage): Added support for
714	RandomNoise.
715
716	* magick/effect.c (AddNoiseImageChannel): Added support for
717	RandomNoise.
718
719	* magick/gem.c (GenerateDifferentialNoise): Added support for
720	RandomNoise.
721
722	* magick/random.h (MagickRandomRealInlined): The span of
723	MagickRandomRealInlined() is now slightly more accurate.
724
725	* magick/image.h (enum NoiseType): New enumeration value RandomNoise.
726
7272012-03-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
728
729	* magick/command.c (MogrifyImage): Add support for -repage option
730	to composite, convert, mogrify, and montage subcommands.  Resets
731	or adjusts the current image page offsets based on a provided
732	geometry specification.
733
734	* magick/image.c (ResetImagePage): Add a function to adjust the
735	current image page canvas and position based on a relative page
736	specification.
737
7382012-03-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
739
740	* magick/command.c (MogrifyImage): Add support for -strip option
741	to composite, convert, mogrify, and montage subcommands.  Removes
742	all profiles and text attributes from the image.
743
744	* magick/image.c (StripImage): New function to remove all profiles
745	and text attributes from the image.
746
7472012-02-25  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
748
749	* Release GraphicsMagick 1.3.14.
750
751	* NEWS.txt: Updated to describe updates since last release.
752
7532012-02-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
754
755	* Downgrade to Automake 1.11.2 so that test suite can run on
756	systems with limited command line length.  This means that lzip
757	support is temporarily removed.
758
759	* magick/resize.c (ResizeImage): Resize filter argument was being
760	ignored.  Filter from image 'filter' member was used instead.
761	Problem was reported by Steven Bakhtiari.
762
7632012-02-18  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
764
765	* tiff: Update bundled libtiff to 4.0.1 release.
766
767	* png: Update bundled libpng to 1.5.9 release.
768
769	* magick/memory.h: Decorate memory allocation functions with GCC
770	attribute 'alloc_size'.
771
772	* magick/common.h: Add support for GCC 4.3+ attributes
773	'alloc_size', 'hot', 'cold'.
774
775	* magick/{log.h,monitor.h,utility.h}: Use double-underscore syntax
776	in GCC format attribute specifications to defend against
777	accidental macro expansion.
778
7792012-02-09  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
780
781	* coders/xcf.c (ReadXCFImage): Fix reading XCF which is comprised
782	of different sized layers.
783
7842012-02-08  Glenn Randers-Pehrson  <glennrp@simplesystems.org>
785
786	* coders/txt.c: Added "-define txt:with-im-header" option.
787
7882012-02-05  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
789
790	* png: Updated to libpng 1.5.8 release
791
792	* zlib: Updated to zlib 1.2.6 release
793
7942012-02-04  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
795
796	* Makefile.am (AUTOMAKE_OPTIONS): Update to Automake 1.11.3.  Add
797	lzip compressed archive to options.
798
7992012-01-30  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
800
801	* coders/dcraw.c (RegisterDCRAWImage): Add support for Mamiya
802	Photo RAW "MEF" format.  Resolves SourceForge issue #3481508
803	"*.MEF file open incorrect".
804
8052012-01-29  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
806
807	* coders/jpeg.c (WriteJPEGImage): Convert RGB-compatible
808	colorspaces (e.g. CineonLog) to RGB by default since that was the
809	case prior to release 1.3.13.  User can still override it
810	(avoiding removal of log encoding) by explicitly specifying the
811	desired colorspace.  Problem was reported by Gary Margiotta.
812
8132012-01-21  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
814
815	* coders/dpx.c (ReadDPXImage): When reading, save input file
816	endianness so that the endianness of the original file is
817	preserved by default.  The user is able to override this default
818	via -endian.  Problem was reported by JongAm Park.
819
8202012-01-19  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
821
822	* www/OpenMP.rst: Updated OpenMP results based on latest OpenMP
823	tunings and the Intel Xeon E5649 CPU.
824
8252012-01-17  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
826
827	* coders/dcraw.c (ReadDCRAWImage): Fix memory leak of ImageInfo.
828	Resolves SourceForge bug #3475148 "memery leaks".
829
830	* magick/module.c (ModuleAliases): EMF format is supported by EMF
831	module and so mapping EMF to the WMF module caused EMF not to
832	work.  Resolves SourceForge bug #3475147 "emf files can not be
833	opened".  Note that the EMF module only works for Microsoft
834	Windows.
835
8362012-01-15  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
837
838	* magick/gem.c (Hull): Improve performance.
839
840	* magick/effect.c (DespeckleImage): Improve performance.
841
8422012-01-12  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
843
844	* magick/effect.c (DespeckleImage): Using schedule(static,4)
845	blocks any opportunity for speedup.  This was a performance
846	regression.  Oops!
847
8482012-01-10  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
849
850	* wand/magick_wand.c (MagickExtentImage): Added
851	MagickExtentImage() to Wand API.  Resolves SourceForge issue
852	#3471915 "MagickExtentImage in the Wand C API".
853
8542012-01-08  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
855
856	* magick/export.c (ExportViewPixelArea): Break up implementation
857	into subroutines to ease compilation.
858
8592012-01-03  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
860
861	* magick/import.c (ImportViewPixelArea): Break up implementation
862	into subroutines to ease compilation.
863
8642012-01-01  Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>
865
866	* magick/studio.h: Use Magick prefixed macro names for ftruncate,
867	mmap, and munmap in order to assure that introducing our macros
868	does not cause trouble with system headers.
869