Path to this page:
Subject: CVS commit: pkgsrc/graphics
From: Adam Ciarcinski
Date: 2014-01-02 00:21:34
Message id: 20140101232134.D49D196@cvs.netbsd.org
Log Message:
Changes 1.3.19:
Security Fixes:
EPT: Fix crash observed when Ghostscript fails to produce useful output. This \
was particularly noticeable when Ghostscript was not installed. This crash could \
be used to cause denial of service.
PNG: With libpng 1.6.X, avoid a crash while copying a PNG with a "known \
incorrect ICC profile". This crash could be used to cause denial of \
service.
Bug fixes:
Build: Fix cross-compilation for MinGW64 on Linux build machine.
Build: configure FreeType test no longer insists that \
<freetype/freetype.h> can be included.
CMS profile: Only delete the CMS transform if it is non-null. Fixes assersion \
observed when lcms returned a null profile and GraphicsMagick attempted to \
deallocate it.
Drawing: Improve error handling logic so that drawing returns quickly on pixel \
access errors rather than plowing on ahead. This avoids problems with SVGs which \
take seemingly forever to render.
Drawing via C/C++ APIs: BevelJoin no longer causes a MVG parsing error.
EPT: Fix crash observed when Ghostscript fails to produce useful output. This \
was particularly noticeable when Ghostscript was not installed.
OpenMP: Revert use of omp_set_dynamic() since it caused performance issues when \
using GCC's GOMP implementation and the number of threads to use is specified.
EXIF profile: Support the SubjectArea EXIF tag.
MIFF writer: PseudoClass format was written incorrectly for depth greater than 8.
MIFF writer: RLE compressed format used inverted alpha from the other subformats \
and contrary to the MIFF specification.
MIFF reader: Fixes Fixes to be able to read MIFF written by ImageMagick 6.X, \
including DirectClass grayscale images (except for RLE compressed).
Mosaic: Fixed unsigned underflow problem with -mosaic when page offset is \
negative and exceeds image width or height, resulting in assertions, out of \
memory errors, or pixel cache limit errors.
PDF: Consistently initialize Image page width and height to image width and \
height. While general to all of GraphicsMagick, this change is to assure that \
the PDF writer computes page dimensioning consistently. PDF page dimensioning \
was wrong if the image had been resized with -geometry "100%".
PAM: Fix MAXVAL scaling when reading PAM images. PAM was only working correctly \
for images with 256 or 64k levels.
PNM: PGM "P2" format writer wrote bad output for 8-bit depth.
PNG: With libpng 1.6.X, avoid a crash while copying a PNG with a "known \
incorrect ICC profile".
PNG: Q8 GM build now correctly reads 16-bit PNG files.
TIFF writer: Try to avoid writing more than 32k strips per image by increasing \
rows-per-strip since some programs fail to read images with more than 32k strips \
per image.
TIM reader: PSX TIM reports 8-bit depth (rather than 16).
TTF font rendering: Improve FreeType rendering error logic so that rendering \
returns immediately on pixel access errors rather than plowing on ahead.
TTF font rendering: Support rendering UTF-8 up to 21-bit code points. Was only \
supporting 16-bit code points.
Wand API: DrawSetStrokeDashArray() / DrawGetStrokeDashArray(), fix failure to \
work properly due to this code path never being tested.
Windows Ghostscript: 64-bit GraphicsMagick no longer requires both 32-bit and \
64-bit builds of Ghostscript to be installed in order to read Postscript and PDF \
formats.
XPM reader: Reported depth now depends on the colormap rather than always \
claiming to be 16-bit.
New Features:
JPEG: Add support for writing 'XMP' profile.
PNM: As a simple non-standard extension to the standard PNM and PAM formats, \
support writing and reading 32-bit sample depth. Writing such files is only \
supported by the Q32 build although they may be read by any build.
WebP: Now supports reading and writing Google's WebP format. This feature is not \
currently supported by the Windows Visual Studio build.
Files: