John Cupitt
ecba43c21c
try with meson 0.53
...
since github workflow meson is rather old
2022-02-18 10:21:26 +00:00
John Cupitt
f573dc47e3
ci fix
2022-02-18 10:05:04 +00:00
John Cupitt
aea262f6f6
try to move CI to meson
2022-02-18 10:01:13 +00:00
John Cupitt
dc069f8892
ooop typo
2022-02-18 09:53:40 +00:00
John Cupitt
240b10ba71
update dependency list in README
2022-02-18 09:45:54 +00:00
John Cupitt
01a9947006
remove atexit use
...
too unreliable to be useful
2022-02-17 14:30:02 +00:00
John Cupitt
f6dafd6fc6
update changelog for intospection fixes
...
and default on, since there are now so few warnings
2022-02-15 10:59:11 +00:00
Corentin Noël
69bf2be12b
Enhance the introspection support by fixing annotations ( #2657 )
...
Also refine the .metadata file
2022-02-15 10:54:40 +00:00
John Cupitt
82a8df2a1f
fix some more small introspection warnings
2022-02-15 10:10:21 +00:00
John Cupitt
f9895d1169
Merge branch 'master' of github.com:libvips/libvips
2022-02-15 10:09:02 +00:00
John Cupitt
362adae8c6
Revert "Enhance the introspection support by fixing annotations ( #2655 )" ( #2656 )
...
This reverts commit 47796dcda0
.
2022-02-15 10:08:07 +00:00
John Cupitt
cd86d05b12
Merge branch 'master' of github.com:libvips/libvips
2022-02-15 10:07:33 +00:00
John Cupitt
45ad07b2c2
fix a couple more warnings
2022-02-15 10:07:13 +00:00
Corentin Noël
47796dcda0
Enhance the introspection support by fixing annotations ( #2655 )
...
* Ensure that double asterisk characters are only used for gtk-doc comments
This triggers warnings when parsing the files with the introspection scanner
and gtk-doc
* Enhance the introspection support by fixing annotations
Also refine the .metadata file
Co-authored-by: John Cupitt <jcupitt@gmail.com>
2022-02-15 09:54:32 +00:00
John Cupitt
257d84108e
fix some more introspection warnings
2022-02-15 09:48:01 +00:00
Corentin Noël
542dd06999
Refine header inclusion to allow better introspection generation ( #2654 )
...
The headers need to be self-contained for the introspection parser
to work correctly. The entry for external users remains vips/vips.h
2022-02-15 05:02:07 +00:00
John Cupitt
1862e7209e
add spngsave to meson build
2022-02-11 16:43:02 +00:00
John Cupitt
896cad6a7a
Add spngsave ( #2536 )
...
* quick hack
won't even compile
* works!
at a basic level, anyway
* start wiring up metadata
* metadata done
* add spng interlaced save
* start adding index support
* fix palette save
* Update libvips/foreign/spngsave.c
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
* start adding low bit depth write
* add a warning for low bitdepth write
* small fixes
* add 1/2/4 bit write
adapted from the vips2tiff bit packer
* small polish
* note spngsave in changelog
* Update libvips/foreign/spngsave.c
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
* Update libvips/foreign/spngsave.c
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
* revise 8 and 16-bit PNG write rules
* cleanup
* remove unnecessary palette filter optimisation
since libspng already does this
* add xres/yres rounding
thanks klies
he commit message for your changes. Lines starting
* look for spng.pc and libspng.pc
It can be called either, frustratingly.
* fix PACKAGES_USED for spng .pc changes
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
2022-02-11 16:30:23 +00:00
John Cupitt
7731abe8df
revise meson notes again
2022-02-10 08:42:17 +00:00
John Cupitt
68e65bdc0f
switch to c_std gnu99
...
since this is what glib uses
2022-02-09 09:31:13 +00:00
John Cupitt
626f9eaabd
revise meson notes again
2022-02-09 08:57:58 +00:00
John Cupitt
7be11a1fd7
add support for -Dmagick-package
...
so meson can now build against graphicsmagick
2022-02-09 08:45:32 +00:00
John Cupitt
e1f4fb3198
revise meson notes in README
2022-02-08 18:28:35 +00:00
John Cupitt
298c665d36
update README for meson
2022-02-08 16:04:51 +00:00
John Cupitt
17aa0de325
credit meson build in changelog
...
see https://github.com/libvips/libvips/pull/2637
2022-02-08 15:20:49 +00:00
Corentin Noël
02901436d4
Add meson build system ( #2637 )
...
Allows to use the Meson build system to build the project.
2022-02-08 15:19:36 +00:00
John Cupitt
0d8056b8c5
fix a few small compiler warnings
2022-02-03 14:28:22 +00:00
John Cupitt
8c668303f8
improve the pixel rng
...
see https://github.com/libvips/libvips/issues/2642
2022-02-02 18:15:26 +00:00
John Cupitt
d9c00eb5ca
add password fielf to pdfiumload
...
and docs
2022-01-28 13:32:13 +00:00
John Cupitt
cb78b1b9fb
add "password" option to pdfload
...
loads at least AES128-encrypted PDFs
pdfiumload needs a similar feature
see https://github.com/libvips/libvips/issues/2635
2022-01-28 13:25:46 +00:00
John Cupitt
0a7e96a4e2
Merge branch '8.12'
2022-01-28 08:51:27 +00:00
John Cupitt
68a8bf42a7
better arg checking for hist_find_ndim
...
we were not checking the number of input bands
move checks to _build
thanks travisbell
see https://github.com/libvips/libvips/issues/2634
2022-01-28 08:47:30 +00:00
John Cupitt
535657a203
Merge branch '8.12'
2022-01-24 12:12:57 +00:00
John Cupitt
5c249e0e8e
note pipe read fix in changelog
2022-01-24 12:12:32 +00:00
John Cupitt
646f2d7fd7
Fix read from pipe with variable chunk sizes
...
free the header cache only once it's exhausted
2022-01-24 12:12:03 +00:00
John Cupitt
260b2ddf92
Fix read from pipe with variable chunk sizes
...
free the header cache only once it's exhausted
2022-01-24 11:27:22 +00:00
John Cupitt
cfa7f03278
Merge branch '8.12'
2022-01-18 18:23:20 +00:00
John Cupitt
774c969d43
fix GIF save change detector
...
We were only using the top 25% of the frame for GIF pallette change
detection.
Thanks TheEssem
See: https://github.com/libvips/libvips/issues/2622
2022-01-18 18:15:38 +00:00
John Cupitt
f01c9fcd91
add missing header to _sources
...
thanks Kleis
2022-01-18 16:15:26 +00:00
John Cupitt
545933255e
note jp2k load just in changelog
2022-01-18 12:30:06 +00:00
John Cupitt
1496984a7a
add jp2k load left-justification
...
We were loading 12-bit images as 0-4095 pixels, which then looked very
dark as RGB16. This patch left-justifies bits to fill 0-55, 0-65535 etc.
as required.
2022-01-17 14:18:59 +00:00
John Cupitt
ce54b4e5ad
Merge branch '8.12'
2022-01-13 11:47:53 +00:00
John Cupitt
6b475c92a2
raise linpng size limit
...
By default libpng is limited to 1m pixels per axis. Raise this to
VIPS_MAX_COORD, ie. 10m pixels.
2022-01-13 11:44:28 +00:00
John Cupitt
56a7916e80
remove stray error messages
2022-01-09 12:20:25 +00:00
John Cupitt
c278f9019d
Merge branch '8.12'
2022-01-01 00:29:26 +00:00
John Cupitt
f75b3c1ee9
adjust GIF alpha threshold
...
see https://github.com/libvips/libvips/discussions/2604
2021-12-31 20:20:56 +00:00
John Cupitt
eb906f182d
Merge branch '8.12'
2021-12-22 10:26:57 +00:00
John Cupitt
d3f77e4433
add a sniffer for TTF
...
since TTF files can be caught by the almost unfixably overgenerous TGA sniffer
see https://github.com/libvips/php-vips/issues/127
2021-12-22 10:25:52 +00:00
Joel Larsson
93ff76ce53
Fix documentation typo ( #2591 )
...
A small typo fix on the documenation of `vips_percent`
2021-12-21 14:54:02 +00:00
Joel Larsson
1ed0e177bb
Fix documentation typo ( #2591 )
...
A small typo fix on the documenation of `vips_percent`
2021-12-21 14:53:14 +00:00