John Cupitt
42b04e48de
fix doc typo
2017-07-19 14:54:13 +01:00
John Cupitt
0dd8de5450
update NYU path reference
...
since the page has gone
see https://github.com/jcupitt/libvips/issues/694
2017-07-19 13:34:22 +01:00
John Cupitt
58e0884178
formatting
2017-07-18 09:35:38 +01:00
John Cupitt
a8fb38fb6a
Merge branch '8.5'
2017-07-08 16:06:18 +01:00
John Cupitt
060bdd2cf0
fix svgload resolution again
...
use rsvg_handle_set_dpi() rather than cairo_scale() to avoid int
truncation on dimensions
see https://github.com/jcupitt/libvips/issues/688
2017-07-08 16:03:56 +01:00
John Cupitt
f3393fb89b
try to fix cli format test
...
add a threshold for svgload, librsvg seems to vary a bit between
platforms
2017-07-08 15:26:48 +01:00
John Cupitt
7408c6c9b2
fix sh part of test suite
2017-07-08 15:09:35 +01:00
John Cupitt
dad4e5b709
fix svgload test
2017-07-08 12:43:03 +01:00
John Cupitt
64fe910fc5
fix DPI mixup
...
librsvg defaulted to 90 DPI, but libvips to 72 DPI -- add a correction
factor
thanks Fosk!
see https://github.com/jcupitt/libvips/issues/688
2017-07-08 12:31:36 +01:00
John Cupitt
9a1c3f9405
rename 'disc' as 'memory'
...
the old 'disc' flag to open defaulted TRUE and disabled read via disc if you
set it FALSE, which was very confusing
replace it with a flag called 'memory' which defaults FALSE and forces
read via memory if set TRUE
'disc' is still there and still works, it's just tagged as deprecated
see https://github.com/jcupitt/libvips/issues/677
2017-07-07 09:45:49 +01:00
John Cupitt
7d98b39843
small speedup to conv
...
remove a table for a few % speedup
2017-07-02 19:25:52 +01:00
John Cupitt
91e52f3d36
oops
2017-06-28 09:32:30 +01:00
John Cupitt
61d5ba7b58
larger strip size for pdfload
...
We had 128-pixel high strips for pdfload. This kept mem use very low,
but meant many calls to page_render. For a tall page with an image
background, we could take almost an hour to render a single page as the
background was repeatedly repainted.
Change the strip height to 5000. This will render most pages in a single
call, but still allow huge images.
See https://github.com/jcupitt/libvips/issues/681
2017-06-28 09:16:06 +01:00
John Cupitt
47f35dd2f1
oop left a DEBUG on
2017-06-23 12:19:35 +01:00
John Cupitt
52daec74e4
note gcc 7.1 stuff
2017-06-20 18:34:25 +01:00
John Cupitt
91457e455a
add "page-height" save property
2017-06-19 09:31:49 +01:00
John Cupitt
882c686553
make hist_equal output format match input format
...
If the input image was ushort but had only uchar range, hist_equal would
output a uchar image, thanks to hist_norm's auto-clip feature. Make sure
this can't happen bu casting after the norm.
See https://github.com/jcupitt/libvips/issues/680
Thanks Simon Harris
2017-06-19 09:15:51 +01:00
John Cupitt
dbf7729aee
tag merge as seq
2017-06-13 14:26:41 +01:00
John Cupitt
e66891a4df
Merge branch '8.5'
2017-06-13 09:52:53 +01:00
John Cupitt
351dd67b62
trim
2017-06-13 09:52:37 +01:00
John Cupitt
1615cb41e1
remove old compat macro
...
thanks benjamin!
2017-06-13 07:31:14 +01:00
John Cupitt
5383554724
Merge branch '8.5'
2017-06-12 18:23:07 +01:00
John Cupitt
4d846534b8
transform cmyk->rgb automatically
...
if:
- we are writing a cmyk image
- there is an embedded profile
- the saver does not support cmyk
see https://github.com/jcupitt/libvips/issues/676
2017-06-12 18:19:20 +01:00
John Cupitt
6e45bd3bd6
note lua binding
2017-06-01 03:00:50 +01:00
John Cupitt
3f69762163
Merge branch 'master' of github.com:jcupitt/libvips
2017-05-29 18:59:13 +01:00
John Cupitt
cbd9fad040
fix a few more problems with input args
...
a few other operators were modifying input args and messing up caching
2017-05-29 18:58:24 +01:00
John Cupitt
175c8eb5ab
Merge pull request #668 from lovell/silence-missing-sentinel-warnings
...
Silence 'missing sentinel' warnings in GCC v6+
2017-05-29 15:02:20 +01:00
Lovell Fuller
850a28d3c3
Silence 'missing sentinel' warnings in GCC v6+
2017-05-29 14:37:53 +01:00
John Cupitt
5a26b8fc45
fix caching of vips_text()
...
it was never cached argh because the g_object_set() to set the default
value of an input param in _build changed the hah
2017-05-29 12:38:38 +01:00
John Cupitt
aeff03b951
Merge branch '8.5'
2017-05-29 10:21:02 +01:00
John Cupitt
7bcf0bb93f
don't cache thumbnail
...
thanks tomasc! see
jcupitt/ruby-vips#109
2017-05-29 10:19:21 +01:00
John Cupitt
354921df83
Merge branch '8.5'
2017-05-28 06:34:11 +01:00
John Cupitt
6a189d068b
mark vipsprofile as python2
...
Some distros have python3 as the default, so make vipsprofile explicitly
python2, thanks ioquatix.
See https://github.com/jcupitt/libvips/issues/667
2017-05-28 06:33:58 +01:00
John Cupitt
027b9ccc9c
Merge branch '8.5'
2017-05-26 09:09:33 +01:00
John Cupitt
7b64246af2
fix a couple of issues with huge profiles
...
The base64 encode limit was 1MB, but some huge profiles can get over
that, so it's now 10MB.
transform_save_string_blob() was incorrectly setting a refstring not a
blob as an error fallback, potentially leaving a dangling pointer.
Thanks Jaume!
See https://github.com/jcupitt/libvips/issues/666
2017-05-26 09:04:15 +01:00
John Cupitt
5216d75b83
Merge branch '8.5'
2017-05-19 16:16:16 +01:00
John Cupitt
5df65ec6fd
fix tiff read with page > 0
...
could break edge tiles under some circumstances
2017-05-19 16:07:36 +01:00
John Cupitt
846e4209f9
fix rounding in region shrink
...
we were not rounding int averages to nearest, thanks beaudet
see https://github.com/jcupitt/libvips/issues/659
2017-05-18 20:36:20 +01:00
John Cupitt
8c8b71d935
Merge branch '8.5'
2017-05-15 11:35:47 +01:00
John Cupitt
2b0ebb0de2
fix test suite thresholds
...
changes in jpg encode/decode mean we must adjust test suite thresholds
2017-05-15 11:21:13 +01:00
John Cupitt
620e9ebf27
missing backslash in makefile
2017-05-15 10:48:09 +01:00
John Cupitt
15853504a7
fix gtk-doc, again
2017-05-13 11:49:32 +01:00
John Cupitt
6dbdc173a2
better prefix guessing on Windows
...
see https://github.com/tumagonx/pygi-mingw-patches/issues/5
2017-05-13 11:11:32 +01:00
John Cupitt
82994e4c33
add vips_thumbnail_image()
...
thumbnail with an image source, see
https://github.com/jcupitt/libvips/issues/656
2017-05-12 18:20:37 +01:00
John Cupitt
d1ca808769
raise tiffsave tile size limit
...
see https://github.com/jcupitt/libvips/issues/655
2017-05-12 17:47:49 +01:00
John Cupitt
5c6979cdcb
Merge branch '8.5'
2017-05-12 17:25:01 +01:00
John Cupitt
942b0446a3
revise fail handling, again
...
clarify policy on file read errors and warnings:
* if the file format library reports a warning, we log it in vips, but
that's all
* if the file format library reports an error, we log it, but try to
continue
* if the file format library reports an error and fail is set, we log it
and fail
all loaders now implement this
2017-05-12 17:22:49 +01:00
John Cupitt
b6ed34d532
notes
2017-05-12 11:37:29 +01:00
John Cupitt
689b632702
better locale guess for win32
...
see
https://github.com/tumagonx/pygi-mingw-patches/blob/master/gst-plugins-base-1.4.x.patch
also
https://github.com/tumagonx/pygi-mingw-patches/issues/5
2017-05-11 19:49:29 +01:00
John Cupitt
ba129fceb3
better win32 compatibility
...
try to fold the patches @tumagonx maintains into libvips master, see:
https://github.com/tumagonx/pygi-mingw-patches/blob/master/vips-8.4.x.patch
still missing the bindtextdomain() patch though
2017-05-11 17:08:10 +01:00