Commit graph

42 commits

Author SHA1 Message Date
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
obache
c852e57edc * enable jbig support, add dependency to jbigkit.
* 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).
2010-06-05 13:30:33 +00:00
wiz
9b8a77dc06 Fix included path to ghostscript fonts by giving explicit path.
From obache@
2010-06-05 12:36:08 +00:00
obache
1c9a427708 Note for LICENSE. 2010-05-17 07:53:29 +00:00
obache
1c77e4d6a8 Update GraphicsMagick to 1.3.12.
1.3.12 (March 8, 2010)
==========================

Security Fixes:

  * Updated libpng Windows sources to 1.2.43 in order to resolve
    CVE-2010-0205 as it pertains to the GraphicsMagick Windows build.

Bug fixes:

  * Filter mode (write to stdout) was completely broken.

  * Should now compile with libpng 1.4.

  * Windows PerlMagick build identified itself as the wrong version.

New Features:

  * None

Feature improvements:

  * None

Performance Improvements:

  * None

Behavior Changes:

  * DCX output format is only written on request.  Previously the PCX
    coder would automatically switch to DCX format if multiple frames
    would be written.
2010-03-09 01:19:48 +00:00
obache
725f6fef7a Update GraphicsMagick to 1.3.11.
1.3.11 (February 21, 2010)
==========================

Security Fixes:

  * Fixed array underflow on systems using signed char which could
    result in a program crash due to extended characters in filenames
    or in certain file formats.

Bug fixes:

  * Fixed array underflow on systems using signed char which could
    result in a program crash due to extended characters in filenames
    or in certain file formats.

New Features:

  * Added a -thumbnail command to 'convert' and 'mogrify'.  This is a
    faster way to scale down the image when speed is a primary
    concern.

  * Added a -extent command to 'convert' and 'mogrify' which
    composites the image on top of a backing canvas image of solid
    color.

  * Added support for -compose to the 'convert' and 'mogrify', which
    were documented to support it (but did not).

Feature improvements:

  * None

Performance Improvements:

  * Requests for 'Over' and 'Atop' composition are converted to a
    request for the (faster) 'Copy' composition when both images are
    opaque.

Behavior Changes:

  * None
2010-02-22 06:10:32 +00:00
obache
7ed97033ef Update GraphicsMagick to 1.3.10.
1.3.10 (February 10, 2010)
==========================

Security Fixes:

  * None

Bug fixes:

  * +adjoin was not working correctly for the case when only one image
    frame is present.  With +adjoin and writing one frame to
    "foo%d.jpg" it was outputting "foo%d.jpg" rather than "foo0.jpg".

  * When drawing paths, memory allocation for the points was much
    larger than it needed to be (patch by Vladimir Lukianov).

New Features:

  * None

Feature improvements:

  * None

Performance Improvements:

  * None

Behavior Changes:

  * To reiterate the change which first appeared in 1.3.9, there is no
    longer an implicit +adjoin if the output file name happens to
    contain a %d sequence, or there are multiple frames and the output
    file format only supports storing one frame.  Specify +adjoin if
    scene number substition is desired in the output file names.
2010-02-11 06:43:55 +00:00
obache
b15763c214 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-02-05 05:09:06 +00:00
obache
76e59c05ca 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-22 06:16:18 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
obache
0e0e871149 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-09-20 11:30:58 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
obache
ed34d9e8b2 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 04:45:28 +00:00
obache
55777edc22 Add an patch to fixes CVE-2008-1097, taken from upstream repository.
Bump PKGREVISION.
2009-08-08 04:41:07 +00:00
joerg
24ce9c6c39 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:05:39 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
joerg
2d1ba244e9 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.
2009-03-20 19:23:50 +00:00
obache
c2879b625f Update GraphicsMagick to 1.3.5.
1.3.5 (January 26, 2009)
=========================

Security Fixes:

  * BMP and DIB formats were throwing an assertion for negative height
    values.  This caused the process to crash.

