John Cupitt
70a83a273d
fix with older glib
2019-10-28 07:36:19 +00:00
Benjamin Gilbert
8733743642
configure.ac: drop --enable-pyvips8 option
...
It doesn't do anything either.
2019-09-01 02:26:34 -04:00
Benjamin Gilbert
b3bbf47a46
configure.ac: drop --enable-cpp7 option
...
It's no longer connected to anything.
2019-08-31 14:29:09 -04:00
John Cupitt
6510e1ff30
hide a gcc warning
...
gcc has an "unknown pragma" warning which triggers for clang pragmas we need to hide clang compiler warnings (!!)
2019-08-16 13:24:25 +01:00
DarthSim
c7e0c073ca
Add optimize_gif_frames
and optimize_gif_transparency
options to vips_magicksave
2019-08-08 02:52:54 +06:00
John Cupitt
7250b169d4
Merge branch '8.8'
2019-08-07 16:19:23 +01:00
John Cupitt
f36927e78d
fix build against graphicsmagick
...
- add tests for more features missing in GM
- simplify the IM/GM configure tests
- revise the test suite to pass with GM and IM
2019-08-07 16:17:27 +01:00
John Cupitt
fb92783659
musl is now 128kb, so make the comment vague
...
36676c59fc (commitcomment-34589167)
2019-08-06 15:53:38 +01:00
John Cupitt
36676c59fc
small polish to pthread discovery
...
- use AC_CHECK_FUNC() not AC_CHECK_FUNCS()
- safer names for save vars
2019-08-06 14:56:05 +01:00
John Cupitt
bdc61d5675
layout
2019-08-05 13:53:00 +01:00
John Cupitt
0d2c14c967
try to improve pthread discovery
...
we were not using all the flags we should when testing for
pthread_setattr_default_np() ... place the test line after GTHREAD and
use those flags for linking
see https://github.com/libvips/libvips/issues/1384
thanks elfring
2019-08-05 13:35:47 +01:00
Oscar Mira
3ea72c286e
improve fuzz targets and oss-fuzz integration
...
It replaces current fuzz setup with 5 new fuzzers integrating them with
top-level Makefile. It now supports multiple fuzzing engines and Google's
oss-fuzz. By default, the fuzzers are linked against an standalone runner to
easily reproduce bugs.
2019-07-15 14:02:27 +02:00
John Cupitt
5e2d66d14b
better early shutdown behaviour in shrinkv
...
read the tail of the input to force early shutdown in seq readers
does reducev need something similar?
see https://github.com/kleisauke/net-vips/issues/12
2019-07-09 16:58:30 +01:00
John Cupitt
52ee3b083f
add webp and zstd support to tiffsave
...
needs some tests still
2019-07-08 10:39:44 +01:00
Przemysław Sobala
1c30a8567c
[webp] Use well documented use_sharp_yuv option instead of preprocessing
2019-07-05 13:14:32 +02:00
John Cupitt
c5147afdcd
require 2.40.3 to get unlimited flag
2019-06-29 14:55:47 +01:00
John Cupitt
260f3284ff
require librsvg >= 2.40
...
we need the UNLIMITED open API
2019-06-28 18:49:10 +01:00
John Cupitt
17c7a78c1b
version bump for libvips 8.9
2019-06-20 11:39:04 +01:00
John Cupitt
8a98bea063
fix vipsthumbnail for pyr tiff files
...
thumbnail was not testing pyramidal tiff images for pyramidness correctly.
see https://github.com/libvips/libvips/issues/1297
2019-06-19 17:56:09 +01:00
John Cupitt
5855321638
improve realpath() compat on older libc
...
older libc didn't allow a NULL for the second param
2019-05-24 15:24:18 +01:00
John Cupitt
a02229245e
tidy up conditionals a bit
2019-05-10 16:43:17 +01:00
John Cupitt
b2ad9f9df8
better compat with older libheif
...
We were looking for "yes" from the builtin_h265_decoder variable to
enable heifload, but this variable was only added in libheif 1.3, so we
failed to turn on heifload correctly.
We now look for not "no", ie. default on.
See https://github.com/libvips/build-win64/pull/26#issuecomment-490854408
2019-05-10 12:59:24 +01:00
John Cupitt
3e60e816ed
split heifload / heifsave
...
test for libheif supporting decode and encode, and turn heifload and
heifsave on and off
2019-05-08 21:13:00 +01:00
John Cupitt
36bd9dfe4a
Merge pull request #1291 from abdollar/set_stack_size_linux
...
provide an option to set the default stack size on linux
2019-04-20 11:29:05 +01:00
John Cupitt
ee854d43c4
add configure test for png_set_chunk_malloc_max
2019-04-20 06:07:18 +01:00
Abdul Chaudhry
25bfad1306
provide an option to set the default stack size on linux
2019-04-19 08:59:45 -07:00
John Cupitt
c351c665a1
more fixups from the vips7 removal
2019-04-14 12:48:02 +01:00
John Cupitt
bae484ba2c
remove old c++ and py interfaces
...
Instead, use the new(er) vips8 C++ interface, and the new(er) python
interface in pypi.
https://pypi.org/project/pyvips
2019-04-12 16:27:28 +01:00
John Cupitt
af0dc5265f
use glib's b64 encode/decode, if available
...
see https://github.com/libvips/libvips/issues/1263
2019-03-20 13:51:41 +00:00
John Cupitt
e14ae48a67
fix heifsave on ubuntu 18.04
2019-03-14 13:33:11 +00:00
John Cupitt
928fff5168
try to fix heifload for ubuntu 18.04
2019-03-14 13:04:26 +00:00
John Cupitt
533ddbc8b3
libheif autorotate is back
...
Using the new heif_image_handle_get_ispe_width() to fetch the untransformed
dimensions.
See:
https://github.com/strukturag/libheif/issues/106#issuecomment-459766087
https://github.com/libvips/libvips/issues/1247
2019-03-06 20:32:34 +00:00
John Cupitt
cae57d5670
make heif load/save work with 1.3.2
2019-02-20 12:30:12 +00:00
John Cupitt
1a83605238
Merge branch 'add-heifload'
2019-02-17 17:11:14 +00:00
John Cupitt
90fef08ee0
start adding xmp/icc/exif/etc. for IM
...
needs to work for im6, im7 and gm, and it's not quite there yet :(
2019-02-06 16:39:14 +00:00
DarthSim
cd1560c1cb
vips_magicksave for GraphicsMagick
2019-02-06 00:07:30 +06:00
John Cupitt
8d5af9fe8a
add xmp/ipct/icc etc. to magickload
...
ImageMagick supports binary metadata with `ResetImageProfileIterator()`
etc.
Implementing support gives us xmp / ipct / icc support, plus perhaps
some others.
2019-02-04 17:54:57 +00:00
John Cupitt
33fd2a48f0
basic load works
...
no metadata, no options
2019-01-20 11:33:12 +00:00
John Cupitt
87062c4a4f
Merge branch '8.7'
2019-01-04 09:19:04 +00:00
John Cupitt
1619c8b1a1
fix memleak in magick6load
...
IM ExceptionInfo were not being freed correctly. This patch
adds a small wrapper function and uses it to allocate and free all IM
exception objects.
Tested with im 6.9 and gm 1.3.
See:
https://github.com/libvips/lua-vips/issues/24
https://github.com/libvips/libvips/issues/1203
2019-01-04 08:38:58 +00:00
John Cupitt
25aed749e3
start hacking in a CMYK->XYZ import
...
plus an embedded cmyk profile as a fallback
2018-12-21 18:05:40 +00:00
John Cupitt
582b224125
oops revert version bump
2018-12-17 13:20:14 +00:00
John Cupitt
db4fe60405
fix mapim offsets
...
pixels were not being offset by the stencil origin, so interpolators
like bicubic could fail
thanks @erdmann
https://github.com/libvips/libvips/issues/1180
2018-12-17 12:42:34 +00:00
John Cupitt
596794c05a
improve pdfium linking
2018-12-12 17:24:49 +00:00
John Cupitt
0dccfc87b6
Merge branch '8.7'
2018-12-07 14:30:00 +00:00
John Cupitt
da31d0f31a
fix autofit loop on non-scaleable fonts
...
see https://github.com/libvips/libvips/issues/1178
2018-12-07 12:57:44 +00:00
John Cupitt
d4815e8b7e
more info output for tmpfile open
...
to help diagnose problems
2018-11-21 14:26:52 +00:00
John Cupitt
801a2a7144
added anim write
...
compiles, but untested
2018-10-31 16:49:41 +00:00
John Cupitt
703498aa81
Merge branch '8.7'
2018-10-01 21:23:48 +01:00
John Cupitt
0fea113bbf
fix build on older glibs
...
we were using g_str_to_ascii(), but it was only added in glib 2.40
see https://github.com/libvips/libvips/issues/1117
2018-10-01 20:15:34 +01:00