John Cupitt
df599f2f55
better vips_init() fallback
...
the vips_init() fallback was not working well ... new, better one gets
called more often
2011-09-12 12:28:01 +01:00
John Cupitt
f9b8e0d88f
operation cache working
...
but see notes in file
2011-09-10 14:38:39 +01:00
John Cupitt
e7cd1147ce
cache in and working, at a basic level
...
reverted the switch thing as well, annoying
2011-09-09 17:01:29 +01:00
John Cupitt
ad016c53a2
C API supports optional output args
...
you can do stuff like
int x;
vips_min( fred, &min, "x", &x, NULL );
to get the x pos of the minimum
2011-09-05 18:16:32 +01:00
John Cupitt
7fe104fee6
support optional output args in the cli
...
the cli interface now supports optional output args ... C API next
2011-09-04 10:10:39 +01:00
John Cupitt
bbaef3dad1
sync
2011-09-02 18:21:28 +01:00
John Cupitt
958544e5cd
sync
2011-09-02 09:10:33 +01:00
John Cupitt
07eb155462
allow optional output args
...
optional output args in C API startup ... need to fix up C API shutdown,
plus CLI, see TODO notes
2011-08-31 11:37:12 +01:00
John Cupitt
1a38d60efb
check args more carefully
...
check input and output args have been supplied in different places ...
so ins can be all checked before outputs are made
2011-08-28 13:29:53 +01:00
John Cupitt
ac3ce8b010
add VIPS_ARGUMENT_APPEND
...
to give more control over arg ordering, fixes a problem in avg
2011-08-28 12:46:50 +01:00
John Cupitt
1e21963f83
don't use G_VALUE_COLLECT_INIT
2011-08-15 13:59:47 +01:00
John Cupitt
a92e500132
more CLI fixes
...
"vips add" shows output args, clearer display, spot too few args
2011-07-22 17:28:08 +01:00
John Cupitt
ed5cb531bd
wrap7 works, for images at least
...
still need to add masks, doubles, strings, etc.
2011-07-18 17:10:41 +01:00
John Cupitt
fde23c93ef
vipsobject cleanups
...
vipsobject always goes via set_prop so it can work with subclasses
which override these funcs (eg. wrap7)
2011-07-17 14:36:57 +01:00
John Cupitt
580536e412
indent class lists
...
"vips list classes" now indents the class lists by structure
2011-07-16 11:26:24 +01:00
John Cupitt
3920f5dc7e
get im_system_image() working again
...
chop stuff about to get system image working again.
2011-06-16 13:54:13 +01:00
John Cupitt
971615d6ae
back to fixed refs, add a pool system instead
...
floating refs were very confusing and annoying, instead use simple fixed
refs and add a pool system to track refs for you
also fixed a couple of dumb errors in close callbacks
2011-06-02 12:23:56 +01:00
John Cupitt
26c0ce8fde
fixed vips7 CLI
...
"vips im_add a b c" works again
2011-05-24 13:50:17 +01:00
John Cupitt
9515c5cb06
more fixes for im_add
...
still getting some dangling region refs though argh
2011-05-23 18:19:20 +01:00
John Cupitt
8036dda5b7
vips8 CLI works
...
bugs fixed, leaks plugged, hooked up output write
2011-05-23 17:12:09 +01:00
John Cupitt
0514485fa6
functional API
...
make all output args created by operation, so operations are now true
functions ... means we can do memoisation
various cleanups as well
2011-05-22 17:32:57 +01:00
John Cupitt
77caf201f1
vipsobject has floating refs
...
derive from GInitiallyUnused to get floating refs
2011-05-19 14:35:51 +01:00
John Cupitt
efe1a19598
functional vipsoperation
...
vipsoperation now mostly creates output objects for you
2011-05-19 13:48:09 +01:00
John Cupitt
b6185af194
more new API hackery
...
added some notes ot the TODO on a more functional approach
2011-05-19 09:22:48 +01:00
John Cupitt
c4804b6fb3
argh
2011-05-17 14:45:51 +01:00
John Cupitt
9afe09a68f
better bool CLI options
2011-05-17 11:35:29 +01:00
John Cupitt
6cb6d2289b
new CLI done
...
the new cli interface is done, try "vips add a.jpg b.jpg out.jpg", or
"vips add".
2011-05-16 17:10:08 +01:00
John Cupitt
8c6697c40a
misc CLI hackery sync
2011-05-16 08:31:55 +01:00
John Cupitt
1f3f20ee4e
new cli working
...
some final testing needed
2011-05-13 14:47:23 +01:00
John Cupitt
825280b365
more cli hackery
...
almost there now, parsing strings to standard types
2011-05-13 10:08:53 +01:00
John Cupitt
67df101545
more command-line interface
...
more hacker ... this time a better way to do optional args
2011-05-11 14:51:47 +01:00
John Cupitt
620c02a833
cleanups
...
small tidies
2011-04-21 09:57:04 +01:00
John Cupitt
b275f1dd26
started adding new CLI interface
...
Started hacking on the thing to let you call operations from the
command-line. The target syntax is something like:
add a b c
where a, b, c are the required parameters. Optional params may be appended to
the operation name, eg.
add{saturated=true} a b c
Required params which are subclasses of VipsObject may themselves have
required and optional params, eg.
affine in.v out.v bilinear{12,sharp=true} 0 1 1 0 0 0
2011-04-20 17:41:55 +01:00
John Cupitt
e3f18fb9d1
compiles phew
2011-04-05 17:02:12 +01:00
John Cupitt
75d209fd2c
hackery
...
ops, half-done
2011-04-05 14:46:17 +01:00
John Cupitt
8d367998c6
VipsAdd works
...
done VipsAdd class and made an im_add() stub for compat
2011-04-04 15:46:57 +01:00
John Cupitt
370641d25b
stuff
...
oops argh
2011-04-01 15:11:59 +01:00
John Cupitt
db41b6ac4e
add VipsOperation
...
abstract base class for all operations goes in
2011-03-29 12:12:20 +01:00