John Cupitt
7ec63c4451
more vips image read fixing
...
thanks AFL!
2016-05-18 09:00:30 +01:00
John Cupitt
4285118880
more robust vips file read
2016-05-18 08:58:05 +01:00
Felix Bünemann
c5dfc1f840
Fix VIPS_LIBDIR being "NONE" without --prefix
...
If the --prefix switch is not given to configure, the prefix variable is
NONE, so we need to the the default value from ac_default_prefix first.
2016-05-18 04:28:59 +02:00
Felix Bünemann
dcbd8397a5
Warn if the gi module could not be loaded
2016-05-18 04:28:58 +02:00
Felix Bünemann
e24334beb2
Disable vips7 SWIG bindings for python3
...
because they cause a compile error (see issue #334 ).
2016-05-18 04:28:58 +02:00
Felix Bünemann
6956bcf8a4
Fix several problems with gi path warnings
...
* Do not warn when the prefix appears to be a homebrew cellar.
* Fix configure errors when python is not detected
* Fix configure errors when pygobject is installed in prefix but
not present in the python `sys.path`.
* Use the actual overrides path, instead of the gi module path.
2016-05-18 04:28:58 +02:00
Felix Bünemann
f0a5ac5bbc
Vendor python.m4 to fix wrong multiarch exec paths
...
The python.m4 that ships with automake hardcodes the library path for
platfrom dependent files to `lib`, which is wrong for multiarch systems.
Instead we import the `m4/python.m4` from pygobject, which does not have
this problem and also ensures we have the same behavior as pygobject
which we are depending on for pyvips8.
Due to this change some minor changes to how the `bootstrap.sh` script
clean up the `m4` folder where needed.
The python search order has been modified to prefer the default python
over python2 over python3.
2016-05-18 04:28:58 +02:00
John Cupitt
6a445ea9c8
more vips image read fixing
...
thanks AFL!
2016-05-17 21:58:52 +01:00
John Cupitt
af34f8f3ef
more robust vips file read
2016-05-17 19:43:47 +01:00
John Cupitt
92a6ff19a1
add some more webp tests
2016-05-17 14:08:46 +01:00
John Cupitt
77c9616952
oh argh last change
2016-05-17 13:56:16 +01:00
John Cupitt
9057328208
reword config messages
2016-05-17 13:55:37 +01:00
John Cupitt
bbac46817c
Merge branch 'master' of github.com:jcupitt/libvips
2016-05-17 13:44:58 +01:00
John Cupitt
8b592585d7
try to py install help
...
at the end of configure, vips now tries to suggest typelib and overrides
install hints
2016-05-17 10:52:11 +01:00
John Cupitt
1654ac7e5b
fix a comment
2016-05-16 14:32:52 +01:00
John Cupitt
54d8e4808f
restore bandfmt after unpremultiply in thumbnail
...
vips_unpremultiply() always outputs float. If you save the output of
vipsthumbnail to a format that supports float files, like tiff, it won't
ever get cast back to the source format.
Example:
$ vipsheader Opera-icon-high-res.png
Opera-icon-high-res.png: 3056x3325 uchar, 4 bands, srgb, pngload
$ vipsthumbnail Opera-icon-high-res.png -o x.tif
$ vipsheader x.tif
x.tif: 117x128 float, 4 bands, scrgb, tiffload
This change makes it note and restore BandFmt aropund pre/unpremultiply.
See https://github.com/jcupitt/libvips/issues/447
2016-05-16 13:18:59 +01:00
John Cupitt
db11d3b973
allow nested [] in CLI args
...
this now works:
vips copy x y.dz[suffix=.jpg[Q=90]]
2016-05-16 11:09:47 +01:00
John Cupitt
70abf4efde
merge pdfload range to master
2016-05-15 10:02:46 +01:00
John Cupitt
ffc5279d2f
Merge branch 'master' into loadpdf-range
2016-05-15 10:01:27 +01:00
John Cupitt
7f02e843dc
add ack for dzsave tile skip
...
see https://github.com/jcupitt/libvips/issues/352
2016-05-15 09:53:37 +01:00
John Cupitt
46f2776d22
fix up changelog order
2016-05-15 09:50:40 +01:00
John Cupitt
72b67d0ec2
Merge branch 'master' into no-blank-tiles
2016-05-15 09:48:21 +01:00
John Cupitt
2cfe4842d3
notes
2016-05-15 09:48:02 +01:00
John Cupitt
a613841a49
oop various fixes
...
seems to work now
2016-05-13 09:16:34 +01:00
John Cupitt
24a51098b1
compiler warning
2016-05-12 14:54:28 +01:00
John Cupitt
f18fbe1fa2
add @n option to pdfload
...
so you can load many pages at once as a tall strip
2016-05-12 14:13:50 +01:00
John Cupitt
9fba3b5577
notes on TODO
2016-05-12 08:55:19 +01:00
John Cupitt
10fcbb6129
Merge pull request #443 from felixbuenemann/remove-jpegsave-quant_table-debug-print
...
Remove jpegsave default quant_table debug print
2016-05-09 18:44:31 +01:00
Felix Bünemann
cb97d3d786
Remove jpegsave default quant_table debug print
...
This was only ut in for debugging which quant_table is used in the
JCP_FASTEST profile and should've never been committed.
2016-05-09 18:37:00 +02:00
John Cupitt
9db05c30c2
tiny README fixes
2016-05-09 14:06:44 +01:00
John Cupitt
b206ff18cb
Merge pull request #442 from felixbuenemann/test-system-webp-on-travis
...
Test system webp on Travis CI and fix alpha_q default value
2016-05-09 13:07:53 +01:00
Felix Bünemann
3b7242f743
Fix webpsave alpha_q default value
2016-05-09 13:08:11 +02:00
Felix Bünemann
4640aab388
Test against system libwebp on Travis CI
...
* Dropped custom ppa used only for libwebp backport
* Dropped lossless test from `make check` (not supported in 0.1.3)
2016-05-09 12:29:23 +02:00
John Cupitt
143593d6a6
comment reformat
2016-05-09 11:07:48 +01:00
John Cupitt
54e5cb04d3
Merge pull request #434 from felixbuenemann/jpeg-quant-table-option
...
Add mozjpeg quant_table option to jpegsave
2016-05-09 10:47:27 +01:00
John Cupitt
bab11cec1d
always build cairo.c
2016-05-09 10:44:32 +01:00
John Cupitt
8ed8515c49
Merge pull request #439 from felixbuenemann/fix-minimum-required-poppler-version
...
Fix poppler version requirement, add loader check
2016-05-09 10:17:16 +01:00
John Cupitt
d307e38863
add FIND_LIBWEBP
...
some platforms are missing a .pc file for libwebp ... add a FIND_LIBWEBP
macro as a fallback
see https://github.com/jcupitt/libvips/issues/440
2016-05-09 09:51:05 +01:00
John Cupitt
d568c204a2
Merge pull request #441 from felixbuenemann/fix-threading-and-thumbnail-test-without-install
...
Fix threading and thumbnail tests without make install
2016-05-09 09:09:34 +01:00
Felix Bünemann
8b3bb10b00
Fix test_{threading,thumbnail}.sh without install
...
Both scripts were not using the $vips variables required to use vips
from the source directory instead of from the system.
2016-05-09 00:48:37 +02:00
Felix Bünemann
6418ab2307
Extract shared pdfload/svgload code into cairo.c
2016-05-09 00:16:48 +02:00
Felix Bünemann
bec6b174c9
Fix poppler version requirement, add loader check
...
This fixes the poppler-glib version requirement to version 0.16, which
is the lowest version that compiles and works properly with pdfload.
Also added a check for pdfload and enabled testing on Travis CI.
2016-05-09 00:16:48 +02:00
John Cupitt
38fe936eee
Merge remote-tracking branch 'origin/8.3'
2016-05-08 11:09:28 +01:00
John Cupitt
bd79a10453
Merge pull request #436 from felixbuenemann/fix-giflib4-detection
...
Fix configure check for giflib4
2016-05-08 11:03:30 +01:00
John Cupitt
f7a6a02ee8
fix giflib4 detection
...
and a problem in giflib4 error handling
2016-05-08 11:02:21 +01:00
John Cupitt
379b69fda8
note on test suite failure
2016-05-08 10:02:34 +01:00
Felix Bünemann
a342fdbeeb
Fix configure check for giflib4
...
This uses a combination of the old giflib4 and the new giflib5 checks.
2016-05-08 03:23:00 +02:00
John Cupitt
b03ad51ae3
oops, fix error reporting from giflib
2016-05-07 21:01:04 +01:00
John Cupitt
948d1103d4
note more webp tests needed
2016-05-07 19:53:00 +01:00
Felix Bünemann
c5fa0e1feb
Add mozjpeg quant_table option to jpegsave
...
This allows to choose from several predefined quantization tables when
libvips is compiled against mozjpeg 3.0+.
Tuning the quantization table helps to improve file size in the higher
quality range and avoid artefacts in the lower range.
2016-05-07 03:13:52 +02:00