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
John Cupitt
5a37d3e809
add an intent option to thumbnail
...
"intent" lets you set the rendering intent for any ICC conversions --
the default is the (more correct) relative, but "perceptual" can look
better
see https://github.com/jcupitt/libvips/issues/714
2017-08-30 16:34:46 +01:00
John Cupitt
820c279697
Merge branch '8.5'
2017-08-30 14:59:16 +01:00
John Cupitt
653e99ea82
don't build enumtypes so often
...
we were only replacing enumtypes if it had changed, but this meant that
make usually thought it was out of date compared to the source files,
and rebuilt it, which needed perl
now we always replace it, so (hopefully) perl is no longer a
compile-time dependency
2017-08-30 14:37:48 +01:00
John Cupitt
2b70348d23
Merge branch '8.5'
2017-08-29 10:33:45 +01:00
John Cupitt
e2c83fe4bd
fix jpegload fail
...
we were only failing on libjpeg errors, but libjpeg treats very serious
things thaht we want to be able to catch (like truncated files) as warnings
... we must therefore error out if fail is set and libjpeg issues a warning
see https://github.com/lovell/sharp/issues/793
2017-08-29 09:49:38 +01:00
John Cupitt
c0bfa4e70b
fix pyr tiff write to buffer
...
now we have a test for it heh
2017-08-27 11:03:34 +01:00
John Cupitt
7cf7a6335e
Merge branch 'master' of github.com:jcupitt/libvips
2017-08-26 16:27:54 +01:00
John Cupitt
d12f8e200a
support tiffsave_buffer pyramids
...
add support for tiff pyramid save to memory, thanks bubba
see https://github.com/jcupitt/libvips/issues/702
2017-08-26 16:26:37 +01:00
John Cupitt
5eaf29afaf
Merge branch 'master' of github.com:jcupitt/libvips
2017-08-25 12:52:01 +01:00
John Cupitt
10003f3f3c
revise libjpeg new from buffer
...
in line with latest libjpeg recommendations
this fixes a segv with corrupt input found by libFuzzer and asan
2017-08-25 12:51:06 +01:00
John Cupitt
836b6c943b
Merge branch 'master' of github.com:jcupitt/libvips
2017-08-25 10:55:35 +01:00
John Cupitt
2e513eef82
enable seq mode for join
...
much faster for large TIFFs
see https://github.com/jcupitt/libvips/issues/717
2017-08-25 10:53:44 +01:00
John Cupitt
0ef01e9ca5
fix jpegload from empty buffer
...
could try to read a couple of non-existent bytes before failing ... now we
inject an EOI marker
2017-08-24 17:28:07 +01:00
John Cupitt
189c5f4762
fix a copy-paste error
2017-08-18 22:38:35 +01:00
John Cupitt
97997d1990
Merge branch '8.5'
2017-08-18 22:13:51 +01:00
John Cupitt
f2576003b7
fix webp upscale in thumbnail
...
we could try to use webp shrink on load to upscale, oops
see https://github.com/jcupitt/libvips/issues/710
2017-08-18 22:08:43 +01:00
John Cupitt
3cf33d7f32
Merge branch '8.5'
2017-08-18 12:32:12 +01:00
John Cupitt
f2c55e80fe
better dzsave with zip output to a file
...
close down output earlier to help mark-sweep bindings
2017-08-18 12:31:24 +01:00
John Cupitt
c4e8e31007
try to stop non-utf8 strings getting into metadata
...
still seems possible, strangely, investigate
2017-08-16 18:36:25 +01:00
John Cupitt
279c1ef55f
make test text pass if text is missing
2017-08-11 09:31:01 +01:00
John Cupitt
7134c64836
notes
2017-08-11 09:23:59 +01:00
John Cupitt
a59b9e6c7e
Merge pull request #706 from astavale/add-c-header-to-gir
...
Add C header to GIR file
2017-08-08 16:58:08 +02:00
Alistair Thomas
4db3983a43
Add C header to GIR file
2017-08-08 10:51:14 +01:00
John Cupitt
63550280a4
Merge branch '8.5'
2017-08-04 18:31:25 +01:00
John Cupitt
47a763209a
hide warnings if VIPS_WARNING is defined
...
If VIPS_WARNING is defined, suppress all warning messages from vips by
installing a null log handler.
Libraries should not call g_log_set_handler(), it is supposed to be for
the application layer, but this can be awkward to set up if you are using
libvips from something like Ruby.
This env var hack is a workaround.
see https://github.com/jcupitt/ruby-vips/issues/119
see https://github.com/jcupitt/libvips/issues/544
2017-08-04 18:01:19 +01:00
John Cupitt
3a29cea09f
turn off some debug messages
2017-08-04 17:40:02 +01:00
John Cupitt
e46a56e137
remove lcms1 support
...
it had bitrotted and no longer worked properly
2017-08-02 13:39:28 +01:00
John Cupitt
6343e03305
oops, missed a ====
2017-08-02 12:07:41 +01:00
John Cupitt
302f4f2517
Merge branch '8.5'
2017-08-02 11:05:39 +01:00
John Cupitt
7c8bcff110
heh oops try again
2017-08-02 10:56:34 +01:00
John Cupitt
58f9757467
fix transparency detection in merge
...
a typo meant we were just testing the first band for zero, not all three
thanks Haida!
2017-08-02 10:41:10 +01:00
John Cupitt
a3b226aa9b
version bump
2017-08-02 10:40:17 +01:00
John Cupitt
6e89ac4850
oops, forgot something
2017-07-29 11:05:29 +01:00
John Cupitt
639b0f5021
Merge branch '8.5'
2017-07-29 10:40:44 +01:00
John Cupitt
69f70a7e24
Merge branch '8.5' into tweak-smartcrop-8.5
2017-07-28 18:04:23 +01:00
John Cupitt
9c1af2289c
doc update
2017-07-26 16:45:55 +01:00
John Cupitt
2a9c522de8
Merge branch 'master' into add-find-trim
2017-07-26 16:45:27 +01:00
John Cupitt
999dfb2870
fix Windows build
2017-07-26 16:45:04 +01:00
John Cupitt
18595ca0dd
find_trim works for all bg images
...
width/height == 0 if whole image is bg
2017-07-26 15:13:12 +01:00
John Cupitt
34970d0cf2
remove some casts
...
and use VIPS_AREA instead
2017-07-26 14:57:27 +01:00
John Cupitt
254e6a8b2a
flatten alpha, bg default adjusts
...
bg default adjusts to image type, thanks Kleis
2017-07-26 14:56:28 +01:00
John Cupitt
6359c92c01
polish, add test for find_trim
2017-07-26 10:43:28 +01:00
John Cupitt
effc1d53d0
works
2017-07-25 19:00:21 +01:00
John Cupitt
1e7541bfb8
add find_trim
...
compiles, not yet working
2017-07-25 14:52:45 +01:00
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