to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Security Fixes:
* PNG: Fix for CVE-2012-3438. The Magick_png_malloc function in
coders/png.c in GraphicsMagick 6.7.8-6 does not use the proper
variable type for the allocation size, which might allow remote
attackers to cause a denial of service (crash) via a crafted PNG
file that triggers incorrect memory allocation.
* Automake (derived): Fix for CVE-2012-3386: The "make distcheck"
rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants
world-writable permissions to the extraction directory, which
introduces a race condition that allows local users to execute
arbitrary code via unspecified vectors.
Bug fixes:
* PNG: Reading sub-8-bit palette images is fixed (images looked
stretched).
* SVG: Fixed bug which allowed MVG and SVG files with long vector
paths to crash the software.
* SVG: Ignore XML headers rather than rendering them as text.
* MVG/SVG/WMF/-draw: It is now possible to draw a plain ','
character.
* WMF: Fixed a bug which caused wrong centered-text placement.
* import: Return status was inverted.
* configure: Don't force that liblzma is used just because libtiff
is used.
New Features:
* The configure script now supports a --enable-quantum-library-names
option to enable that shared library name includes quantum depth
to allow shared libraries with different quantum depths to
co-exist in same directory (only one can be used for development).
* JNX: Support is added for reading the Garmin proprietary Image
Format.
* BMP: Support an alpha channel in uncompressed 32-bit BMP.
Feature improvements:
* -lat: The adaptive threshold algorithm is replaced with a new
algorithm which scales linearly (rather than quadratically) with
area size.
* Tests: Test suite is re-written to use TAP-based tests.
* GIF: Reader tries to be better at detecting and reporting
failures.
Performance Improvements:
* -lat: Adaptive threshold is much faster with large area sizes.
Windows Delegate Updates:
* Dcraw 9.16 is now included in the build (with JPEG and JPEG2000
support).
* Libxml2 is updated to the 2.9.0 release.
* Libtiff is updated to the 4.0.3 release.
* Lcms2 is updated to the 2.4 release.
* Libpng is updated to the 1.5.13 release.
Behavior Changes:
* Loading modules is only supported for the modules build.
Previously any build using shared libraries could load modules.
* Bundled libltdl is now configured as 'installable' rather than
'convenience'.
* -enhance: Only filter based on color channels (ignore opacity).
* BrowseDelegate: Web browser (for viewing help information) now
defaults to 'xdg-open', but if it is not found, then configure
will search for firefox, google-chrome, mozilla (in that order).
While here, remove unwanted buildlink and add lzma option.
1.3.13 (December 24, 2011)
==========================
Security Fixes:
None
Bug fixes:
* In I/O blob, don't rewind already open file handle passed to
OpenBlob() since we don't know the intended state of this file
handle, and because it prevents appending to an existing file.
* In AppendImageProfile(), don't leak profile buffer while appending
a chunk to an existing profile.
* Fix deadlock in ClonePixelCache() which was caused by using the
same semaphore pointer in the source and destination images.
* Removed bogus SyncBlob() code which sometimes caused a crash and
was not useful.
* Fixed crash or hang which occured when the user entered CONTROL-C
while threaded code was being executed.
* Fix core dump in AcquireOneCacheViewPixelInlined() when the image
is in CMYK space.
* In MontageImages (montage), fix crash observed with "-geometry
x+0+0".
* The TIFF reader was crashing for images which use the
TIFFTAG_OPIIMAGEID tag.
* AppendImages() (-append) was failing when only one image was
provided.
* The `animate`, `display`, and `identify` commands now report any
error only once, and then proceed to the next file name rather
than quitting.
* Don't change the locale settings in InitializeMagick() since this
may cause problems for international users. API users are still
responsible for assuring that locale settings don't break floating
point parsing and output (i.e. floating point decimal needs to be
'.' rather than ',').
* RPM build is fixed (PerlMagick build was broken).
* RPM build installs documentation to expected places on Red Hat
type systems.
* Fixes for usage with OpenSolaris.
* DESTDIR is supported by PerlMagick build.
* The matte channel was not being properly enabled or respected for
TXT images.
* InitializeMagick() and DestroyMagick() are now fully thread safe.
* When a shear angle was as zero, the shear request was being
ignored entirely.
* In DispatchImage(), the `K` channel was always output as black for
"CMYK" specification unless the image matte flag was True.
* MATLAB fixes.
* PNG fixes.
* PCL fixes for printing bi-level image on Konica-Minolta printers.
* EPT error handling fixes.
* JPEG reader was sometimes truncating large IPTC profiles.
* JPEG writer now handles errors properly rather than allowing
libjpeg to exit the program (or hanging if driven by Magick++).
* JPEG reader now treats an unhandled EXP marker as a warning rather
than a hard error.
* File open errors are now reliably reported.
* Improved rendering precision when using the drawing APIs.
* For the Magick++ Image backgroundColor(), borderColor(), and
matteColor() methods, preserve the opacity part of the
user-specified color.
New Features:
* Add support for drawing text using a bitmap font.
* benchmark command supports a -stepthreads option to execute the
specified command with an increasing number of threads to measure
how an algorithm benefits from threading. This mode includes a
column to show the speedup compared with one thread, and the
Karp-Flatt metric
* Added Add support for invoking "gs-cmyk" and "gs-cmyka" entries in
delegates.mgk when ColorSeparationType or ColorSeparationMatteType
is requested. These cause Ghostscript to always output CMYK PAM
format (even if the input file was not in CMYK format).
* EXIF profiles are preserved when writing JPEG files.
* The -mosaic command now respects the composition option specified
by -compose as well as the image background color specified by
-background.
* The TXT coder now supports multiple image frames.
* For image normalization (-normalize), add support for
histogram-threshold setting to specify the percentage of the
histogram to discard when computing image normalization parameters
(default is 0.1%). For example `-set histogram-threshold 0.01
-normalize`.
* Added an `INFO` coder which produces textual image description
output similar to `identify` but may be used with convert like "gm
convert myfile info:-".
* Support application of the PDF crop box via '-define
pdf:use-cropbox=true'.
* For PCL printer output, define pcl:fit-to-page in order for the
printer to scale the image to fit the page.
* Added order dither 5x5, 6x6, and 7x7 circular dither patterns to
create a halftone effect.
* PNM subformats are now reported as the specific subformat rather
than just "PNM".
* NetPBM's PAM format is now supported.
* MacPaint image format reader is added.
* Added TIFF LZMA compressor support.
* Added TIFF support for a tiff:group-three-options define to allow
power-users to set the value of the GROUP3OPTIONS tag.
* New core C API function SetImageColorRegion() to set the constant
pixel color for a specified region of the image.
* New Wand C API function MagickWriteImagesFile() to append images
to a provided file handle.
* New Wand C API function MagickSetImageSavedType() to allow
specifying the storage type used when saving the file (rather than
changing the current image characteristics).
* In Wand C API, the functions NewPixelWand(), NewDrawingWand(), and
NewMagickWand() invoke InitializeMagick() automatically in case
user forgets to do so.
* New Wand C API function MagickSetFormat() to allow setting the
file or blob format before it has been read.
* New Wand C API function MagickSetDepth() to set the depth used
when reading from an image format which requires that the depth be
specified in advance.
Feature improvements:
* Now compiles properly with libpng 1.4.X and 1.5.X.
* Lcms 2.X is supported.
Performance Improvements:
* TGA read performance improved.
* PNM read/write performance improved.
* Convolution (-convolve, -sharpen, -guassian, etc.) is faster.
* Adaptive threshold image (-lat) is faster.
* Image trimming (-trim) is faster.
Behavior Changes:
* For DPX format and packed 10 bits, datums are now represented in
the same (reversed) order for all RGB and YCbCr formats.
Previously YCbCr 4:4:4 formats were not swapping the word datums
because the only real-world files encountered did not swap the
word datums.
* The -colors, -map, and -monochrome options now take effect
immediately rather than at the end of all other processing.
* Removed non-standard multi-frame extension for SGI format.
* Windows install footprint is more consistent between DLL and
static builds.
* LZMA compressed tarball is in 'xz' format rather than deprecated
'lzma' format.
Bump PKGREVISION.
It introduce bump PKGREVISION of p5-GraphicsMagick.
While here,
* move distinfo and patches location to Makefile.common.
* let to exactly linked against installed GraphicsMagick.
alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
* ghostscript-font-std part had been moved from ghostscript-fonts to
urw-fonts. add dependency on urw-fonts and adjust gs-font-dir.
Bump PKGREVISION (and ABI bump).
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
1.3 (November 9, 2008)
======================
Security fixes:
* AVI reader: Re-worked to be more robust against crash or DOS.
* AVS reader: Re-worked to be more robust against crash or DOS.
* DCM reader: Re-worked to be more robust against crash or DOS.
* EPT reader: Re-worked to be more robust against crash or DOS.
* FITS reader: Re-worked to be more robust against crash or DOS.
* MTV reader: Re-worked to be more robust against crash or DOS.
* PALM reader: Re-worked to be more robust against crash or DOS.
* RLA reader: Re-worked to be more robust against crash or DOS.
* TGA reader: Re-worked to be more robust against crash or DOS.
* Avoid possible crash in GetImageCharacteristics() when substituting
text in comment read from file.
* Cineon reader: Fixed crash with broken file from Sami Liedes.
* Palm reader: Fixed crash with broken files from Sami Liedes.
* PICT reader: Fixed crash with broken files from Sami Liedes.
* DPX reader: Validate file data better to avoid improper operation with
intentionally (or accidentally) defective files.
* XCF reader: Fixed crash with broken files from Sami Liedes.
Bug fixes:
* Libbz2 is now detected for MinGW.
* Install documentation under /usr/local/share/doc/GraphicsMagick by
default, according to GNU conventions.
* In PerlMagick, Dissolve composition was not working right.
* FITS: Ensure that written format conforms to specification.
* TIFF:
- Don't accidentially convert CMYK images to RGB.
- Eliminated a memory leak in the codec support detection code.
* JPEG: Removed over-write of image->client_data.
* PDF: Try to properly deal with reading rotated PDFs.
* PNG: Fixed crash when writing PNG images with transparency and either
optimize is requested, or the image is colormapped.
* Configure: Fixed the --enable-magick-compat configure option, which
had stopped working.
* Configure: Fixed --without-magick-plus-plus so that it works again. This
stopped working in the 1.2 release cycle.
* Configure: Fixed MagickLibVersion text string generation so that it
is now correct when a component of the release number exceeds '9'.
Now components can safely count up to '99' before there is a problem.
Performance Improvements:
* OpenMP (parallel processing) improvements for these functions:
- Affine transform (-affine -transform)
- Average images (-average)
- Add noise (+noise)
- Black threshold (-black-threshold)
- Blur (-blur)
- Border (-border)
- Channel import, export, and depth-setting (-channel, -depth)
- Clip path
- Coalesce (-coalesce)
- Colorize (-colorize)
- Colorspace transformation (-colorspace)
- Compare images ('compare' command)
- Composition ('composite' command)
- Convolution (-convolve, -edge, -emboss, -gaussian, -sharpen)
- Contrast adjust (-contrast)
- Crop (-crop)
- CycleColormap (-cycle)
- Depth setting (-depth, -operator depth)
- Despeckle (-despeckle)
- Enhance (-enhance)
- Equalize (-equalize)
- Flatten (-flatten)
- Flip (-flip)
- Flop (-flop)
- Frame (-frame)
- Gamma adjust (-gamma, -operator gamma)
- Gradient
- Implode (-implode)
- Levels adjust image (-level)
- Local adaptive threshold (-lat)
- Median filter (-median)
- Minify image (-minify)
- Modulate image (-modulate)
- Morph image (-morph)
- Mosiac (-mosaic)
- Motion blur (-motion-blur)
- Negate image (-negate)
- Noise filter (-noise)
- Normalize image (-normalize)
- Oil Paint (-paint)
- Opaque (-opaque)
- Ordered dither (-ordered-dither)
- Operators (-operator)
- Profile adjust (ICC) (-profile)
- Random threshold (-random-threshold)
- Resize image (-resize)
- Raise image (-raise)
- Roll image (-roll)
- Rotate image (-rotate)
- Shade image (-shade)
- Shear image (-shear)
- Shave (-shave)
- Solarize image (-solarize)
- Spread image (-spread)
- Statistics computation (identify -verbose)
- Swirl (-swirl)
- Threshold channel (-threshold, -operator threshold)
- Threshold image (-threshold)
- Transparent (-transparent)
- Trim image (-trim)
- UnsharpMaskImage (-unsharp)
- Wave (-wave)
- White threshold (-white-threshold)
* Improved coder management performance.
* XCF (GIMP) reader is much faster.
New Features:
* Use MAGICK_CODER_STABILITY environment variable to enable a subset
of the coders based on their stability classification.
* Use MAGICK_IO_FSYNC environment variable to cause written file to
be synchronized to disk to avoid possible data loss on power fail.
* Added 'compare' command to statistically or visually compare two
image files.
* Added new channel operators (-operator):
- Assign
- Gamma
- Depth
- Negate
- Noise-Gaussian
- Noise-Impulse
- Noise-Laplacian
- Noise-Multiplicative
- Noise-Poisson
- Noise-Uniform
- Threshold
- ThresholdBlack
- ThresholdWhite
* New composition operators (-compose):
- CopyBlack
- CopyCyan
- CopyMagenta
- CopyYellow
- Divide
* Added -motion-blur to motion blur the image.
* Mogrify and convert now support -black-threshold and -white-threshold.
* MAT: Now supports reading compressed files.
* FITS: Now supports 8, 16, 32 bit integer, float, and double images
and writes correct FITS format.
* DCRAW: Coder proxy module allows reading digital camera files as if
they were natively supported.
* New C API functions:
- AddNoiseImageChannel(), add noise to an image channel.
- BlurImageChannel(), blur an image channel.
- GaussianBlurImageChannel(), gaussian blur an image channel.
- ImportImageChannelsMasked(), import selected image channels.
- SharpenImageChannel(), sharpen an image channel.
- UnsharpMaskImageChannel(), unsharpmask an image channel.
- New cache view interfaces to correct shortcommings of original
ones. New interfaces are AcquireCacheViewPixels(),
AcquireOneCacheViewPixel(), AcquireCacheViewIndexes(),
GetCacheViewPixels(), SetCacheViewPixels(), and
SyncCacheViewPixels(). The deprecated functions are
AcquireCacheView(), GetCacheView(), SetCacheView(), and
SyncCacheView().
- GetCacheViewRegion() reports region bounded by a cache view.
- GetCacheViewArea() reports area bounded by a cache view.
- ExportViewPixelArea() exports a cache view as formatted pixels.
- ImportViewPixelArea imports formatted pixels into a cache view.
* Removed C API functions:
- ReadStream()
- WriteStream()
* Magick++ C++ API improvements
- Color class no longer considers transparent black to be an invalid
color.
- New Image methods addNoiseChannel(), blurChannel(),
gaussianBlurChannel(), motionBlur(), randomThresholdChannel(),
randomThresholdChannel(), sharpenChannel(), unsharpmaskChannel().
Feature improvements:
* -ordered-dither and -random-threshold may now be used to individually
dither any named channel.
* Mogrify and convert now support -minify to halve the image size.
* Mogrify and convert now support -magnify to double the image size.
GraphicsMagick 1.2 is the result of four years of additional
development and testing over and above the 1.1 release branch. In
these four years there have been a huge number of security fixes,
considerable performance enhancements, and new features have been
added. GraphicsMagick 1.2 continues to be mostly API and command
compatible with previous GraphicsMagick releases, and with ImageMagick
5.5.2 from whence it originated.
The following is the summarized (yet extensive!) list of changes in
this release. See the ChangeLog file for the full list of changes.
Security fixes:
* Fixes for CERT security alert TA04-217A described at
"http://www.us-cert.gov/cas/techalerts/TA04-217A.html".
* AVI, BMP, & DIB security fixes.
* PSD security fixes.
* P7 format security fix.
* Fix EXIF IFD stack overflow vulnerability.
* SGI security fix for RLE encoding (CVE-2006-4144)
* XCF security fix (CVE-2006-3743)
* PALM heap overflow fix (CVE-2006-5456)
* DCM security fix (CVE-2006-5456)
* Fix for shell command injection in delegate code via file names)
(CVE-2005-4601). Delegate execution is much more secure now.
* Don't use filenames as printf specifications (CVE-2006-0082).
* Fix integer overflow in DCM coder (CVE-2007-1797).
* XWD integer overflow fix (CVE-2007-1797).
* Implementation has replaced usage of strcpy, strcat, and strncat
with the more security conscious strlcat and strlcpy.
* DCM, DIB, XCF, XBM, and XWD security fix for integer overflow
vulnerability (IDefense 09.19.07).
* Do not access X11 or invoke convenience or stealth delegate programs
based on the file extension. In particular, these file extensions are
rejected for consideration as a format specifier: 'autotrace',
'browse', 'dcraw', 'edit', 'gs-color', 'gs-color+alpha', 'gs-gray',
'gs-mono', 'launch', 'mpeg-encode', 'print', 'scan', 'show', 'win',
'xc', and 'x'.
Bug fixes:
* The configure script now searches for a web browser in the order
mozilla, firefox, and finally netscape.
* When the user specifies the -units option, the current image
resolution values are now re-scaled to match the new units.
* Properly determine Ghostscript font location for Ghostscript 8.0 and later.
* GraphicsMagick now successfully builds and passes all tests under
Digital Unix 5.1, using the vendor compiler.
* Ghostscript sometimes displays an error message and fails, yet it
returns a success error code to GraphicsMagick. Verify that
Ghostscript has updated the output file before attempting to use it.
* Fixed a configure script syntax error when testing for trio.
* When requesting a list of formats, all of the modules in the module
search path are considered. Previously only the modules in the same
directory as the LOGO module were listed.
* Ensure that an image clip mask is respected by the negate algorithm.
* The BMP writer was sometimes writing incorrect BMP v4 files.
* Support reading and writing large PCX files.
* The Red Hat source RPM was failing to install the -config scripts
with execute permissions.
* Fixed a bug which could cause possible truncation while cloning the
image cache.
* Ensure that MIFF files indicate the compression which was actually used.
* Properly handle errors from libtiff so that corrupted images are not
output.
* Fix for stripped-TIFF reader. Discard extra samples beyond alpha in
scanline TIFFs.
* Endian option now controls TIFF byte-order rather than bit-order.
* TIFF writer can now write to pipes and other non-seekable output
destinations.
* JBIG writer was writing empty files for some libjbig releases.
* Improved handling of corrupt GIF files.
* Handle large SUN format images.
* Properly compute image depth for 16-bit SGI image files.
* For the gmdisplay program, ensure that only RGB data is sent to Windows.
* Many memory leak fixes.
* PDF writer is fixed so that Ghoscript 8.5 doesn't warn about the output.
* PDF writer now writes proper output with CCITT compression.
* Properly use fseeko() and ftello() if they are available.
* Fixed a infinite loop bug in the XWD reader.
* Fix minor memory leak in ProfileImage().
* Fixed -level command parsing when a percent symbol is supplied within the
argument rather than at the end.
* Fix pixel scaling problem caused by floating point
rounding error (noticed under AIX).
* Fixed a memory leak in the GIF coder in the error return path.
* Fix for SourceForge bug id 1353744 "MagickGetQuantumDepth doesn't work".
* Fix for SourceForge bug id 1315109 "segfault in InitializeMagick(NULL)".
* Fix for SourceForge bug id 1391421 "problem doing resize on 273x1 JPEG".
* Fix for SourceForge bug id 1510075 "Failed to write PDF with JPEG compression".
* Fix for SourceForge bug id 1572357 "GetOnePixel definition appears incorrect".
* Fix for SourceForge bug id 1576616 Fix includedir variable in pkg-config files".
* Fix for SourceForge bug id 1173713 "segfault in ModifyCache".
* Fix for SourceForge bug id 1431805 "clip art wpg files cause access violation
in graphics magick".
* Fix for SourceForge bug id 1743141 "Affine matrix option parsing".
* Fix for SourceForge bug id 1625477 "Memory leak reading layered PSD Image".
* Fix for SourceForge bug id 1878992 "literal square brackets in file
name cause large delay and bug id 1783209 "converting runs slowly
when subimage is specified".
* Fix for SourceForge bug id 1883527 "compression of tiff-file has no effect".
* Successfully read files in the form "file[123]".
* Fix reading 12-bit grayscale JPEG.
* Set image depth appropriately when importing image from X11 display.
* Fix map resource tracking.
* Fix reading recent variants of ImageMagick's MIFF format.
* Output bilevel TIFF meeting the TIFF Class F specification.
New Utilities:
* A 'benchmark' subcommand is now available to benchmark the
performance of any other arbitrary subcommand (e.g. 'convert').
Feature improvements:
* LZW compression is now enabled by default.
* Support industry-standard subsampling notation like "4:2:2".
* If gm is executed under a traditional alternate name (e.g.
convert), it will invoke the appropriate sub-command. This allows
use of hard links, symbolic links, or just copying 'gm' to the
desired sub-command name in order to achieve 100% ImageMagick 5.5.2
utility compatibility.
* Provide the --enable-magick-compat option when configuring to install
ImageMagick utilities compatibility links.
* Identify -verbose output includes normalized (0.0-1.0) statistics.
* Identify and convert now print "pixels per second" rates to help
evaluate performance.
* Added the identify +ping option to force reading the complete file.
* The display program now supports the +progress option to disable any
visual progress indication (and hourglass cursor) while loading images.
* Support writing grayscale TGA files.
* Provide explicit support for Rec 601 and Rec 709 grayscale spaces.
* Include some support for a log RGB space based on the 2.048 density
range as defined for the Cineon Digital Film System.
* Added utilities command-line support for industry standard subsampling
notation like 4:4:4 and 4:2:2.
* Use MAGICK_IOBUF_SIZE to tune the size of the I/O buffer.
* Use -type Bilevel, Grayscale, TrueColor, or TrueColorMatte to
influence the type of image that Ghostscript returns.
* Use '-define tiff:fill-order={msb2lsb|lsb2msb}' to control TIFF bit
fill order.
* The -version option now dumps a feature list as well as the build
options.
* The -endian option now supports the option 'native'.
* A -monitor is added to enable progress monitoring for the command line
utilities.
* Use the -output-directory option to 'mogrify' to send output files to
the specified directory.
* Use the -create-directories option in conjunction with
-output-directory and 'mogrify' to create any necessary subdirectories.
* A Pixels resource limit is added. Use '-limit Pixels value' to limit
the maximum number of pixels in an image to 'value'.
* The already supported option '-type Optimize' is now honored by
formats that need to choose a subformat based on the properties of
the image. Grueling tests of many/all pixels are not performed
unless '-type Optimize' is supplied.
* Added a a -set option to the composite, convert, display, mogrify,
import commands in order to allow setting an image attribute.
* Display utility no longer defaults to reading from standard input if
stdin is not a tty.
* May now be configured to use the umem memory allocation library
available in Solaris 9, Update 3 and later, or from the portable umem
project.
Coder additions/improvements:
* Replaced existing DPX "support" with all-new DPX support conforming
to the SMPTE 268M-2003 standard.
* Cineon reader completely rewritten.
* TIFF coder is completely re-written. Now supports reading and
writing RGB, CMYK, and grayscale, scanline-oriented TIFF images
with arbitrary (1 to 32 bits) depth. Includes support for tiled
TIFF, floating point TIFF, LogLuv TIFF, BigTIFF, arbitrary depths,
and associated alpha.
* TIFF coder now supports retrieving and saving XMP profiles.
* MATLAB support is much improved and supports writing as well.
* WPG reader now supports CTM translations.
* ART format now supports writing.
* Support 32-bit raw RGB images.
* Support 32-bit raw CMYK images.
* Support 32-bit raw gray images.
* JP2 coder reads images in YCbCr colorspace and retrieves an embedded
ICC ICM color profile if present.
API enhancements:
* Added ExportImageChannel() and ImportImageChannel() APIs to support
exporting and importing pixel regions with an arbitary range of (1
to 32) bits per quantum.
* Added image leveling methods for Magick++.
* Generalized GetImageAttribute() support for retrieving wildcarded
attributes so that an identify -format specification like
``"%[dpx:*]"`` works as expected.
* Incorporated changes changes necessary so that GraphicsMagick can
work with the Ch C/C++ interpreter from SoftIntegration at
http://www.softintegration.com/.
* Added MagickAllocFunctions() to allow the API user to replace the
underlying memory allocator functions.
* Added MagickMalloc() and deprecated AcquireMemory().
* Added MagickCloneMemory() and deprecated CloneMemory().
* Added MagickMallocArray() to safely allocate N items of size S.
* Added MagickRealloc() and deprecated ReacquireMemory().
* Added MagickFree() and deprecated LiberateMemory().
Performance improvments:
* The DispatchImage() and ConstituteImage() functions incorporate
special case code for BGR, BGRO, BGRP, RGB, RGBO, and I formats (8
bit only) in order to improve performance dramatically.
* When writing very large JPEG images, don't enable Huffman compression
since doing so requires libjpeg to buffer the entire image in memory.
* When using the 'identify' -verbose option, -verbose must be specified
twice in order to obtain the color count. This makes normal use of
-verbose much faster.
* Significantly improved read/write speed for bilevel and gray images.
* TIFF I/O is considerably faster.
* Postscript writer is 10-15X faster.
* PNM formats writer is 10-100X faster.
* Rotate by 90 or 270 degrees is 2-9X faster.
Significant changes associated with GraphicsMagick 1.1.12 (released April 28, 2008)
Security Fixes:
o Do not access X11 or invoke convenience or stealth delegate
programs based on the file extension. In particular, these file
extensions are rejected for consideration as a format specifier:
'autotrace', 'browse', 'dcraw', 'edit', 'gs-color',
'gs-color+alpha', 'gs-gray', 'gs-mono', 'launch', 'mpeg-encode',
'print', 'scan', 'show', 'win', 'xc', and 'x'.
Bugs Fixed:
o magick/effect.c: Should now compile for ARM CPU.
o TIFF: Don't request Kodak private tags since these cause some
versions of libtiff to misbehave.
o When performing string expansion of image attribute identifiers, skip
those which require access to image pixels if image pixels are not
present.
o CropImageToHBITMAP(), ImageToHBITMAP(): Fix leak of bitmap handle.