Commit Graph

29 Commits

Author SHA1 Message Date
John Cupitt c80a19747f im_multiply() redone, fixes to max/min 2011-11-07 09:42:44 +00:00
John Cupitt e5b5bed428 im_divide() -> VipsDivide 2011-11-06 22:24:42 +00:00
John Cupitt 1fd1559bb5 redo im_deviate() as a class 2011-11-06 17:59:07 +00:00
John Cupitt 77d386cdaf redo im_max()/im_maxpos() as classes 2011-11-06 17:00:44 +00:00
John Cupitt 11d0a28ccb redo im_abs as a class 2011-11-06 11:54:52 +00:00
John Cupitt 020073606f add classes for all the math functions 2011-11-04 17:55:06 +00:00
John Cupitt 735749a4a2 add VipsLinear
remove im_lintra*(), redone as a class
2011-10-31 14:25:27 +00:00
John Cupitt b4531ff24b add unary and invert
add a base class for unary operators, try it out with VipsInvert
2011-10-30 21:45:18 +00:00
John Cupitt e14c5607b1 refactor ready for unary arithmetic
move most of the logic in binary.c into arithmetic.c ready to share with
unary
2011-10-30 18:31:45 +00:00
John Cupitt 26792ed4e1 bugfixes
get the new arg system working
2011-10-16 17:48:28 +01: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 952199e92a add VipsCopy
add a basic VipsCopy operation, also demand_hint is now void
2011-09-29 13:34:14 +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 5b7de5e594 added VipsMin
though there's a problem with the cli interface, see TODO
2011-08-30 16:33:25 +01:00
John Cupitt 7a392d4789 im_avg() is a class 2011-08-26 10:15:39 +01:00
John Cupitt ae016dd408 turn im_subtract() into a class 2011-08-23 20:56:35 +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 03226f6f67 vips7 wrap runs
"vips list clases" now works, not tested actually supplying any args
2011-07-15 21:28:33 +01:00
John Cupitt 5b97d5210a more vips7 wrapper hackery
small changes to vipsobject etc. as well ... warn on read of unset
props, for example, and dont pointlessly set the set/set ops in
subclasses
2011-07-13 14:51:02 +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 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 79a7a37d71 create output images in _build()
new idea: output image get made in _build(), we copy them out after
calling the operation's build, see TODO

vips_image_new() param removed, it just always makes "p" images now
2011-05-18 11:03:31 +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 860a04a882 add optional args for testing
arithmetic now has optional bool and im args for testing operation
interfaces
2011-05-12 11:02:19 +01:00
John Cupitt 81b68ec979 rename arith args
args should be nmaed without hypens, since they may become variable names
2011-05-12 10:36:28 +01:00
John Cupitt ce03da8c71 now compiles with new add.c
compiles, but not tested
2011-04-02 16:39:20 +01:00
John Cupitt 370641d25b stuff
oops argh
2011-04-01 15:11:59 +01:00