Commit Graph

6901 Commits

Author SHA1 Message Date
John Cupitt
ad16b87a75 add LT_INIT 2020-07-10 17:34:40 +01:00
John Cupitt
84d0d5a7a3
Merge pull request #1708 from kleisauke/out-of-source
Fix out-of-source build issues
2020-07-10 17:19:03 +01:00
John Cupitt
97eb2e53bd missing copy-memory during thumbnail rotation
see https://github.com/libvips/libvips/issues/1704#issuecomment-655691041
2020-07-09 07:08:49 +01:00
Kleis Auke Wolthuizen
b84e87b6d2 Improve --vips-config output 2020-07-07 13:57:25 +02:00
Kleis Auke Wolthuizen
e91997052b Out-of-source support for autogen.sh 2020-07-07 12:16:43 +02:00
Kleis Auke Wolthuizen
fb61f0fa44 Define ENABLE_DEPRECATED in config.h
Do not check for VIPS_ENABLE_DEPRECATED as it could
come from an earlier version of libvips.
2020-07-07 12:16:43 +02:00
Kleis Auke Wolthuizen
6329d35048 Out-of-source support for configure
+ some small cleanups.
2020-07-07 12:16:40 +02:00
John Cupitt
c51dc9cd90
Merge pull request #1706 from sherifabdlnaby/master
Add Issue Templates with Auto Labeling
2020-07-06 23:00:46 +01:00
Kleis Auke Wolthuizen
42a7c9736b Update IGNORE_VIPS_C list 2020-07-06 21:32:41 +02:00
Kleis Auke Wolthuizen
cd948d86f6 Modernise autogen.sh
Based on: https://wiki.gnome.org/Projects/GnomeCommon/Migration#autogen.sh
2020-07-06 21:32:41 +02:00
Kleis Auke Wolthuizen
402f8918b7 Do not distribute version.h within the tarball
It is automatically generated during the build process.
2020-07-06 21:32:00 +02:00
Sherif Abdel-Naby
d8db91845d Add Issue Templates with Auto Labeling 2020-07-06 17:45:52 +02:00
John Cupitt
105e56939a update cplusplus API for 8.10 2020-07-05 22:38:08 +01:00
John Cupitt
5117c1a980 remove mode_t from headers
it seems to fail with MSVC.

