Kleis Auke Wolthuizen
0337c09700
Cleanup gettext handling ( #2695 )
...
Use GLib's i18n support instead of copying and pasting that
logic into its own header. This deprecates the vips/intl.h
header in favour of glib/gi18n.h.
2022-02-27 15:27:28 +00:00
John Cupitt
82a8df2a1f
fix some more small introspection warnings
2022-02-15 10:10:21 +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
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
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
fc17a79767
split into switch/case
...
A neater solution! In Python it should be something like:
merge = pyvips.Image.switch([tests]).case([cases])
and should be efficient
2019-08-17 14:51:55 +01:00
John Cupitt
ff8a1a2c6f
LOW and NONE mean the same
...
small code simplification and cleanup, add docs
2018-09-22 16:21:04 +01:00
John Cupitt
cc29a13cc7
revise composite position code slightly
...
- move x/y into composite and out of composite base, have separate x/y int
params for composite2
- upsize later for a small speed improvement
- doc comment
- note in changelog
see https://github.com/jcupitt/libvips/pull/934
2018-06-11 17:04:29 +01:00
John Cupitt
e496df598b
working!
2018-05-01 15:50:48 +01:00
John Cupitt
697c174bcd
more doc fixes
2017-12-04 15:34:31 +00:00
John Cupitt
dcf8588b97
notes for blend mode members
2017-12-04 14:26:55 +00:00
John Cupitt
c5139a0e50
doc fixups
...
various small things; fix the docs for composite, reduceh and reducev
2017-12-04 13:42:31 +00:00
John Cupitt
14fd2af396
add composite2 class
...
so we have a nice CLI interface to the new operator
2017-11-30 12:47:56 +00:00
John Cupitt
40f20e5e0a
Merge branch 'master' into gargsms-text-autofit
2017-10-10 13:04:31 +01:00
John Cupitt
7c7c30a601
works!
...
but only OVER mode at the moment, and it's not especially quick
2017-09-27 08:58:36 +01:00
John Cupitt
64be1d89b5
add gravity
2017-09-20 00:43:17 +01:00
John Cupitt
9eab57c31d
Merge branch 'master' into add-smartcrop
2017-03-08 17:17:16 +00:00
John Cupitt
9e6832b34d
add --smartcrop to vipsthumbnail
...
does the obvious thing
2017-03-08 14:31:00 +00:00
John Cupitt
205fb817e8
change three C API funcs to match Python/C++/CLI
...
vips_math2_const(), vips_boolean_const() and vips_relational_const() had
the const and oper args reversed from the Python/CLI/C++ API
add something to check for arg priority conflicts and resolve the
conflicts it found
2017-03-07 14:28:31 +00:00
John Cupitt
d40773515c
add smartcrop
2017-03-01 15:41:26 +00:00
John Cupitt
6e9834e623
add vips_arrayjoin()
2015-12-11 15:14:08 +00:00
John Cupitt
9cb2674a77
now works woo
...
python interface plus test and benchmark to go
update c++ too I guess
oh docs as well sigh
2015-11-07 18:47:02 +00:00
John Cupitt
e9720afb18
add vips_bandfold()/vips_bandunfold()
...
was part of vips_copy(), but it was very ugly there
2015-06-05 14:52:05 +01:00
John Cupitt
dbd852211e
move bytw swapping out to vips_byteswap()
...
it was an option to vips_copy(), ugly!
2015-06-05 13:56:26 +01:00
John Cupitt
472bf7dbc3
add vips_unpremultiply()
2015-05-08 10:26:23 +01:00
John Cupitt
66c51b7d23
add an experimental premultiply operation
2015-05-07 23:42:02 +01:00
John Cupitt
ad86f45cd9
add autorot as an operator as well
2014-10-19 10:35:10 +01:00
John Cupitt
d9ee892077
conversion tests done
2014-09-29 21:40:08 +01:00
John Cupitt
154796a8dc
rename VIPS_ANGLE_0 as VIPS_ANGLE_D0
...
and other similar cases
VIPS_ANGLE_0 becomes Vips.Angle.0 in Python, which is very inconvenient, so we
rename ... the D stands for degrees, I think
2014-09-29 13:56:55 +01:00
John Cupitt
32a8fe117e
start working on --disable-deprecated
...
need to move im_conv() etc to classes to finish this
2014-07-25 18:06:52 +01:00
John Cupitt
bc0c4f60d6
oops fix build
2013-11-11 17:38:34 +00:00
John Cupitt
b1f01af01b
add vips_crop()
...
a synonym for vips_extract_area()
2013-11-11 14:31:41 +00:00
John Cupitt
2720026a61
redo im_rank_image() as a class
2013-10-23 14:54:22 +01:00
John Cupitt
67dff74b2c
rot45 works
2013-10-19 18:26:46 +01:00
John Cupitt
440b800e0e
add a new unbuffered seq mode
...
things like
vips copy huge.png x.v
now run with only a small line cache
2013-09-29 11:04:11 +01:00
John Cupitt
9b6f96ed41
redo falsecolour, gammacorrect as classes
2013-08-02 09:41:11 +01:00
John Cupitt
2fd2fd58f7
fix up gtk-doc
...
fix various problems:
- out of date IGNORE in doc/reference/Makefile.am
- name clashes between private .h and public
2013-06-17 20:16:20 +01:00
John Cupitt
4436e370c7
make a "create" package
...
the old "other" package, plus move some of conversion in there
2013-06-13 10:12:22 +01:00
John Cupitt
84f3fa5b19
move conver_disp to deprecated
2013-06-13 09:36:04 +01:00
John Cupitt
86f3d2b083
add vips_xyz()
2013-06-12 14:51:43 +01:00
John Cupitt
dfd09a0285
redo im_text() as a class
2013-06-03 14:37:55 +01:00
John Cupitt
27b7332a60
im_msb() -> class
...
and some cleanups
add a --band option
2013-06-03 10:26:09 +01:00
John Cupitt
738fe3aeaf
redo subsample as a class
2013-06-01 21:31:45 +01:00
John Cupitt
0bbc1b20d6
im_zoom() -> class
2013-06-01 10:56:16 +01:00
John Cupitt
236b8b99ad
redo im_wrap() as a class
...
incorporate im_rotquad() as an option too
2013-05-31 18:12:39 +01:00
John Cupitt
4311d452f1
redo im_scale() as a class
2013-05-30 16:29:58 +01:00
John Cupitt
e0951c223b
redo im_grid() as a class
2013-05-30 15:52:36 +01:00
John Cupitt
62b52ed624
gaussnoise redone as a class
2013-05-29 12:21:30 +01:00
Benjamin Gilbert
8cc76a6ba3
Update address for Free Software Foundation
...
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt
3dc10831c1
added vips_bandbool()
2012-12-07 11:17:09 +00:00