2010-02-05 06:09:07 by OBATA Akio | Files touched by this commit (3) | |
Log message:
Update GraphicsMagick to 1.3.9.
1.3.9 (February 4, 2010)
========================
Security Fixes:
* None
Bug fixes:
* Fix "double free" error when using gm import -frame.
* XPM does not support RGBA color syntax, so return RGB instead.
* The display '-update' option was only working in conjunction with
the '-delay' option with a delay setting of 2 or greater.
* For formats which support multiple frames, output with +adjoing to
filenames containing a scene specification (e.g. foo%02d.tiff) was
resulting in wrong output file names.
* -convolve was crashing rather than reporting an error.
* Fixed crash if the number of OpenMP threads was reduced from the
original value via '-limit threads' or omp_set_num_threads().
* -blur was not blurring the opacity channel for solid-color images.
* When installing HTML documentation, many files were included which
are not part of the formatted documentation.
* Several deleted global string constants are restored with
deprecated status in order to assure that symbols are not removed
from the ABI.
New Features:
* None
Feature improvements:
* None
Performance Improvements:
* None
Behavior Changes:
* There is no longer an implicit 'adjoin' if an output filename
contains an apparent scene specification (e.g. foo%02d.tiff) and
multiple files are not needed to save the image.. It is necessary
to use +adjoin. For example ``gm convert foo.pdf +adjoin
%02d.tiff``.
* -flatten now applies the image background color under the first
image in the list if it is not already opaque.
|
2010-01-22 07:16:18 by OBATA Akio | Files touched by this commit (3) |
Log message:
Update GraphicsMagick to 1.3.8.
1.3.8 (January 21, 2010)
========================
Security Fixes:
* Fix for CVE-2009-1882 "Integer overflow in the XMakeImage
function".
* Fix lockup due to hanging in loop while parsing malformed
sub-image specification (SourceForge issue 2886560).
* Libltdl: Updated libtool to 2.2.6b in order to fix security issue.
Resolves CVE-2009-3736 as it pertains to GraphicsMagick.
Bug fixes:
* -convolve, -recolor: Validate that user-provided matrix is square
when parsing -convolve and -recolor commands in order to avoid a
core dump.
* CALS: Reading images taller than the image width resulted in a
failure.
* ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
transparency and 'O' should indicate opacity. Behavior was
inconsistent. In some cases 'O' meant transparency while in other
cases it meant opacity. Also, in a few cases, matte was not
getting enabled in the image as it should.
* DCRAW: Module name was not registered so modules based builds were
not supporting formats provided via 'dcraw'.
* GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(): In the Q32
build, convolution kernel size was estimated incorrectly for large
sigmas on 32-bit systems due to arithmetic overflow. This could
cause wrong results for -convolve, -blur, -sharpen, and other
algorithms which use these functions.
* Image Size: Fixed the ability to pass the image size via the
filename specification like "myfile.jpg[640x480]" rather than
needing to use -size.
* IPTC: Blob data needed to be padded to an even size. Size is now
correctly reported.
* IPTC: Returned IPTC string values were one character too short.
* Large Files: Large pixel cache files were not working under GNU
Linux.
* JP2: Fixed some value scaling problems.
* JP2: Fix possible crash at exit when Jasper is used by a modules
build.
* MPC: is_monochrome and is_grayscale flags were not managed
properly for the MPC coder.
* PCL: Page was not always being ejected.
* PNG: The png8 encoder would fail when trying to write a 1-color
image.
* PSD: PSD parser was confused by 0x0 pixel layers, resulting in
image data corruption of all following layers.
* -rotate, -shear: Some internally-reported errors were potentially
being lost.
* Subrange/stdin: Commands now support reading an image from stdin
in conjunction with a subrange specification (e.g. "-[1]").
* Magick++ STL ShadeImage: Implementation was completely botched.
New Features:
* CALS Type 1 files may now be written (Work contributed by John
Sergeant). CALS support is dependent on the TIFF library.
* GROUP4RAW encoder supports reading/writing RAW Group4 data.
* JP2: JPEG 2000 may now be written in arbitrary bit depths ranging
from 2 to 16 rather than just 8 or 16.
* JPEG: IJG JPEG library version 7 is now supported.
* JPEG: Added jpeg:block-smoothing and jpeg:fancy-upsampling defines
to control these JPEG library options.
* JPEG: Detect and apply colorspaces appropriately for ITU FAX JPEG.
* Resource Limits: There is now a "threads" resource limit which
allows specifying the number of OpenMP threads which may be used,
similar to the OMP_NUM_THREADS environment variable.
* TIFF: Allow CIELAB TIFF to be read.
* MagickGetImageAttribute()/MagickSetImageAttribute(): New Wand
methods to support getting and setting an image attribute.
Contributed by Mikko Koppanen.
* ClonePixelWand(): New Wand method to deep-copy an existing pixel
wand.
* ClonePixelWands(): New Wand method to deep-copy an array of
existing pixel wands.
* MagickCdlImage(): New Wand method to apply the ASC CDL to an
image.
* MagickGetImageBoundingBox(): New Wand method to return the crop
bounding box required to remove any solid-color border from the
image.
* MagickGetImageFuzz(), MagickSetImageFuzz(): New Wand methods to
get and set the color comparison fuzz factor.
* MagickHaldClutImage(): New Wand method to apply a Hald CLUT to an
image.
* MagickSetResolution(): New Wand method to set the wand resolution.
* MagickSetResolutionUnits(): New Wand method to set the wand
resolution units.
* Magick++: Allow Magick++ library to built as a DLL under MinGW and
Cygwin. This requires a modern GCC in order for C++ exceptions to
work.
Feature improvements:
* Cygwin: Cygwin 1.7 is now supported.
* JPEG compression settings are preserved (if possible) when
inserting JPEG blobs into formats which use JPEG.
* PDF: If the original file used JPEG compression, then use JPEG
compression with original settings (if possible).
* TIFF: Update Windows build to use libtiff 3.9.2.
* X11 Display: Apply a checkerboard pattern underneath transparent
images which use more than simple binary transparency.
Performance Improvements:
* Gamma: Performance is improved for Q8 and Q16 builds. Also
preserve full precision in Q32 build.
* String data is dealt with a bit more efficiently (fewer
allocations, less memory, and less CPU).
Behavior Changes:
* InitializeMagick() MUST be invoked prior to using any Magick API
function. Failure to do so will likely lead to an immediate
application crash. This is due to initialization and runtime
changes intended to improve thread safety and efficiency.
Previously it was only strongly recommended to invoke
InitializeMagick().
* ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
transparency and 'O' should indicate opacity. Behavior was
inconsistent. In some cases 'O' meant transparency while in other
cases it meant opacity. Also, in a few cases, matte was not
getting enabled in the image as it should.
* colors.mgk: Is now empty to default and is optional. Previous
content is now compiled into the library in an efficient way, but
existing values may be modified, or new values added by adding
entries to color.mgk.
* DisableSlowOpenMP is now the default. Use --enable-openmp-slow to
enable OpenMP for algorithms which sometimes run slower rather
than faster.
* magic.mgk: This configuration file is no longer used since this
data is now compiled into the library in an efficient way.
* modules.mgk: Is now empty to default and is optional. Previous
content is now compiled into the library in an efficient way, but
existing values may be modified, or new values added by adding
entries to modules.mgk.
* Third party executables not included in the Visual Studio build
are no longer bundled in the GraphicsMagick installer. This means
that hp2xx.exe, mpeg2dec.exe, and mpeg2enc.exe are no longer
distributed.
|
2010-01-18 10:59:46 by Thomas Klausner | Files touched by this commit (938) |
Log message:
Second try at jpeg-8 recursive PKGREVISION bump.
|
2009-09-20 13:30:58 by OBATA Akio | Files touched by this commit (4) |
Log message:
Update GraphicsMagick to 1.3.7.
(CVE-2008-1097 was already fixed by patch-ab in pkgsrc).
1.3.7 (September 17, 2009)
==========================
Security Fixes:
* PCX: Detect improper rows, columns, or depth. Fixes CVE-2008-1097
"Memory corruption in ImageMagick's PCX coder".
* DrawDashPolygon: Avoid a crash which sometimes occured with tiny
polygons.
Bug fixes:
* JPEG: Profile chunks need to be concatentated in order to build
the whole profile. This was not working so embedded profiles
larger than 32K or maybe 64K were being corrupted. This bug was
introduced in GraphicsMagick 1.2.
* Meta: Fix memory leaks.
* Meta: Work better with with IPTC record 2 blocks and deal better
with IPTC embedded in an 8BIM profile. Fixes by John Sergeant.
* MPC: Fix crash when reading MPC and the input image is modified.
* PNG: Ensure that the opacity channel is properly initialized.
* -profile: Lowercase arguments were sometimes not working as
expected.
* Topol: Topol reader actually works now and is included in test
suite.
* TIFF: Read and write JPEG-compressed grayscale TIFF correctly.
* VisualMagick configure now works properly when output paths are
specified.
* WMF: Eliminate memory leaks.
New Features:
* MagickWand: New method MagickSetCompressionQuality() to allow
setting the compression quality.
* MagickWand: New method CloneDrawingWand() to deep-copy a drawing
wand.
* MagickWand: New method DrawGetException() to retrieve information
regarding the last drawing wand exception (if any).
* MagickWand: New method DrawClearException() to clear a drawing wand
exception.
* Magick++: New Image method cdl() to apply the ASC CDL.
* Magick++: New Image method colorMatrix() to apply a color matrix
to the image channels.
* Magick++: New Image method haldClut)() to apply a color lookup
table (Hald CLUT) to the image.
* MSL/Conjure: Added a new 'profile' command which applies, adds, or
removes one or more IPTC, ICC or generic profiles from a file.
Work contributed by John Sergeant.
* Added a 'time' subcommand to provide Unix-style 'time' output when
a 'time' capability is missing, or the reporting format is
inconsistent. For example 'gm time convert ...'.
Feature improvements:
* ColorMatrixImage(): Add opaque opacity channel when needed.
* PDF & PS: Use '-type palette' prior to input file name to cause
Ghostscript to return a dithered colormapped image.
* PNG: Now compiles with libpng-1.4.0beta74 and later.
* TIFF: Libtiff in Windows build is upgraded to 3.9.1. This allows
GraphicsMagick to read and write 16 and 24 bit float TIFF files.
* Windows code to find Ghostscript is rewritten from scratch.
Performance Improvements:
* Drawing of points, lines, and polygons (and complex shapes based
on these) is now accelerated using OpenMP with excellent speed-up.
* ICC color transforms now see linear speedup from OpenMP.
* Rotate: For rotations of 90 or 270 degrees, tile sizes are
selected more appropriately.
Behavior Changes:
* No longer clear the exception structure at the start of
ReadImage() and other similar functions since this sometimes masks
errors. The API user is expected to make sure that the exception
structure is clean prior to invoking a function.
* SVG: Writer is now disabled since it usually does not work properly.
|
2009-08-26 21:58:47 by Jens Rehsack | Files touched by this commit (1461) | |
Log message:
bump revision because of graphics/jpeg update
|
2009-08-08 06:45:28 by OBATA Akio | Files touched by this commit (3) |
Log message:
Update GraphicsMagick to 1.3.6.
This release fixes many bugs, adds many improvements, and adds new
major features. Quite a few volunteers contributed to this release.
The following are the major changes since the 1.3.5 release:
Security Fixes:
* None.
Bug fixes:
* Composition was failing when the change image overlaps off the
left side of the canvas.
* EPT, PDF, PS: PDF bounding box is sometimes incorrect or not
globally applicable so don't specify bounding box when reading PDF
files.
* OpenMP: Fix (benign) multi-thread cross-contentions (detected by
valgrind's Helgrind).
* TIFF: Fix problem with reading one bit per sample RGB images.
* TIFF: Writer was using rows-per-strip of 8 when writing
JPEG-compressed TIFF. This does not work for vertical
subsampling, and some TIFF readers insist on 16. The
rows-per-strip is now required to be a multiple of 16.
* TIFF: In some cases, the TIFF reader and writer were accessing
planar TIFF in row-order rather than plane-order, which resulted
in sever buffering problems in libtiff, and failure when
compression was used.
* -write now works usefully as documented.
* Temporary file name generator was not random enough, resulting in
some file name collisions for GraphicsMagick processes started at
the same time.
* PerlMagick: Fixed Ping on a BLOB.
* GetImageDepth was leaking memory.
* Convert/mogrify -mask option was leaking memory.
* Mogrify -output-directory option was leaking memory.
* DPX: Fixed memory leak encountered when subsampling to 4:2:2.
* DPX: Values read received insuficient scaling, which round-tripped
correctly, but rounded-down excessively if any image processing
was applied.
New Features:
* Added HRS reader for slow scan TV (contributed by Fojtik Jaroslav).
* Pthreads (POSIX threads) API may now be used under the WIN32 API.
* New access confirmation facility (MagickConfirmAccess) to allow
the API user to monitor and/or block access to files and URLs.
This allows the API user to implement a security policy based on
actual accesses.
* New color matrix function (ColorMatrixImage) to apply a color
matrix similar to Adobe Flash Flash.filters.colorMatrixFilter(),
and Windows GDI+ ColorMatrix class, (order up to 5x5) to the image
pixels. This is accessible via the -recolor command option.
* Added an IDENTITY coder to return a Hald identity CLUT image of
specified order (e.g. "identity:8").
* Added a Hald CLUT capability as described at
http://www.quelsolaar.com/technology/clut.html. This allows a
color transformation to be easily created and replicated on any
number of images. The algorithm is accessed by the -hald-clut
option of 'convert' and 'mogrify'. Original algorithm by Eskil
Steenberg and adapted for GraphicsMagick by Cl?ment Follet, with
additional work by Bob Friesenhahn.
* Added support for the ASC CDL transform. Available as -asc-cdl
via the 'convert' and 'mogrify' subcommands. Original
implementation by Cl?ment Follet but considerably re-worked by Bob
Friesenhahn. Implementation passes the +/- 1 count accuracy
requirement required by the ASC CDL SOP tests.
* Added support for reading CALS Type 1 format (contributed by John
Sergeant). CALS is a standard raster format used by the US
Department of Defense for storing blueprint images.
* Added a random number generation system based on George
Marsaglia's multiply-with-carry generator. Somewhat slower than
rand() but produces better random numbers with a period >2^60.
This is a much better random number generator than the C library
rand() and the algorithm is integrated in a way which maximizes
multi-thread performance.
* The 'compare' command now supports a -maximum-error option to
specify the maximum image error so that it may be used to support
boolean logic in automated test scripts.
* For OpenMP-builds, the '-list resource' output now indicates the
number of threads which will be used.
Feature improvements:
* Image resize now avoids adding "halos" around objects when
resizing an image which contains transparency (patch contributed by
Pavel Merdin).
* DICOM: The DICOM reader is completely re-written and is much more
functional now. A few features (e.g. RLE compression) are still
missing. This work is contributed by John Sergeant.
* EXIF: Unprintable characters in EXIF attribute strings are now
returned using three-digit octal notation. Unknown tags are
identified via their four-character hex value.
* PCL: PCL writer is rewritten to fix many bugs, add support for
compression, add support for 8 bit PseudoClass images, and
dramatically improve usability (work contributed by John Sergeant).
* TIFF: Allow the user to force the returned image to be TrueColor
type for min-is-white and min-is-black TIFF files.
* TIFF: User can now specify the predictor using syntax like
'-define tiff:predictor=2'.
* TIFF: User can now specify the rows-per-strip value when using
JPEG compression.
* TXT: The TXT reader is now capable of reading image files written
by the TXT writer, as well continuing to render ASCII text into an
image (work contributed by Fojtik Jaroslav).
* Utilities @file.txt syntax for including a list of files to use as
an argument now really works as expected. This may be used to
inject any other text into the command line as well. As a result,
the 'mogrify' utility may be invoked on thousands of files at once
while obtaining the list of files to process from a text file.
* The 'mogrify' utility now caches argument images so that they are
loaded only once when mogrify is used to process multiple image
files.
Performance Improvements:
* -median and -noise now see reliable linear speedup as threads are
added.
Behavior Changes:
* PerlMagick is configured but no longer built by default.
* Use '-interlace Line' to produce an interlaced GIF, PNG, or
progressive JPEG.
|
2009-08-08 06:41:08 by OBATA Akio | Files touched by this commit (3) |
Log message:
Add an patch to fixes CVE-2008-1097, taken from upstream repository.
Bump PKGREVISION.
|
2009-06-14 22:05:44 by Joerg Sonnenberger | Files touched by this commit (38) |
Log message:
Convert @exec/@unexec to @pkgdir or drop it.
|
2009-06-14 19:59:32 by Joerg Sonnenberger | Files touched by this commit (263) |
Log message:
Remove @dirrm entries from PLISTs
|
2009-03-20 20:25:55 by Joerg Sonnenberger | Files touched by this commit (1252) |
Log message:
Simply and speed up buildlink3.mk files and processing.
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.
|