Permalink
Commits on Oct 19, 2016
  1. Increase SVG buffer check length by 50 bytes

    Provides support for files exported by Illustrator
    lovell committed Oct 19, 2016
Commits on Oct 15, 2016
  1. MSVC requires __declspec first for return by reference

    Ensure consistent modifier order across all exported functions
    Move assignment operators to be "outside" definitions to aid export
    lovell committed Oct 15, 2016
Commits on Apr 15, 2016
Commits on Apr 11, 2016
  1. Ensure premultiply fast-path for RGBA is used.

    Add A suffix to PRE_RGBA macro name to clarify use with 4 bands.
    lovell committed Apr 11, 2016
Commits on Mar 9, 2016
  1. Build LAB to sRGB tables only when first needed

    Reduces libvips start-up time by ~20ms
    lovell committed Mar 9, 2016
Commits on Feb 23, 2016
  1. Improve performance of histogram generation for 1-4 band uchar.

    The inner loop cannot be auto-vectorized by the compiler so
    manually unroll for common cases to achieve a 2x-3x speed-up.
    lovell committed Feb 23, 2016
Commits on Jan 25, 2016
  1. Replace use of "Duff's device" with for-loop to allow compiler to opt…

    …imise.
    
    Reduces CPU instruction count of conv_gen function by ~30%.
    Improves performance of convolution operation by 20-25%.
    lovell committed Jan 25, 2016
Commits on Jan 22, 2016
  1. Consolidate FAST_PSEUDO_FLOOR macros, prefer __builtin_floor if avail…

    …able
    
    Use of vips_interpolate_get_method avoids need to pass interpolate instance
    Remove an unnecessary temp variable to help prevent register starvation
    
    5% less time in vips_interpolate_bicubic_interpolate
    10% less time in vips_affine_gen
    lovell committed Jan 22, 2016
Commits on Jan 21, 2016
  1. Allow compiler to vectorise vips_shrinkh

    Reduce for-loop count in shrinkh macros
    Don't access loop variable outside loop
    Remove unnecessary use of ceil from integer
    lovell committed Jan 21, 2016
Commits on Jan 20, 2016
  1. Use gcc/clang isnan and isinf builtin functions where available.

    These are used heavily in the building of look-up tables at
    start-up time and therefore improve vipsthumbnail perf by ~4%.
    lovell committed Jan 20, 2016
Commits on Jan 11, 2016
  1. Enable compilation of vips8 C++ bindings with MSVC

    Add VIPS_CPLUSPLUS_API macro to allow DLL creation
    lovell committed Jan 11, 2016
Commits on Apr 15, 2015
  1. Ensure expected signature in ExceptionInfo before destroy

    GraphicsMagick asserts this in DestroyExceptionInfo
    
    read_free is called multiple times since fc5a4a9
    lovell committed Apr 15, 2015
Commits on Apr 14, 2015
  1. Expose new/forthcoming features of mozjpeg/libjpeg-turbo

    Runtime detection via JPEG extension parameters
    Compile-time detection via J_BOOLEAN_PARAM of jpeglib.h
    lovell committed Apr 12, 2015
  2. Fix small memory leak in openslide loader

    vips_image_set_string takes a copy of the string
    lovell committed Apr 14, 2015
Commits on Jan 22, 2015
  1. Resize builder uses 7 temp images

    Prevents memory leak and possible segfault
    lovell committed Jan 22, 2015
Commits on Jan 5, 2015
Commits on Dec 4, 2014
  1. Expose 'density' attribute for magickload

    Allows control of vector format resolution
    lovell committed Dec 4, 2014
Commits on Oct 26, 2014
  1. Expose ability to control libpng's row filter

    Disabling adaptive filters can improve image size
    lovell committed Oct 25, 2014
Commits on Oct 13, 2014
  1. Support BigTIFF, thanks @bgilbert

    lovell committed Oct 13, 2014
  2. Verify first 4 bytes of TIFF file

    Avoids Olympus Raw (ORF) false positive
    lovell committed Oct 13, 2014
Commits on Sep 19, 2014
  1. Prevent non-critical race condition in op cache

    First thread to add an operation 'wins'
    lovell committed Sep 19, 2014
Commits on Sep 8, 2014
  1. Prevent empty else block in configure

    Enables libvips to compile on RHEL/Centos 6
    lovell committed Sep 8, 2014
Commits on Aug 28, 2014
Commits on Aug 7, 2014
  1. Prevent libpng verifying sRGB profiles

    Ensures PNG images saved by Photoshop work
    
    Mirrors the behaviour of Imagemagick
    lovell committed Aug 7, 2014
Commits on May 12, 2014
Commits on Feb 22, 2014
  1. Use static buffer for fake JPEG EOI marker as src->buf might not be a…

    …llocated
    
    Discovered whilst investigating lovell/sharp#6
    lovell committed Feb 22, 2014
Commits on Jan 20, 2014
Commits on Oct 1, 2013
  1. Add optional optimize_coding param to JPEG output methods to compute …

    …optimal Huffman coding tables, defaults to FALSE.
    lovell committed Oct 1, 2013
Commits on Sep 7, 2013