Bug fixes:

  * Don't install Magick++ headers if C++ is disabled.

  * Linux RPM SPEC file needs to always install the loadable module
    .la files or else the modules won't load.

  * Windows runtime DLLs were for the wrong compiler version,
    resulting in failure to execute if the correct runtime DLLs are
    not available.

New Features:

  * None

Feature improvements:

  * FITS: Parsing is more robust.

Performance Improvements:

  * None
2009-01-27 04:38:44 +00:00
obache
2edca94fa4 Update GraphicsMagick to 1.3.4.
1.3.4 (January 13, 2009)
=========================

Security Fixes:

  * None.

Bug fixes:

  * Now runs under Windows Vista (as a 32-bit application).

  * Fix for colorspace transform math overflow in Q32 build.

New Features:

  * Windows build supports OpenMP and requires Windows 2000 or later
    (source code still supports Windows '98).

  * Support large files under Windows.

  * Support reading/writing 16 and 24 bit float TIFF files.

  * Support reading/writing 64 bit integer TIFF files.

  * Added "Log", "Max", "Min", and "Pow" options to -operator.

Feature improvements:

  * Debug logging now properly prints 64-bit offset values.

Performance Improvements:

  * Improve resource estimation for Microsoft Windows systems.
2009-01-16 04:17:38 +00:00
obache
2fa72c7eb0 Update GraphicsMagick to 1.3.3.
1.3.3 (December 9, 2008)
========================

Security Fixes:

  * None.

Bug fixes:

  * 'identify' was throwing an assertion when used on colormapped
    files (this bug was introduced by 1.3.2).

  * With the -segment option, eliminate trashing the image colors when
    used on huge images.

  * 'identify -format "%c"' now reports the entire comment regardless
    of size.

  * Argument to -convolve is no longer arbitrarily truncated so huge
    convolution kernels may now be specified from the command line.

Performance Improvements:

  * Image segmentation (-segment) is now accelerated using OpenMP and
    uses several other tactics to improve execution performance.

  * 'identify "*"' now successfully works in a 32-bit application when
    used in a directory containing a million files.

  * 'identify' now executes quickly when used on TIFF files.
2008-12-10 00:48:21 +00:00
obache
3c93a9952d Update GraphicsMagick to 1.3.2.
1.3.2 (November 29, 2008)
=========================

Security Fixes:

  * None.

Bug fixes:

  * -roll was failing for colormapped images.

  * VID: Memory leak fix.

  * PREVIEW: Solarize parameter was wrong.

  * Delegates previously using 'spawn' needed an ampersand so that
    starting the child process does not hang the GUI.

Feature improvements:

  * +profile now supports an exclusion syntax.  For example ``+profile
    '!icm,*'`` removes all of the profiles except for the ICM profile.
    The new syntax also allows multiple profiles to be listed at once.

Performance Improvements:

  * AdaptiveThreshold, Blur, Convolve, and MotionBlur no longer
    process the opacity channel unless the image has one.
2008-11-30 01:02:50 +00:00
obache
295c4fea01 Update GraphicsMagick to 1.3.1.
1.3.1 (November 17, 2008)
=========================

Security Fixes:

  * None.

Bug fixes:

  * RPM build, Fixes to successfully build binary RPMs for Red Hat
    Linux 4.

  * MSL/conjure, Fix bug with attributes becoming appended to
    themselves.  Fix memory leaks.

Feature improvements:

  * New --disable-openmp-slow configure option for disabling use of
    OpenMP for algorithms which may run slower on operating systems
    with crummy thread libraries.

  * JPEG, Allow user to specify DCT encoding method via
    jpeg:dct-method define.  Also allow control over whether huffman
    encoding is used via jpeg:optimize-coding define.

Performance Improvements:

  * OpenMP (parallel processing) improvements for these functions:

    - Rotate by 90 and 270 degrees (-rotate)
2008-11-18 00:50:35 +00:00
obache
b228a4ff5a Update GraphicsMagick to 1.3.
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.
2008-11-10 11:24:27 +00:00
obache
5c992d5699 Update GraphicsMagick to 1.2.5.
1.2.5 (July 26, 2008)
=====================

Security Fixes:

  * None.

Bug fixes:

  * TIFF: Eliminated a memory leak in the codec support detection code.

  * JPEG: Removed over-write of image->client_data.

  * PNG: Fixed crash when writing PNG images with transparency and either
    optimize is requested, or the image is colormapped.


Feature improvements:

  * A file extension proxy module is used to automatically map from
    common camera raw format extensions to dcraw so that camera RAW
    images are loaded automatically using 'dcraw' or similar program
    as defined via the 'dcraw' entry in delegates.mgk.

  * ThresholdImage() uses a new implementation backported from the
    development version which attempts to avoid unnecessary image
    updates.
2008-07-26 06:59:18 +00:00
obache
c636d771ee distfile is now in subdir on mail ftp master server. 2008-07-02 00:39:23 +00:00
obache
c6ec4a36bf Update GraphicsMagick to 1.2.4.
1.2.4 (June 29, 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.

Bug fixes:

  * Magick++ Image Quantize was not supporting error measurement properly
    and was waisting time with redundant SyncImage().

  * The --enable-magick-compat configure option was not being respected
    by the Makefiles (SourceForge bug 2005883).
2008-06-30 12:34:10 +00:00
obache
6be9981403 Update GraphicsMagick to 1.2.3.
1.2.3 (June 5, 2008)
====================

Security Fixes:

  * 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.

Security Issue Not Fixed:

  * JP2/JPC reader: Several JPEG-2000 files from Sami Liedes "broken"
    collection cause crashes in Jasper. This is not GraphicsMagick's fault.

Bug fixes:

  * Noise generators were only working properly for Q8 build.
2008-06-06 03:06:53 +00:00
obache
ae08246263 Update GraphicsMagick to 1.2.2.
1.2.2 (May 28, 2008)
===================

Bug fixes:

  * Documentation is now installed according to the conventions
    established by the configure script. This results in documentation
    being installed under /usr/local/share/doc/GraphicsMagick by default.

  * HWB colorspace now works correctly.

  * Composition with CopyOpacity now produces an image with transparency
    (as expected).

  * Composition now preserves the canvas colorspace.

  * Composition with a displacement map (-displace) no longer leaks an
    image.

  * Composition now handles CopyBlack properly for CMYK images.

  * Alpha composition now works as expected when both pixels involved
    include transparency.

  * -gamma multiple channel syntax now works as documented.

  * PerlMagick: Dissolve composition with Opacity now works correctly.

  * TIFF: Was accidentially converting CMYK images to RGB.

  * TIFF: Reject JPEG compression when writing CMYK images.

  * Should now compile with Visual C++ 2008.

  * Detects libbz2 and libxml2 and builds properly with them in a MinGW
    build.

Performance improvments:

  * Exploratory support for OpenMP in the image resize code.  Can result
    in significant performance improvement when significantly reducing
    the image size on multi-core systems, but little to no improvement
    when the input and output images are close to the same size. Add
    --enable-openmp to the configure options to enable using OpenMP.

Feature improvements:

  * Composition now supports CopyCyan, CopyMagenta, CopyYellow, and
    CopyBlack in order to copy CMYK channels into an image. CMYK copy
    composition operators automatically set the image colorspace to CMYK
    so that everything just works.
2008-05-29 04:16:00 +00:00
obache
c783370808 Update GraphicsMagick to 1.2.1.
Bug fixes:

  * MAT: Provide a correct error report when the Pixels limit has been
    exceeded.

  * RPM Spec file: Fixed naming of NEWS file. Use included libltdl
    (--with-included-ltdl option) in order to avoid possible issues with
    system libltdl.

  * GraphicsMagick-config script should now output correct dependency
    information for --libs when libltdl is needed.

  * GraphicsMagick++-config no longer depends on GraphicsMagick-config to
    be in the executable search path.

Performance improvments:

  * Module loading and execution performance are improved considerably
    for the modules build. On some systems, the modules build is
    considerably faster than the static or shared builds.

Feature improvements:

  * Updated to libtool 1.2.4.
2008-05-07 04:15:11 +00:00
obache
172f33ea92 Update GraphicsMagick to 1.2.
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.
2008-05-01 11:55:12 +00:00
obache
b4109a1003 Update GraphicsMagick to 1.1.12.
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.
2008-04-29 04:56:24 +00:00
obache
fa175a96db Update GraphicsMagick to 1.1.11.
Significant changes associated with GraphicsMagick 1.1.11 (released September 23, 2007)

  Bugs Fixed:

    o BMP: Support large files.

    o DIB: Support large files.

    o PNG: Fix depth handling with 16-bit PNG files in the Q8 build.

    o SUN: Properly report image depth.

    o TIFF: Endian option (-endian) now controls TIFF byte endian order
      rather than bit fill order.

    o DCM, DIB, XBM, XCF, XWD: Eliminate integer overflow vulnerability
      (IDefense 09.19.07).

    o HSL colorspace transform: Avoid optimization bug noticed on Opteron
      with GCC.

    o HWB colorspace transform: Avoid optimization bug noticed on Opteron
      with GCC.

    o RGBTransformImage()/TransformRGBImage(): Was using HWB colorspace
      when HSL was requested.

    o Successfully reads files with names like 'file[123]'.

    o 'gm display': No longer rely on isatty() to determine if input is
      from a pipe (use 'gm display -' to display an image read from a pipe).

  Feature Improvements:

    o 'identify +ping' forces the pixels to be read (similar to GM 1.2).

    o 'gm -version' now indicates if build supports "Large Memory" (i.e. 64-bit).

    o TIFF: Use '-define tiff:fill-order={msb2lsb|lsb2msb}' to control
      TIFF bit fill order.


  Performance Improvements:

    o No longer bogs down if a directory contains hundreds of thousands of
      files and the filename looks like a wildcard specification.
2008-02-24 02:58:40 +00:00
obache
1734073e0a This package is DESTDIR ready. 2008-02-13 06:31:16 +00:00
obache
cbc6bdea97 Update GraphicsMagick to 1.1.10.
Significant changes associated with GraphicsMagick 1.1.10 (released September 19
, 2007)

  Bugs Fixed:

    o Image rotate by -90/270 degrees was producing wrong output.

Significant changes associated with GraphicsMagick 1.1.9 (released September 16, 2007)

  Bugs Fixed:

    o In mogrify command, don't remove file name based on random junk in
      memory.
    o Fixed memory leak when reading MPC files.
    o Fixed crash when writing MIFF format and depth is not expected 8/16/32/.
    o Find latest Ghostscript under Windows which identifies itself as
      "GPL Ghostscript".
    o In mogrify command, don't leak memory in the case where the image
      file contains multiple frames.
    o Fixed crash in PNG and JPEG coders when the image to be written is
      part of an image list.
    o PNG reader errors are now properly reported to the user.
    o TIFF output can now be written to a pipe or other non-seekable
      destination.
    o Support writing PDF with CCITT compression.

  Feature Improvements

    o Added a new 'benchmark' command which can be used to perform
      benchmarking on any other command.
    o Image rotate in clockwise (90 degrees) or counter-clockwise (270
      degrees) direction is now 2-9X faster than before.
    o The -version option now includes a list of supported features.
    o For Windows MinGW-based build, find Ghostscript fonts installed
      under C:/Program Files/.

Significant changes associated with GraphicsMagick 1.1.8 (released July 28, 2007)

  Security Fixes:

    o Shell command injection via delegates subsystem (CVE-2005-4601).
    o Insecure use of filenames as a "sprintf" specification (CVE-2006-0082).
    o EXIF IFD stack overflow vulnerability.
    o BMP  format: Verify seek before proceeding.
    o DCM  format: Buffer overflow prevention (CVE-2006-5456).
    o DCM  format: Integer overflow prevention (CVE-2007-1797).
    o PALM format: Heap overflow prevention (CVE-2006-5456).
    o SGI  format: Fixes for RLE decoding issue (CVE-2006-4144).
    o XCF  format: Buffer overflow prevention, infinite loop prevention.

  Bugs Fixed:

    o Typo when searching for HTMLDecodeDelegate.
    o Avoid crash if delegate program fails to return an image.
    o EXIF memory leak fixes.
    o Command parser memory leak fixes.
    o Deadlock fix for event log initialization.
    o Work with latest Ghostscript "GPL Ghostscript" under Windows.
    o 'gm import' now returns image of appropriate depth.
    o Fixed memory map resource managment.
    o Fixed includedir variable in pkg-config files.
    o Fixed validation of -affine argument.
    o Fixed bug where fseeko() and ftello() were not used when available.
    o Fixed issue when pread() and pwrite() prototypes are missing.
    o Fixed pixel cache issues when size_t is an unsigned type.
    o Fixed dcraw delegate options to work with modern dcraw.
    o Fixed -level argument parsing to allow embedded % characters.
    o Fix for segfault in InitializeMagick(NULL).
    o Fix for segfault in ModifyCache().
    o Fix for Wand MagickGetQuantumDepth() interface.
    o Fix for GrayscalePseudoClassImage() on 64-bit systems.
    o Fix for MagickReallocMemory memory leak under certain error conditions.
    o Validate BLOB access range.
    o ICON format: Segfault fix.
    o JPEG format: Fixed reading 12-bit grayscale JPEG.
    o MAT  format: Stability improvements.
    o MIFF format: Handle a compression value of 'None'.
    o PCX  format: Segfault fix.  Heap overflow fix.
    o PDF  format: Fixed writing with JPEG compression.
    o PICT format: Segfault fix.
    o PNG  format: Fixed compile problem with some libpng versions. Segfault fix.
    o PNM  format: Fixed scaling problem due to rounding error. Validate scaling.
    o PSD  format: Fixed memory leak with layerd PSD files.
    o SGI  format: Handle 16-bit SGI image files correctly.
    o SUN  format: Segfault fix.
    o TIFF format: Secure error reporting.  Finally support LZW under Windows.
    o WPG  format: Fixed crash with clip-art WPG files.
    o XWD  format: Fix for integer under/overflow.

  Feature Improvements

    o CIN format: Implementation is entirely replaced.
    o MAT format: Support Byte and Word formats, as well as big/little endian.
    o WPG format: Support for CTM translation.

  Updates:

    o JasPer is updated to version 1.900.1.
    o Jbigkit is updated to version 1.6
    o Lcms is updated to version 1.16
    o Libpng is updated to version 1.2.18
    o Libtiff is updated to version 3.8.2.
2007-10-14 12:25:15 +00:00
obache
aed6110a04 Change my mail address to @NetBSD.org. 2007-04-01 01:58:36 +00:00
joerg
5b52857e98 Modular Xorg support. 2007-02-06 18:05:58 +00:00
wiz
e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00
obache
149f8e8661 Include using libraries' bulidlink3.mk files. 2006-10-23 12:11:35 +00:00
markd
d510fe389e Fix build with recent png. From GraphicsMagick CVS. 2006-10-17 09:26:24 +00:00
minskim
3b0e8473aa Remove comments not applicable. 2006-07-20 17:53:42 +00:00
minskim
be50a3ed24 Add buildlink3.mk. 2006-07-20 17:30:09 +00:00
minskim
e0677ddbfd Import GraphicsMagick from pkgsrc-wip. Packaged by OBATA Akio.
GraphicsMagick(TM) provides a powerful image manipulation and
translation utility.  It is capable of displaying still images and
animations using the X Window system, provides a simple interface for
interactively editing images, and is capable of importing selected
windows or the entire desktop.  GraphicsMagick can read and write over
88 image formats, including JPEG, TIFF, WMF, SVG, PNG, PNM, GIF, and
Photo CD.  It can resize, rotate, sharpen, color reduce, or add
special effects to the image and save the result to any supported
format.  GraphicsMagick may be used to create animated or transparent
.gifs, create composite images, create thumbnail images, and much,
much, more.

GraphicsMagick is one of your choices if you need a program to
manipulate and display images.  If you want to develop your own
applications which use GraphicsMagick code or APIs, you need to
install GraphicsMagick-devel as well.
2006-07-20 17:23:15 +00:00