int works fine, and is what g_open() uses.
2020-07-04 18:28:44 +01:00
John Cupitt
e5bde64b03 revise gifload again
final polish, hopefully
2020-07-03 13:31:00 +01:00
John Cupitt
7c2c152a74 note wasm patch in changelog 2020-07-03 02:21:16 +01:00
John Cupitt
e728e5638d
Merge pull request #1697 from kleisauke/wasm-function-pointers
Support for use in WASM environments (#192)
2020-07-03 02:09:39 +01:00
John Cupitt
b27fc73ac7
Merge pull request #1699 from lovell/webp-anim-allow-mixed
Further reduce animated WebP image size by ~5% when min_size is set
2020-07-03 00:17:34 +01:00
John Cupitt
5789ac905d revise DISPOSE_PREVIOUS, again
Perhaps it now works :(

See https://github.com/libvips/libvips/issues/1649
2020-07-02 17:41:40 +01:00
John Cupitt
e4d38d1d3e clip out of bounds GIF images against the canvas
Some malformed GIFs have images which lie outside or partly outside the canvas.
With this patch, these frames are clipped and rendered.

Previously, these GIFs were rejected.

See https://github.com/libvips/libvips/issues/1701
2020-07-02 16:41:37 +01:00
John Cupitt
207d40f640 better leak test output 2020-07-02 14:15:58 +01:00
John Cupitt
3c071a8ebb more the rest of mosaicing into private API
chkpair, lr|tbmosaic, etc.
2020-07-02 12:35:37 +01:00
John Cupitt
0803de07e7 move vips__lr|tbmerge to private API 2020-07-01 17:31:25 +01:00
Lovell Fuller
41961f138a webpsave: when minimising the size of an animated WebP image,
allow the encoder to evaluate and mix lossy+lossless frames,
which minimises the size of the file by a further ~5%.

See f29bf582df
2020-06-30 20:00:42 +01:00
Kleis Auke Wolthuizen
9246094033 Fix function pointer cast issues
It is undefined behavior in C and C++ to cast a function pointer
to another type and call it that way. This does work in most native
platforms, however, despite it being UB, but in WASM it can fail.

See:
https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
2020-06-30 13:35:41 +02:00
John Cupitt
8dcf3bca57 move vips_lrmerge() etc. out of the public API 2020-06-30 12:32:07 +01:00
John Cupitt
15e44f731f add spng in there twice 2020-06-30 11:31:33 +01:00
John Cupitt
2b2fabcd3b vipsheader allows stdin as a filename
```
$ cat k2.jpg | vipsheader stdin
1450x2048 uchar, 3 bands, srgb, jpegload_source
```

See https://github.com/libvips/libvips/issues/1594
2020-06-29 12:06:34 +01:00
John Cupitt
e1a4b98be9
Merge pull request #1695 from randy408/revert-1694-spng_include
Revert "Update include path for libspng"
2020-06-28 15:02:21 +01:00
John Cupitt
e7988f88ac move matrixinvert init to mosaicing
and regen potfiles
2020-06-28 14:01:43 +01:00
Randy
810e5865f5
Revert "Update include path for libspng" 2020-06-28 13:44:22 +02:00
John Cupitt
5540fa97f4 small cleanups for disable deprecated
- move matrixinvert to mosaicing, fix a leak
- add note to changelog
- small fixes

see https://github.com/libvips/libvips/pull/1593
2020-06-28 12:14:13 +01:00
John Cupitt
e3a500204a
Merge pull request #1593 from kleisauke/disable-deprecated
Fix for --disable-deprecated (#1273)
2020-06-28 11:07:56 +01:00
John Cupitt
90e61a816b ... note change in ChangeLog
see https://github.com/libvips/libvips/issues/1585
2020-06-28 09:53:49 +01:00
John Cupitt
aba15122d5 reduce default cache size
Now 100 operations by default.
2020-06-28 09:52:58 +01:00
John Cupitt
d831ad34d5 add ppm load/save to a connection
plus some more tests
2020-06-27 15:23:18 +01:00
John Cupitt
c9af99c2f7 add CMYK as a compositing space
might work!
2020-06-27 12:08:25 +01:00
John Cupitt
3428767a46 fix matrix and csv source load
see https://github.com/libvips/libvips/issues/1541#issuecomment-649766008
2020-06-25 23:03:03 +01:00
John Cupitt
4bf27acccb add 1/2/4 bit PNG save
- new @bitdepth param
- deprecate @colours param
2020-06-25 10:40:43 +01:00
John Cupitt
31184ddb57
Merge pull request #1694 from randy408/spng_include
Update include path for libspng
2020-06-24 21:25:36 +01:00
Randy
1128401d3a
Update spngload.c 2020-06-24 17:10:26 +02:00
John Cupitt
273ff003de set xres/yres in openslideload
we were not reading out the mpp-x/mpp-y fields

see https://github.com/libvips/libvips/issues/1691
2020-06-22 11:50:14 +01:00
John Cupitt
e129dfc27a fix TIFFReadScanline() call
We were passing in 0 instead of -1, which could trigger an assert in
libtiff with some logluv images.

Also, fix logluv decode. We were not always resetting the decode format.
2020-06-21 12:17:05 +01:00
John Cupitt
c0daa8ffd2 add spngload minimise support 2020-06-18 15:13:37 +01:00
John Cupitt
b2feb4805f fix flush of left-over bits
we were not adjusting for pixel size, thanks MathemanFlo

see https://github.com/libvips/libvips/pull/1672#issuecomment-644807739
2020-06-18 14:54:09 +01:00
Kleis Auke Wolthuizen
3836492a98 Regenerate POTFILES.in 2020-06-18 14:49:00 +02:00
Kleis Auke Wolthuizen
e5323b070b Update C++ binding and function list 2020-06-18 14:45:14 +02:00
Kleis Auke Wolthuizen
d67eca7b8a Compile with --disable-deprecated on Travis 2020-06-18 14:43:26 +02:00
Kleis Auke Wolthuizen
541e58610b Add unit test for vips_mosaic / vips_globalbalance 2020-06-18 14:42:55 +02:00
Kleis Auke Wolthuizen
4b5db786f0 Add unit test for vips_matrixinvert 2020-06-18 14:41:03 +02:00