2004-12-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/image.c (DescribeImage): Add normalized channel statistics to output.
- NEWS: Updated with changes since July.
- magick/constitute.c (ImportImagePixelArea): For GrayQuantum, GrayInvertedQuantum, GrayAlphaQuantum, and GrayInvertedAlphaQuantum, observe image storage_class so that a gray DirectClass image may be created.
- coders/tiff.c (ReadTIFFImage): Fix overflow when computing colormap size for bits-per-sample of 32. (WriteTIFFImage): Support writing 32-bit RGB(A) for QuantumDepth=32 build. (ReadTIFFImage): Support reading 32-bit RGB(A) for QuantumDepth=32 build. Support reading 32-bit grayscale without any quality loss for QuantumDepth=32 build.
2004-12-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c (WriteTIFFImage): TrueColor 16-bits/sample RGB images were being written incorrectly on little-endian CPUs. Added byte swapping to fix this problem.
2004-12-26 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/operator.c: New file for quantum operator implementation. (QuantumOperatorImage): Moved from image.c. (QuantumOperatorRegionImage): Moved from from image.c.
2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
- magick/Makefile.am (MAGICK_BASE_SRCS): Remove mention of non-existent mmath.h.
- configure.ac: AC_LIBTOOL_SETUP is an internal macro and must not be used externally (will be pulled in automatically).
- PerlMagick/Makefile.am: Missing file needed to be committed to CVS.
- tests/Makefile.am (TESTS_TIFF_XFAIL_TESTS): EPT and PTIF tests are expected to fail if libtiff is missing.
2004-12-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- TODO.txt: Organized todo list for 1.2 release.
2004-12-20 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/bmp.c (WriteBMPImage): Handle the case where the image has an over-sized colormap. Was writing on unallocated heap memory.
- coders/dib.c (WriteDIBImage): Handle the case where the image has an over-sized colormap. Was writing on unallocated heap memory.
2004-12-19 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/gem.c (Modulate): Hue argument now represents a rotation from -180 degrees to +180 degrees expressed as an argument of 0 to 2.0 (1.0 for no change). Note that this change also effects the -modulate argument and the Magick++ modulate method(). This change is made because the previous hue adjustment strategy only succeeded in corrupting the image.
2004-12-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/nt_base.c (opendir): Ensure that data may not overwrite the stack. (readdir): Ensure that data may not overwrite the stack.
- magick/blob.c (ImageToBlob): Ensure that image->logging is set prior to encoding image.
- magick/constitute.c (WriteImage): Ensure that image->logging is set prior to encoding image.
2004-11-30 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- rungm.sh.in: Compute final variable definitions from within configure in order to improve MinGW test execution times.
2004-11-15 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/gif.c: Fix two error-path memory leaks which were noticed by Glenn Randers-Pehrson.
2004-11-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/png.c (UnregisterPNGImage): Eliminate Warning: module registration for "JNG" from module "PNG" still present!
2004-11-08 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/constitute.c (DispatchImage): Fix documentation error regarding return status.
2004-11-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/nt_base.h: Only define HAVE_GLOBALMEMORYSTATUSEX for MSVC 7.0 and later.
2004-11-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c (WriteTIFFImage): Ensure that words in the scanline are converted to little-endian format on little-endian CPUs.
2004-11-06 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/utility.c (MagickStrlCat): New function which is equivalent to to OpenBSD's strlcat() function. Concatenates one string onto another within a fixed size buffer while ensuring null termination. (MagickStrlCpy): New function which is equivalent to OpenBSD's strlcpy() function. Copies a string into a fixed size buffer while ensuring null termination.
- coders/gif.c (DecodeImage): Improve handling of corrupt GIF files. Resolves SourceForge bug #1042904. Also, eliminate a potential memory leak.
- magick/constitute.c (WriteImages): ImageInfo argument is now a const pointer.
2004-10-26 Glenn Randers-Pehrson <glennrp@glennrp.com>
- magick/render.c (TracePath): Applied bugfix from Cristy.
2004-10-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/resource.c (InitializeMagickResources): Use GlobalMemoryStatusEx if it is available.
- magick/nt_base.c (lt_dlopen): Handle errors while loading modules rather than allow Windows to display a GUI dialog box. (NTKernelAPISupported): New function to support testing to see if a Windows kernel API is supported.
- magick/constitute.c (ExportImagePixelArea): Add special-case for bilevel gray image in order to restore performance. (ImportImagePixelArea): Add special-case for bilevel gray image in order to restore performance.
- coders/jpeg.c (ReadJPEGImage): Fix GCC warning about variable being clobbered by longjmp.
- Re-port build to MinGW. Modules build passes all tests.
- Skip build and install of modules if a key library is not available.
- Partial recode of metadata handling to use Get/Set profile functions. Big job!
- GCC warnings reduction.
- Remove MVG detection from magic.mgk due to security risk.
2004-09-19 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c (WriteTIFFImage): Properly detect and handle errors reported by libtiff so that failure is reported rather than writing a corrupted output file. (WriteNewsProfile): Re-write so implementation is easier to understand.
2004-09-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c: Don't use deprecated tiff.h _SUPPORT defines. Support retrieving and saving XMP profile. Use profile set/get methods in implementation.
- coders/mat.c,coders/topol.c (ReadBlobWordLSB,ReadBlobDoublesLSB): Use better variable name than I for image.
2004-09-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/miff.c (WriteMIFFImage): Ensure that MIFF files are never written with bogus compression values.
- magick/image.h: Protected/hid constants which only exist to support the library implementation.
- tests/Makefile.am (TESTS_X11_XFAIL_TESTS): Fixed syntax error.
- Makefile.am: Use one Makefile to rule them all as described in Peter Miller's excellent paper, Recursive Make Considered Harmful, "http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html". Some glitches may remain.
- coders/tiff.c (TIFFErrors): Prevent possible stack overflow on error. (TIFFWarnings): Prevent possible stack overflow on error.
- magick/constitute.c (ImportImagePixelArea): For RGBQuantum initialize the opacity channel since it is easier than altering all code to properly access it.
2004-09-02 Glenn Randers-Pehrson <glennrp@glennrp.com>
- magick/transform.c: Bugfix from Cristy in CoalesceImages().
2004-08-26 Glenn Randers-Pehrson <glennrp@glennrp.com>
- Avoid error introduced in libpng-1.2.6 that causes the encoder to write out-of-spec zlib header bytes.
2004-08-24 Glenn Randers-Pehrson <glennrp@glennrp.com>
- coders/bmp.c is said to have a potential buffer overrun. Patch from Cristy applied (also to avi.c and dib.c).
2004-08-23 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c (WriteTIFFImage): Use ExportImagePixelArea to write grayscale and colormapped output.
- magick/constitute.c (ImportImagePixelArea): Implemented support for GrayInvertedQuantum & GrayInvertedAlphaQuantum. (ExportImagePixelArea): Implemented support for GrayInvertedQuantum & GrayInvertedAlphaQuantum.
- magick/constitute.h (enum QuantumType): Added GrayInvertedQuantum & GrayInvertedAlphaQuantum to support min-is-white gray images.
2004-08-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- PerlMagick/t/tiff/write.t: Adjusted file naming.
- PerlMagick/t/tiff/read.t: Added more tests.
- coders/tiff.c (ReadTIFFImage): Use ImportImagePixelArea to read PseudoClass tiff. (WriteTIFFImage): Allow user to set the bits-per-sample define to any value in the range of 1 to 32. (ReadTIFFImage): Fix endian-reordering for DirectClass read and bits-per-sample values ranging 9-15.
- coders/rgb.c: Support reading & writing 32-bit depths for raw RGB images.
- coders/cmyk.c: Support reading & writing 32-bit depths for raw CMYK images.
- coders/gray.c: Support reading & writing 32-bit depths for raw gray images.
- magick/deprecate.c (PopImagePixels): Deprecated function. (PushImagePixels): Deprecated function.
- magick/constitute.c (ExportImagePixelArea): New function to export pixel region using specified QuantumType and bits-per-sample. (ImportImagePixelArea): New function to import pixel region using specified QuantumType and bits-per-sample.
2004-08-14 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/cache.c (ClonePixelCache): It appeared that cloning a disk-based pixel cache was limited to the maximum value of size_t. This would result in a truncated cache. The offset type is changed from size_t to magick_off_t in order to avoid this.
- configure.ac: Check to see if the char type is unsigned, mostly out of curiosity since the code does not currently make use of the result.
- Fixed many compilation warnings when the compiler warning level is set as high as possible.
- configure.ac: Check /usr/share/ghostscript/fonts for Ghostscript Type1 fonts.
2004-08-13 Glenn Randers-Pehrson <glennrp@glennrp.com>
- tEXt and zTXt were inadvertently included in list of unused chunks.
2004-08-09 Glenn Randers-Pehrson <glennrp@glennrp.com>
- fix incorrect argument to png_set_keep_unknown_chunks().
2004-08-07 David R. Linn <drl@vuse.vanderbilt.edu>
- www/formats.html: Titles for JNG and MNG were reversed.
2004-08-07 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/widget.c (XCommandWidget): Replace ImageMagick logo in display command menu with GraphicsMagick logo.
2004-08-05 Glenn Randers-Pehrson <glennrp@glennrp.com>
- coders/png.c: Fixes for CERT security alert TA04-217A described at "http://www.us-cert.gov/cas/techalerts/TA04-217A.html".
2004-08-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/image.h (Image): Changed type of colors and depth members from type unsigned long to unsigned int. This change is made because on 64-bit CPUs, unsigned long is a 64-bit type. The depth member is often used in switch statements. It is not recommended to use 64-bit types in switch statements. The maximum number of colors in the colormap is limited to 64K so a 64-bit type is not required.
2004-08-01 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c (ReadTIFFImage): Restore previous 8/16 bits-per-sample support code in order to regain lost performance.
2004-07-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/tiff.c (ReadTIFFImage): Support reading RGB/CMYK scanline oriented TIFF images with arbitrary depth.
2004-07-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- Makefile.am: Update to Automake 1.9.
2004-07-20 Mike Chiarappa <mikechiarappa@libero.it>
- BCBMagickmagickGM_magick.bpr: Updated to reflect changes since last update.
- BCBMagickmagicklibMagick.bpr: Updated to reflect changes since last update.
- BCBMagickbzlibGM_bzlib.bpr: Updated version number.
- BCBMagicklcmsBCB6GM_lcms.bpr: Updated version number.
- BCBMagickMagickpplibGM_magickpp.bpr: Updated version number.
- BCBMagickttfGM_ttf.bpr: Updated version number.
- BCBMagickzlibGM_zlib.bpr: Updated version number.
- BCBMagick now support full LZW encoding (read/write).
2004-07-24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- tiff/libtiff/tif_lzw.c: Replace with version which supports LZW encoding.
- magick/channel.c: New source file. (ExportImageChannel): New function to export an image channel. (ImportImageChannel): New function to import an image channel.
2004-07-20 Mike Chiarappa <mikechiarappa@libero.it>
- lcms/src/cmsio1.c: Test [testcms.c] related to lcms 1.13 fail with error #12288 when perform "Checking saved linearization devicelink". Fixed function __cmsSaveProfile(). "...malloc(0) is implementation dependent and may return non NULL pointer on some compilers, like VC++ and gcc. This is not the case of Borland C++ Builder" - Thanks to Marti Maria that have supplied me this patched file: this will be part of the next lcms 1.14 which probabily will be released on summer's end.
2004-07-20 Mike Chiarappa <mikechiarappa@libero.it>
- lcms/include/lcms.h: Modified to achieve BCBMagick DLL compilation. Included modifications was introduced in GM in 2004-01-16 and probabily lost with latest update of library.
2004-07-20 Mike Chiarappa <mikechiarappa@libero.it>
- BCBMagick: Updated lcms to version 1.13.
- Modified files: BCBMagickAllbcbMagick.mak; BCBMagicklcmsBCB6GM_lcms.bpr; BCBMagicklcmsBCB6lcms.bpg; BCBMagicklcmsBCB6lcms.bpr; BCBMagicklcmsBCB6testcms.bpr
- Deleted files: BCBMagicklcmsBCB6lcms.cpp; BCBMagicklcmsBCB6testcms.cpp
- Added file: BCBMagicklcmsBCB6lcms.bpf
2004-07-19 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- doc/options.imdoc: Fix typo regarding -define tiff:samples-per-pixel.
- doc/GNUmakefile (utility-install): Utility HTML targets were not being installed.
2004-07-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- lcms: Updated to version 1.13.
2004-07-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- version.sh (CVS_BRANCH_TAG): Record the CVS branch tag that source package is obtained from.
2004-07-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- configure.ac: Pass essential flags on down to subordinate configures when performing make distcheck. Support DESTDIR installs for PERL 5.8.1 and later, which support DESTDIR internally.
2004-07-16 Mike Chiarappa <mikechiarappa@libero.it>
- BCBMagickcoderslibCoders.bpr; BCBMagickmagickGM_magick.bpr: include
file jbig.h could not be found during compilation. Solved.
2004-07-15 Mike Chiarappa <mikechiarappa@libero.it>
BCBMagickmagickmagick_config.h.: enabled LZW compression by default.
- BCBMagick: included jbig delegate library.
- Modified these files into directory BCBMagick: AllbcbMagick.mak; AllGMlib.bpg; AllGMdll.bpg; coderslibCoders.bpr; magickGM_magick.bpr; utilitiesgm_lib.bpr; utilitiesgm_dll.bpr
- Added these files into new directory BCBMagickjbig: jbig.bpr; jbig.bpf; GM_jbig.bpr; GM_jbig.c; tstcodec.bpr
- Modified file jbigjbiglibjbig.h;
BCBMagickreadme.txt: updated documentation.
2004-07-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/command.c (MogrifyUsage): -ordered-dither help was formatted incorrectly.
- doc/options.imdoc: Improve formatting a bit for manual pages and fix some syntax errors.
2004-07-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- NEWS: Updated to reflect changes since last update.
2004-07-09 Glenn Randers-Pehrson <randeg@alum.rpi.edu>
- coders/bmp.c (ReadBMPImage): Removed if-test on reading red_mask, green_mask, and blue_mask. These are only *valid* under certain conditions, but they are always present in the file.
2004-07-08 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- Enable LZW compression by default.
2004-07-05 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/jpeg.c (WriteJPEGImage): Don't enable Huffman compression for large images (> 16 Mpixels for the moment) in order to conserve memory. When Huffman compression is enabled the entire image is buffered in memory prior to encoding and writing anything. Huffman compression is a method of eliminating redundant data so when the Huffman compression is disabled, files sizes will be larger, but otherwise the image is the same.
- wand/magick_wand.c (MagickSetPassphrase): String was being copied to a null pointer. Now memory is allocated as required prior to a copy. Ensure that all unimplemented functions return a proper error report.
2004-07-01 Mike Chiarappa <mikechiarappa@libero.it>
- BCBMagick: updated to GraphicsMagick v.1.2
- BCBMagickAll: project GMlib-1.1.bpr has been replaced with GMlib.bpr
- BCBMagickAll: project GMdll-1.1.bpr has been replaced with GMdll.bpr
- BCBMagickreadme.txt: updated documentation.
2004-06-28 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/command.c (MogrifyImage): For -units, don't reset resolution if units are undefined. Report an error if the -units argument is not supported.
2004-06-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/command.c (MogrifyImage): When setting image units, also adjust existing image x_resolution and y_resolution so that existing image resolution is not trashed. (MogrifyImage): When re-sampling an image, report an error if the image does not contain a valid resolution.
2004-06-21 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- coders/pcx.c (WritePCXImage): Support writing large PCX files. (WritePCXImage): Ensure that UndefinedResolution is handled properly. Avoid round-off error for centimeter based resolution.
2004-06-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- configure.ac: Look for mozilla by default rather than netscape.
2004-06-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
- magick/type.c (ReadTypeConfigureFile): Determine location of Ghostscript fonts only once in order to improve performance.
- magick/nt_base.c (NTGhostscriptFonts): Properly determine Ghostscript font location for Ghostscript 8.0 and later.
- GraphicsMagick.spec.in: Install *-config scripts with mode 755 ra