John Cupitt
8b67d53e56
make VipsArea threadsafe
...
google maps output needs threaded create / destroy of VipsArea (used to
hold the background colour). We need a lock on VipsArea::count.
Fixes https://github.com/jcupitt/libvips/issues/46
Thanks fuho
2012-12-19 09:58:35 +00:00
John Cupitt
c5a600b286
tag Radiance images as scRGB
...
They aren't always, but scRGB is also 0-1 range, so conveniently this
now works:
vips copy car-stack-eighth.hdr x.jpg
2012-12-13 12:21:02 +00:00
John Cupitt
c341f0d134
add scRGB functions
2012-12-11 15:25:28 +00:00
John Cupitt
1de6c6bcc6
add binary complex ops
...
cross_phase is the only one atm
2012-12-06 14:52:51 +00:00
John Cupitt
797805f7e3
don't print output args on fail
2012-12-06 13:54:32 +00:00
John Cupitt
1e332d2f29
vips_max() returns arrays for position and value
...
int array type too for x/y position arrays
2012-12-05 13:11:29 +00:00
John Cupitt
8f364a8b51
rename some _get funcs
...
all the _get_ funcs that returned a bool have become _isthing()
functions, eg.
vips_object_argument_get_assigned() ->
vips_object_argument_isset()
2012-11-09 13:08:59 +00:00
John Cupitt
8df32c84c1
more work on vips_quadratic
2012-11-08 13:34:37 +00:00
John Cupitt
3216fddc92
easier array arg creation
...
added stdarg array double creator, used the _new as well, small other
fixes
2012-11-02 21:45:13 +00:00
John Cupitt
09789ebdfd
add @depth option to dzsave
...
so you can ask for a 1 layer pyramid
2012-11-01 18:11:46 +00:00
John Cupitt
035cf44fe6
final cleanups
2012-11-01 15:59:46 +00:00
John Cupitt
8e72d25c9a
better colourspace sniffing
2012-11-01 13:16:54 +00:00
John Cupitt
f5790be152
rename UCS as CMC
2012-11-01 10:21:55 +00:00
John Cupitt
4901c9f6a5
clean out debugging code
2012-10-31 09:17:21 +00:00
John Cupitt
8e0de67f65
sync
2012-10-30 17:16:55 +00:00
John Cupitt
6e1e3d4be1
better cache trace, small fixes
2012-10-29 17:19:15 +00:00
John Cupitt
15ba5c2cab
small fixes
2012-10-26 14:30:51 +01:00
John Cupitt
40604e776a
Merge remote-tracking branch 'origin/master' into colour
...
Conflicts:
libvips/colour/im_icc_transform.c
2012-10-25 08:58:17 +01:00
John Cupitt
f59b0f88f0
update for new g_value_get_schar() function
2012-10-23 14:36:42 +01:00
John Cupitt
c6478c811b
update use of GPrivate
2012-10-23 13:57:38 +01:00
John Cupitt
7e3494f6eb
new new g_thread*() API
2012-10-23 13:36:39 +01:00
John Cupitt
013dd225f6
update g_cond_*() usage
2012-10-23 12:55:38 +01:00
John Cupitt
fad78f8555
rework gthread usage
...
glib-2.32 deprecated g_mutex_new() ... use a compat function to hide
this change
also remove the --without-threads configure flag, gthread is now
compulsory, so there was no longer any point
2012-10-22 22:08:53 +01:00
John Cupitt
f8a160de44
Merge remote-tracking branch 'origin/master' into colour
...
Conflicts:
ChangeLog
configure.in
po/vips7.pot
2012-10-21 12:24:08 +01:00
John Cupitt
78fb2dd75b
Merge remote-tracking branch 'origin/master' into parallel-read
...
Conflicts:
libvips/foreign/openslide2vips.c
2012-10-16 23:46:01 +01:00
John Cupitt
2f65b07abb
add a @background option to embed and dzsave
...
you can now set the background colour for edge tiles in dzsave and embed, eg.:
vips dzsave k2.jpg x --background "1 2 3"
2012-10-10 13:22:30 +01:00
John Cupitt
dee1aac7b1
dzsave can write zoomify and google maps
...
use "layout" to pick the directory layout, deepzoom / zoomify / google
all allowed
2012-10-03 14:26:59 +01:00
John Cupitt
52a188c3c5
new icc stuff now works
2012-09-26 14:53:14 +01:00
John Cupitt
e793d38aa7
new icc transformer compiles
2012-09-25 22:06:24 +01:00
John Cupitt
3a6b32dcf9
small fixes
2012-09-24 13:31:06 +01:00
John Cupitt
f8dddf23a9
remove disp stuff, just sRGB now
...
all the old monitor calibration stuff is gone, we only support sRGB now
im_Lab2disp() etc. have become vips_Lab2sRGB() etc.
compatibility macros keep old code compiling
2012-09-24 11:23:32 +01:00
John Cupitt
7130a74d0e
redo rad2float / float2rad as classes
2012-09-20 15:13:44 +01:00
John Cupitt
a38fa9302e
redo im_Lab2XYZ() as a class
2012-09-18 14:14:08 +01:00
John Cupitt
333f6fef2c
Merge remote-tracking branch 'origin/master' into colour
2012-09-17 14:23:15 +01:00
John Cupitt
26f2105e5b
make everything LGPL2.1+
...
some files were incorrectly tagged as GPL, thanks Dmitry
2012-09-17 11:52:32 +01:00
John Cupitt
5b03646799
Merge remote-tracking branch 'origin/master' into colour
...
Conflicts:
ChangeLog
TODO
configure.in
2012-09-06 16:29:22 +01:00
John Cupitt
0c87863222
argh still deadlocks on example.rb
2012-09-04 14:56:22 +01:00
John Cupitt
8e57131413
Merge remote-tracking branch 'origin/master' into colour
2012-08-31 16:07:47 +01:00
John Cupitt
8653b23810
better handling of jpeg warnings
2012-08-23 21:44:14 +01:00
John Cupitt
fa5677abd7
works!
2012-08-23 13:49:21 +01:00
John Cupitt
f5f0dda551
experiment with thread stalling
2012-08-21 16:18:25 +01:00
John Cupitt
88c3f7ab7d
fix compiler warnings
...
some compiler warnings appeared in a production build (assert()s
commented out, -Wall, and -O2)
thanks to Dmitry Roshchin for the report
2012-08-14 12:43:54 +01:00
John Cupitt
bc736e4f5c
better precision for --vips-progress times
...
does 3sf of float time now
2012-08-10 15:19:45 +01:00
John Cupitt
1abac4018a
better enum arg error message
...
you now get something like:
$ vips tiffsave k2.jpg x.tif --compression poop
tiffsave: enum 'VipsForeignTiffCompression' has no member 'poop', should be one of: none, jpeg, deflate, packbits, ccittfax4, lzw
2012-08-10 13:54:42 +01:00
John Cupitt
0c35f461dc
add "deprecated" flag to vips arguments
...
deprecated arguments still work, but are not shown in help, nor are they
checked for "have-been-set"
you can tag required and optional args as deprecated ... obviously if
you deprecate a required argument you must replace it with a new
argument or scripts will break
2012-08-07 12:52:50 +01:00
John Cupitt
3033fea933
add --vips-fatal flag
...
--vips-fatal causes an abort() on the first warning or error, handy for
debugging
2012-07-21 17:01:17 +01:00
John Cupitt
7df7bb85bb
add --vips-version cmdline arg
...
print version of libvips that a program is running against
2012-07-20 13:34:05 +01:00
John Cupitt
17f6489c0e
Merge remote-tracking branch 'origin/7.28'
...
Conflicts:
ChangeLog
configure.in
libvips/deprecated/im_csv2vips.c
2012-07-18 10:39:29 +01:00
John Cupitt
4171f2673d
safer string equality in cache
...
it could segv if operations had strings which had been set to NULL
2012-07-17 10:10:34 +01:00
John Cupitt
34602a082a
Merge remote-tracking branch 'origin/7.28'
2012-07-16 14:41:12 +01:00