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
Alistair Thomas
9303ee2511
Update GObject introspection annotations for /libvips/arithmetic directory
2017-09-20 10:36:21 +01:00
John Cupitt
34970d0cf2
remove some casts
...
and use VIPS_AREA instead
2017-07-26 14:57:27 +01:00
John Cupitt
7136053451
sort max/min results by y and x coordinate
...
previously the list of maxima or minima found by max/min were in found
order, so essentially random
they now sort equal values by y then x coordinate, so the results are
consistent between runs, provided there are fewer maxima / minima than
are being tracked
2017-01-24 14:25:15 +00:00
John Cupitt
fb544e3f25
add note about non-determinism in stats
...
added a note to the docs for max/min/stats about non-determinism in the
results if there are many maxima/minima
thanks Mark
2017-01-24 12:14:55 +00:00
John Cupitt
1ae92bb15f
make optional args into bullets
...
make docs easier to read
2016-05-02 10:12:37 +01:00
John Cupitt
07a1903390
use g_assert_not_reached()
...
we were using g_assert(0) ... g_assert_not_reached() makes the
intention clearer
2016-01-24 13:21:53 +00:00
Lovell Fuller
90c1fb9a94
Use gcc/clang isnan and isinf builtin functions where available.
...
These are used heavily in the building of look-up tables at
start-up time and therefore improve vipsthumbnail perf by ~4%.
2016-01-20 19:02:14 +00:00
John Cupitt
1504ca7cdc
have a more formal max image dimension
...
we now have VIPS_MAX_COORD for maximum image dimension, set to 10m
pixels ... we could go up to 2bn, but 10m seems a reasonable max, at
least for now
see https://github.com/jcupitt/libvips/issues/355
2015-12-03 12:14:39 +00:00
John Cupitt
d8018e8126
improve min/max docs
...
thanks Paul, see
https://github.com/jcupitt/libvips/issues/252
2015-04-12 11:25:46 +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
c3def93361
ban size == 0 for max/min
2014-02-19 17:13:12 +00:00
John Cupitt
a2d06e640e
small cppcheck-suggested polishes
2013-05-07 17:22:29 +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
a4433f1b9f
vips_min() done too
2012-12-05 14:40:01 +00:00
John Cupitt
862cac1e4f
avoid NaN in max/min, better double ranges
2012-02-24 13:57:50 +00:00
John Cupitt
d0ec401a12
hackery to get goi working
2011-12-31 18:22:42 +00:00
John Cupitt
d401db768d
more docs hacking
2011-11-18 10:42:41 +00:00
John Cupitt
4256563332
small fixes
2011-11-17 14:43:08 +00:00
John Cupitt
15f7568423
min/max error initing x/y
2011-11-14 12:10:54 +00:00
John Cupitt
c80a19747f
im_multiply() redone, fixes to max/min
2011-11-07 09:42:44 +00:00
John Cupitt
77d386cdaf
redo im_max()/im_maxpos() as classes
2011-11-06 17:00:44 +00:00
John Cupitt
8dfb3056ac
added VipsEmbed
...
added VipsEmbed class, new macros for arg boilerplate, new priority
thing for arg ordering
2011-10-16 14:48:47 +01:00
John Cupitt
ae8faf6597
remove dmalloc support
...
we never used it and valgrind etc. is better anyway
2011-09-23 17:12:47 +01:00
John Cupitt
9c84b0dfd9
add vips_tracked_malloc()
...
new malloc()/free() pair do tracked allocations ... use g_new()/g_free()
everywhere else
2011-09-21 14:50:32 +01:00
John Cupitt
4ce3346a4f
VipsMin stops early if it can
...
if VipsMin sees a minimum value (eg. 0 for uchar) it'll stop searching
early
2011-09-05 14:10:56 +01:00
John Cupitt
5b7de5e594
added VipsMin
...
though there's a problem with the cli interface, see TODO
2011-08-30 16:33:25 +01:00