Commit Graph

4941 Commits

Author SHA1 Message Date
John Cupitt 62bc9b7e1d start to add more blend modes 2017-09-27 22:34:05 +01:00
John Cupitt 7e2dbdf5fb move to cairo naming convention
and split alpha calculation off
2017-09-27 21:58:01 +01:00
John Cupitt dc1f76803c add a 3-band path
the most common case by far
2017-09-27 20:31:51 +01:00
John Cupitt 6da790c1e1 remove a / from the premultiplied path 2017-09-27 17:49:59 +01:00
John Cupitt 4b24d82e8c some cleanups, a bit quicker
it now has separate premultiplied and not-premultiplied paths
2017-09-27 17:32:05 +01:00
John Cupitt 5e64d8ce0d Merge pull request #748 from astavale/gi-updates-for-conversion
Update GObject annotations for libvips/conversion directory
2017-09-27 15:14:57 +01:00
John Cupitt 8cd336033a Merge branch 'master' into add-composite 2017-09-27 13:44:22 +01:00
Alistair Thomas fd71c3f448 Correct GObject annotation for vips_bandjoin_const() @in parameter from array to instance 2017-09-27 13:43:40 +01:00
John Cupitt bea3d0cc58 Merge pull request #749 from astavale/gi-updates-for-foreign
Update GObject introspection annotations for libvips/foreign directory
2017-09-27 09:13:03 +01:00
John Cupitt 7c7c30a601 works!
but only OVER mode at the moment, and it's not especially quick
2017-09-27 08:58:36 +01:00
John Cupitt f6db350a1e Merge pull request #743 from astavale/gi-updates-for-arithmetic
Update GObject introspection annotations for /libvips/arithmetic
2017-09-27 08:58:08 +01:00
Alistair Thomas 0506c49444 Update GObject introspection annotations for libvips/foreign directory 2017-09-26 23:39:06 +01:00
Alistair Thomas 5bad0404c2 Update GObject annotations for libvips/conversion directory 2017-09-26 17:04:17 +01:00
John Cupitt e44921f481 framework in
just need to implement it now :(
2017-09-26 11:20:13 +01:00
John Cupitt d2b4478318 more work on binding docs 2017-09-25 13:12:23 +01:00
John Cupitt 6397aae326 rework binding docs 2017-09-25 12:19:23 +01:00
John Cupitt 0aecd57513 add note to docs on VIPS_INIT deprecation
as in, it's not deprecated
2017-09-24 19:35:51 +01:00
Alistair Thomas 9303ee2511 Update GObject introspection annotations for /libvips/arithmetic directory 2017-09-20 10:36:21 +01:00
John Cupitt 0193e23c64 only flatten in find_trim if there is an alpha
oops, flatten always flattens, it doesn't check for alpha first

see https://github.com/jcupitt/libvips/issues/670
2017-09-18 14:48:15 +01:00
John Cupitt 0d93f9f9dd note flatten before getpoint for find_trim
add note on flatten before getpoint

see https://github.com/jcupitt/libvips/issues/670
2017-09-18 12:56:35 +01:00
John Cupitt cfe907deb3 missing bandor in find_trim
it cropped too aggressively on images with highly-coloured edges

see https://github.com/jcupitt/libvips/issues/670
2017-09-18 12:44:19 +01:00
John Cupitt a0dc910dbf Merge pull request #740 from astavale/improve-image-avg-gi
Improve the gobject introspection annotations for Image.avg ()
2017-09-18 10:52:54 +01:00
Alistair Thomas d289b61fdc Improve the gobject introspection annotations for Image.avg () 2017-09-17 22:51:14 +01:00
John Cupitt 6aca3bae53 re-add goi
it's a hard dep
2017-09-17 17:43:50 +01:00
John Cupitt bb47d18bad Merge branch 'master' of github.com:jcupitt/libvips 2017-09-17 17:23:25 +01:00
John Cupitt fa4cc1a0ac turn osx back on for travis
and remove the py stuff: this is no longer used for the test suite
2017-09-17 17:13:11 +01:00
John Cupitt 0ef06d14ee Merge pull request #739 from astavale/update-travis
Remove additional install of pkg-config and automake from macOS CI
2017-09-17 16:44:40 +01:00
Alistair Thomas 8f1aaeaa7d Remove additional install of pkg-config, automake and giflib from macOS CI
The Travis build for macOS is failing because brew errors out when it
finds pkg-config, automake and giflib have already been installed.
2017-09-17 14:44:59 +01:00
John Cupitt b2f66a3968 add note on svgload improvement 2017-09-17 05:20:48 +01:00
John Cupitt 99053d41cb Merge pull request #724 from lovell/svg-scale
Correct scaling of SVG input without width and height attributes
2017-09-17 05:12:44 +01:00
John Cupitt 3d40769401 tiny cleanups 2017-09-15 10:39:06 +01:00
John Cupitt f4eb1fcf80 Merge pull request #737 from kleisauke/fix-shrink-on-load
vips_thumbnail: Fix SVG/PDF input (#735)
2017-09-14 15:24:42 +01:00
Kleis Auke Wolthuizen 1e26b1a6c3 vips_thumbnail: Fix SVG/PDF input (#735) 2017-09-14 16:03:21 +02:00
John Cupitt 9bc2b18140 Merge pull request #736 from lovell/cpp-int-offset
cplusplus: offset coords are int rather than double
2017-09-14 11:00:20 +01:00
Lovell Fuller 8bd2208e5e cplusplus: offset coords are int rather than double 2017-09-14 10:25:15 +01:00
John Cupitt e346fd639e built-in python bindings default to off
we still make a typelib by default though

use the new pyvips binding instead, "pip install pyvips"
2017-09-13 18:24:32 +01:00
John Cupitt 48680dccc4 remove python test suite
it's in pyvips now
2017-09-13 17:45:29 +01:00
John Cupitt 906dc50462 add a note to the docs re. mem & files
note that the cache limits only apply to memory and files allocated by libvips
2017-09-11 16:33:37 +01:00
John Cupitt 60f212c371 credit! 2017-09-11 11:54:01 +01:00
John Cupitt 0f4feb1b73 note file create time change 2017-09-11 11:22:20 +01:00
John Cupitt d4ed0f84d8 set all file times
why ... why is this necessary
2017-09-11 11:21:28 +01:00
John Cupitt 9cafae8767 Merge branch 'master' into reset-create 2017-09-09 12:31:34 +01:00
John Cupitt 99c1fdca3e use SystemTimeToFileTime
oops, mixup, thanks dlong500
2017-09-09 12:30:48 +01:00
John Cupitt 6641773719 note change in svgload header 2017-09-09 12:28:27 +01:00
John Cupitt 592710dd6d limit tile width for svgload
librsvg starts to fail if any single tiles has an axis over 32767
pixels. Break up very wide images to fix this.

See:

https://github.com/jcupitt/libvips/issues/732
2017-09-09 12:23:11 +01:00
John Cupitt 8970df2e1f try disabling operation cache for magickload
magickload can eat huge amounts of memory and disc, fon't keep it in the
operation cache

see https://github.com/jcupitt/libvips/issues/731
2017-09-08 04:55:55 +01:00
John Cupitt 0a9593b3bf try again
with SetFileTime() this time
2017-09-07 16:37:35 +01:00
John Cupitt 0911b4a282 attempt to reset create on Windows
When writing a file on Windows, you need to set the create date or the
date might be copied over from a previous file of the same name.

Quick hack, might be enough to fix this.

See https://github.com/jcupitt/libvips/issues/729
2017-09-07 09:09:19 +01:00
John Cupitt 739389d18d clearer usage notes for cli
see https://github.com/jcupitt/libvips/issues/725
2017-09-04 16:16:45 +01:00
Lovell Fuller 980095a8cc Scale SVG without width/height attrs using cairo 2017-09-03 20:11:16 +01:00