Felix Bünemann
0f9e87bc69
Run pytest verbose on Travis CI
...
This should make it easier to see which tests cause problems.
2018-06-14 17:40:27 +02:00
John Cupitt
1e102910cf
allow osx to fail for now
2018-06-14 16:15:43 +01:00
John Cupitt
020dc980f0
Merge pull request #1005 from felixbuenemann/run-pyvips-on-travis-ci
...
Run pyvips test suite on Travis CI
2018-06-14 15:56:39 +01:00
Felix Bünemann
eaa5cfc334
Run pyvips test suite on Travis CI
...
* Download pyvips version specified by PYVIPS_VERSION environment variable
and run its test suite after the C based tests
* Fix the macOS build and use the latest Xcode/macOS versions
* Disable homebrew updates for more predictable builds
* Sync dependencies between linux and osx targets
2018-06-13 23:36:07 +02:00
John Cupitt
d063a81689
fix vipssave on macOS
...
an open had been dropped
see https://github.com/jcupitt/libvips/issues/1004
2018-06-13 21:33:52 +01:00
John Cupitt
581e0178d2
tiffsave has region_shrink param
...
for new pyr shrink stuff
2018-06-13 18:16:03 +01:00
John Cupitt
a373d2c876
add changelog notes for region_shrink
2018-06-13 17:36:36 +01:00
John Cupitt
8a8a093523
Merge pull request #915 from harukizaemon/region-shrink-method
...
WIP: Adds a region shrink method
2018-06-13 17:15:03 +01:00
John Cupitt
2c7684669f
Merge branch 'master' into region-shrink-method
2018-06-13 17:13:16 +01:00
John Cupitt
539cc0616c
Merge branch '8.6'
2018-06-13 16:24:20 +01:00
John Cupitt
e6edcfe20d
improve accuracy of vector path
2018-06-13 16:23:21 +01:00
John Cupitt
eac314b4a2
Merge pull request #1003 from felixbuenemann/fix-convolution-posterization
...
Fix convolution vector path posterization
2018-06-13 16:22:39 +01:00
Felix Bünemann
2041deb917
Fix convolution vector path posterization
...
This fixes posterization in the vector path for convolution caused by a
typo in commit eefb2dad98
.
The fix was suggested by @jcupitt.
2018-06-13 17:18:55 +02:00
John Cupitt
4951040c53
Merge pull request #1002 from janko-m/fix-missing-addalpha-doc
...
Fix missing vips_addalpha() docs
2018-06-13 15:45:54 +01:00
Janko Marohnić
d3faada6f3
Fix missing vips_addalpha() docs
2018-06-13 11:17:45 +02:00
John Cupitt
3b1e3e1841
add Mitchell kernel
...
see https://github.com/jcupitt/libvips/issues/966
2018-06-12 12:55:10 +01:00
John Cupitt
cc29a13cc7
revise composite position code slightly
...
- move x/y into composite and out of composite base, have separate x/y int
params for composite2
- upsize later for a small speed improvement
- doc comment
- note in changelog
see https://github.com/jcupitt/libvips/pull/934
2018-06-11 17:04:29 +01:00
John Cupitt
8693179ef2
Merge pull request #934 from medakk/compositexy
...
Adding x,y arguments to vips_composite
2018-06-11 16:00:29 +01:00
John Cupitt
0e3cac1a72
make cpp overloads const
...
all overloads are declared const now, where possible
also revised cpp examples and ran them to check
see https://github.com/jcupitt/libvips/issues/983
2018-06-11 15:24:11 +01:00
John Cupitt
ca6410e1a6
make members and getters "const" in cpp api
...
eg. VImage::width() is now
int VImage::width() const;
ie. it does not alter the image objects. In factr we can mark almost all
members const.
see https://github.com/jcupitt/libvips/issues/983
2018-06-11 14:30:17 +01:00
John Cupitt
87b3f17846
vips7 API defaults off
2018-06-11 12:44:28 +01:00
John Cupitt
d70c2cd918
revise README for deprecated py7 and py8
...
now the two older python bindings are deprecated and disabled by
default, remove notes about them from README.
2018-06-11 12:23:18 +01:00
John Cupitt
af47ba964a
fix make dist
2018-06-10 16:58:05 +01:00
John Cupitt
0d8a440aff
fix build with magick7
2018-06-10 12:15:02 +01:00
John Cupitt
fb64d3607a
add @background option to pdfload
...
Add a "background" option to pdfload to help support PDFs with a
transparent background. For example:
vips copy transparent.pdf[background=0] x.png
see https://github.com/jcupitt/libvips/issues/995
2018-06-08 10:28:00 +01:00
John Cupitt
495e0b2d14
bump svg header size to 1000 bytes
...
see https://github.com/jcupitt/libvips/pull/543
2018-06-06 08:17:08 +01:00
John Cupitt
5ec605c98c
Merge branch '8.6'
2018-06-01 23:05:16 +01:00
John Cupitt
a3394dc756
fix webp metadata save with webpmux
...
see https://github.com/jcupitt/libvips/pull/989
2018-06-01 23:01:33 +01:00
John Cupitt
abdd0b977c
Merge pull request #989 from lovell/webp-metadata
...
Ensure WebP can add metadata when compiled with libwebpmux
2018-06-01 22:33:55 +01:00
Lovell Fuller
8e658d3a06
Ensure WebP can add metadata when compiled with libwebpmux
2018-06-01 20:35:16 +01:00
John Cupitt
892fa2eeba
Merge branch 'master' of github.com:jcupitt/libvips
2018-06-01 19:46:42 +01:00
John Cupitt
e9aaedc60a
fix some compiler warnings
...
from the msvc patch
2018-06-01 19:44:43 +01:00
John Cupitt
0c8552d3fc
fix some compiler warnings
...
from the MSVC patches, and add a changelog line
2018-06-01 16:02:09 +01:00
John Cupitt
364a5daafc
Merge pull request #988 from angelmixu/vs2017
...
Fixes for being able to build libvips in Visual Studio 2017 with an external project
2018-06-01 12:43:58 +01:00
Angel Sánchez
7125608904
WinSDK stdlib.h has only abs function for int, long, long long and __int64 parameteres, cstdlib has the abs function with a double parameter
2018-05-31 14:00:35 +02:00
Angel Sánchez
258311cec2
performing arithmetic on a void* is not in the standard C, GCC uses an extension for using it, in VS2017 this is non-existant, so the recommended way is to cast to char* to perform increments on the pointer
2018-05-31 13:53:31 +02:00
Angel Sánchez
3282e464a1
added DLL export macro for exporting symbols in VS2017
2018-05-31 13:51:21 +02:00
Angel Sánchez
256cf494a3
use VIPS_PI instead of M_PI as the former is already defined, added missing includes with their macro protection
2018-05-31 13:50:50 +02:00
John Cupitt
86a1a0a7e2
Merge branch '8.6'
2018-05-29 19:30:46 +01:00
John Cupitt
7e95ae514d
don't use ping in magickload
...
too unreliable, sadly
2018-05-29 19:29:11 +01:00
John Cupitt
0486218ff5
don't use Ping in magickload
...
it's too unreliable :-( we are forced to read every time
2018-05-29 17:20:46 +01:00
John Cupitt
d251b37d92
add vips_argument_get_id()
...
We had a global we incremented to allocate property ids, but of course that
won't work with DLLs. Instead, add vips_argument_get_id() and call that to
allocate new prop ids.
See:
https://github.com/jcupitt/libvips/issues/985
2018-05-29 16:49:20 +01:00
John Cupitt
4058312aee
fix a TGA ping crash
...
see https://github.com/jcupitt/libvips/issues/980
2018-05-25 16:40:50 +01:00
John Cupitt
73a55e0322
update ChangeLog
2018-05-25 16:06:05 +01:00
John Cupitt
1a95b2df89
fix tga header read
...
When you ping() an image with imagemagick to get the header, some format
loaders (eg. TGA) don't set all the fields. In this case,
image->colormap was not set and that made GetImageChannelDepth() crash.
Work around this, at least in this case, by allocating a colourmap
ourselves if none is set.
see https://github.com/jcupitt/libvips/issues/980
2018-05-25 16:02:25 +01:00
John Cupitt
c349b31c5f
magicksave polishing
...
- make better use of the magick.c wrappers in magickload
- disable magicksave if ImportImagePixels() is not found, fixing build
against GM
2018-05-18 17:40:29 +01:00
John Cupitt
e2aafa6ed3
hist_plot fixup
...
missed a case in the refactor
2018-05-16 15:26:20 +01:00
John Cupitt
7e9efd7a3e
Merge branch 'master' of github.com:jcupitt/libvips
2018-05-16 15:10:29 +01:00
John Cupitt
b085908558
remove vips7 stuff from API
...
You must now include vips7 support explicitly with
#include <vips/vips7compat.h>
in your code just after including `vips.h`.
The old vips7 names, such as `Rect`, were starting to cause problems
with other packages like opencv.
2018-05-16 15:08:21 +01:00
John Cupitt
deff64d6a2
Merge branch 'master' of github.com:jcupitt/libvips
2018-05-16 07:38:48 +01:00