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
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
Kleis Auke Wolthuizen
f6b9f382ec
Avoid using unneeded variables
2020-06-18 14:40:29 +02:00
Kleis Auke Wolthuizen
597def2f77
Remove outdated comment
2020-06-18 14:37:54 +02:00
Kleis Auke Wolthuizen
c3da8ee583
Convert the mosaicing directory to vips8
2020-06-18 14:36:46 +02:00
Kleis Auke Wolthuizen
45f9999e7e
Add vips_matrixinvert for inverting matrices
...
From im_matinv
2020-06-18 14:34:43 +02:00
Kleis Auke Wolthuizen
8a5dc95fb6
Convert the morphology directory to vips8
2020-06-18 14:29:42 +02:00
Kleis Auke Wolthuizen
8abcae3abc
Avoid using vips7 symbols
2020-06-18 14:21:43 +02:00
Kleis Auke Wolthuizen
230d2acfea
Disable IM_* environment variables when --disable-deprecated
2020-06-18 14:15:37 +02:00
Kleis Auke Wolthuizen
9e9c8e65aa
Remove x.h
...
Appears to be unused.
2020-06-18 13:52:08 +02:00
Kleis Auke Wolthuizen
21239ef796
Remove deprecated vips7 C++ generator
...
It's no longer needed after commit bae484b
.
2020-06-18 13:42:58 +02:00
John Cupitt
1f8d007d19
rename ppmsave "squash" as "bitdepth"
...
in line with the tiffsave change
2020-06-18 11:57:33 +01:00
John Cupitt
94b137d526
check return from spng_get_text()
...
it'll fail for no text elements rather than returning 0
2020-06-18 11:09:37 +01:00
John Cupitt
b7a285e84b
remove f"" from test suite to help older pythons
2020-06-18 10:10:39 +01:00
John Cupitt
3b07f72b67
revise bit packing funcs in vips2tiff
...
smaller, simpler
2020-06-17 14:28:13 +01:00
John Cupitt
19077b53ac
revise tiff2vips 1/2/4 bit load
...
simpler, faster, smaller
2020-06-17 13:59:02 +01:00
John Cupitt
99d7573ab6
add tests for 2 and 4 bit tiff
2020-06-16 21:49:07 +01:00
John Cupitt
8b469b4516
adjust formatting of 2, 4 bit tiff load/save
...
To make it libvipsey. Small fixes as well.
2020-06-16 18:58:27 +01:00
John Cupitt
63b8e162f8
Merge pull request #1672 from MathemanFlo/master
...
Added write functionality for 2 and 4 bit tiff
2020-06-16 16:18:22 +01:00
Florian Heinrich
0f0e8cb677
Fixed typo in bitdepth code
2020-06-16 16:27:11 +02:00
Florian Heinrich
00bd91a3c4
Fixed issues with bitdepth
2020-06-16 16:21:52 +02:00
John Cupitt
c307d3686f
add some more thumbnail tests
2020-06-15 14:06:16 +01:00
John Cupitt
023f4ca41b
fix thumbnail of multi-page TIFF (again)
...
The addition of subifd handling broke multipage tiff thumbnailing.
See https://github.com/libvips/pyvips/issues/192
2020-06-15 13:13:21 +01:00