John Cupitt
c2094fcd7c
relax thresh for jpegload
...
some lib jpegs have slightly different rounding behaviour
2020-04-24 19:26:17 +01:00
John Cupitt
93337f8eee
Merge pull request #1617 from kleisauke/travis-updates
...
Upgrade Python and Clang to latest version on Travis
2020-04-22 12:12:15 +01:00
John Cupitt
5229061360
fix doc error
...
Thanks MathemanFlo
see https://github.com/libvips/libvips/issues/1618
2020-04-22 11:32:21 +01:00
Kleis Auke Wolthuizen
5f7502ebf7
Upgrade Python and Clang to latest version on Travis
...
- Python 2.7 reached the end of its life on January 1st, 2020.
- The ASAN suppression parse errors seems to be fixed within Clang 10.
- Fix macOS build by updating the base 'osx_image' to 'xcode11'.
2020-04-22 09:39:23 +02:00
John Cupitt
fada5f2a44
Merge branch '8.9'
2020-04-21 10:17:57 +01:00
John Cupitt
6f0548dc5c
thumbnail could fail on HEIC in some modes
...
in locked UP or DOWN mode, vips_thumbnail() could incorrectly select the
thumbnail from a HEIC image even when it was not large enough to
generate the output image.
Thanks ZorinArsenij
See https://github.com/libvips/libvips/issues/1614
2020-04-21 10:15:02 +01:00
John Cupitt
681271e7b1
Merge branch '8.9'
2020-04-18 12:10:29 +01:00
John Cupitt
0897a77515
update changelog
2020-04-18 11:41:43 +01:00
John Cupitt
f24a4a273a
fix regression in autorot
...
we were writing the wrong image to the output, thanks malomalo
see https://github.com/libvips/ruby-vips/issues/226
2020-04-18 11:40:43 +01:00
John Cupitt
1ef3594be1
autorot was not removing the orientation tag
...
We were writing the wrong image to the output.
See https://github.com/libvips/ruby-vips/issues/226
2020-04-16 14:04:19 +01:00
John Cupitt
9ea91810bb
revise docs for _inplace
...
We call vips_image_inplace() automatically now, so there's no need for
clients to use this.
see https://github.com/libvips/libvips/issues/1610
2020-04-16 12:09:07 +01:00
John Cupitt
168db157bf
more dbg output
2020-04-15 17:21:41 +01:00
John Cupitt
8ba31844d6
fix a race in startup
...
We were creating a background thread before creating the semaphore that held
the thread. This could sometimes segv under a debugger.
2020-04-15 16:53:58 +01:00
John Cupitt
86bfadd101
better handling of unaligned tiff tile reads
...
We were not checking for alignment correctly in multi-page tiff reads.
Thanks petoor.
See: https://github.com/libvips/pyvips/issues/172
2020-04-11 14:36:44 +01:00
John Cupitt
5f6289f217
tiny reformat of CoC
2020-04-09 12:23:48 +01:00
John Cupitt
03fd516bc8
Merge branch 'master' of github.com:libvips/libvips
2020-04-09 12:21:49 +01:00
John Cupitt
051be9203f
swp int -> GType in some decls
...
Some linkers complain about these type mismatches. Thanks kloczek.
See https://github.com/libvips/libvips/issues/1604
2020-04-09 12:20:00 +01:00
Kirk Martinez
60f5589710
Rename CODE_OC_CONDUCT.md to CODE_OF_CONDUCT.md
2020-04-06 12:26:45 +01:00
Kirk Martinez
7ea9fe7829
first version of libvips code of conduct
2020-04-06 11:22:29 +01:00
John Cupitt
471ec9bcc0
fix flood fill on some complex shapes
...
could fail to paint everything sometimes
2020-04-05 12:33:55 +01:00
John Cupitt
8840bc8a14
better render init stops a race
...
when running inside some versions of gdb
2020-04-02 14:23:06 +01:00
John Cupitt
78f927e606
revide comments in cpp binding
2020-03-27 11:42:58 +00:00
John Cupitt
0d6f987976
Merge pull request #1597 from jaubourg/master
...
allow null image as source for assignment and copy constructor
2020-03-27 06:01:25 +00:00
jaubourg
28b4c918b6
allow null image as source for assignment and copy constructor: fixes #1595
2020-03-27 02:46:57 +01:00
John Cupitt
df72de89d0
Merge pull request #1596 from lovell/add-gio-to-dependencies
...
Increase minimum glib-2.0 dependency to v2.15 (released March 2012)
2020-03-26 20:35:30 +00:00
Lovell Fuller
3ca21ee2e8
Increase minimum glib-2.0 dependency to v2.15 (released March 2012)
2020-03-26 19:13:21 +00:00
John Cupitt
b52b0e3bbf
Merge pull request #1589 from kleisauke/avoid-gthread-link
...
Do not link against libgthread when GLib >= 2.32
2020-03-24 17:09:11 +00:00
John Cupitt
120a94a9e4
Merge pull request #1587 from kleisauke/avoid-cflags-sort
...
Do not reverse sort VIPS_CFLAGS
2020-03-24 17:07:26 +00:00
John Cupitt
e9c47200dc
Merge pull request #1591 from kleisauke/get-language-names
...
Only call g_get_language_names when GLib < 2.48.1
2020-03-24 17:05:49 +00:00
John Cupitt
080ecbb54e
Merge pull request #1588 from kleisauke/expat-pkgconf
...
Prefer to find expat with pkg-config
2020-03-24 17:04:22 +00:00
John Cupitt
9cf6821783
Merge pull request #1590 from kleisauke/glib-num-processors
...
Use g_get_num_processors() when GLib >= 2.48.1
2020-03-24 15:57:40 +00:00
Kleis Auke Wolthuizen
ceacd0bab9
s/count/af_count/
...
Thanks lovell!
2020-03-24 12:55:07 +01:00
Kleis Auke Wolthuizen
4911928412
Only call g_get_language_names when GLib < 2.48.1
...
The thread-safety problem was fixed in GLib 2.48.1.
See: https://bugzilla.gnome.org/show_bug.cgi?id=748474
2020-03-24 11:14:47 +01:00
Kleis Auke Wolthuizen
af21838fab
Use g_get_num_processors() when GLib >= 2.48.1
...
Also backport the patch from https://bugzilla.gnome.org/show_bug.cgi?id=748530
2020-03-24 11:11:46 +01:00
Kleis Auke Wolthuizen
e8facf66bb
Do not reverse sort VIPS_CFLAGS
...
CFLAGS="-s USE_PTHREADS=1" was sorted as "USE_PTHREADS=1 -s" resulting
in a compilation error on Emscripten.
This was introduced in c8d9ed9
to select GraphicsMagick over ImageMagick,
nowadays it's better to use --with-magickpackage=GraphicsMagick instead.
2020-03-24 11:08:52 +01:00
Kleis Auke Wolthuizen
c8230195ba
Do not link against libgthread when GLib >= 2.32
...
libglib is always thread-enabled since v2.32.
2020-03-24 11:05:19 +01:00
Kleis Auke Wolthuizen
a6d19e5c4c
Prefer to find expat with pkg-config
...
Fall back to AM_WITH_EXPAT if it could not be found.
2020-03-24 11:03:36 +01:00
John Cupitt
834234c23c
add all
smartcrop mode
...
So you can crop to fill as well as crop to fit.
see https://github.com/libvips/libvips/issues/1583
2020-03-19 18:57:40 +00:00
John Cupitt
3b57e13452
move heifsave to new target API
...
and add heifsave_target
2020-03-15 18:17:08 +00:00
John Cupitt
0badb7c603
add heifload_source
2020-03-15 11:45:56 +00:00
John Cupitt
1deada5aad
Merge branch 'master' into revise-heifload
2020-03-14 13:06:23 +00:00
John Cupitt
7710fab06c
add gio to libs and cflags
...
should fix fuzz build
2020-03-14 12:09:47 +00:00
John Cupitt
e4f9025cde
missing ABSTRACT for matrixsave
2020-03-13 17:07:54 +00:00
John Cupitt
2b78a00cfb
hist_local was missing a seq hint
2020-03-13 16:44:57 +00:00
John Cupitt
b0f3f687f2
fix up suffs on all savers
...
we were not checking that suffs was always defined
2020-03-13 13:01:15 +00:00
John Cupitt
c5c0690588
fix --without-rsvg
...
We need to add gio to packages-used if it's available.
See https://github.com/libvips/libvips/issues/1575
2020-03-13 10:04:02 +00:00
John Cupitt
44a16b90d3
csvsave_target was missings suffs
...
This now works:
vips gaussmat .csv 2 0.2
2020-03-13 08:54:15 +00:00
John Cupitt
764b196d50
move pdfload on top of source API
...
and add pdfload_source
see https://github.com/libvips/libvips/issues/1541
2020-03-11 18:15:15 +00:00
John Cupitt
d4f12a9999
move VipsGInputStream to public API
...
Since we will need it for pdfload as well.
2020-03-11 17:17:45 +00:00
John Cupitt
b689235f57
missing include in test_connections
...
Thanks brcarp.
See https://github.com/libvips/libvips/issues/1571
2020-03-11 09:11:29 +00:00