Commit Graph

1390 Commits

Author SHA1 Message Date
John Cupitt 3fab0cbbd4 fix vips8 CLI
the vips8 CLI needed updating for the new refcount strategy
2011-06-02 15:53:30 +01:00
John Cupitt 35a7515e3f small bugfixes
various bugfixes ... nip2 runs reliably again now
2011-06-02 15:34:57 +01:00
John Cupitt d28a7059cf oops 2011-06-02 12:54:56 +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 75e5804e3c small fixes
also bumped smalltile to 512x512 for tetsing aconv, this needs checking
2011-06-01 17:56:28 +01:00
John Cupitt 6819919f0c im_aconv() works
got im_aconv() working, woo
2011-06-01 17:36:17 +01:00
John Cupitt f1b8b7e735 oop, test for vips_object_all NULL 2011-06-01 15:20:50 +01:00
John Cupitt 45b582678f first paste of aconv 2011-06-01 09:17:07 +01:00
John Cupitt 40a8c8f95d always check mask->scale is non-zero 2011-05-31 12:24:09 +01:00
John Cupitt 770398753c add vips_check_dmask_1d()
add a check-mask-is-1d function
2011-05-31 12:21:05 +01:00
John Cupitt c0cbbbf415 free im_malloc() mem in postclose 2011-05-30 19:40:56 +01:00
John Cupitt a55e8d15bb fix -ve lobes on laplacian for large sigma 2011-05-30 12:14:20 +01:00
John Cupitt fc363fae99 Merge remote-tracking branch 'origin/master' 2011-05-30 11:45:02 +01:00
John Cupitt a9045c9ec3 oops vipsthumbnail needed updating 2011-05-30 11:41:02 +01:00
John Cupitt 10aecae374 added im_gauss_dmask_sep() 2011-05-26 13:20:15 +01:00
John Cupitt 47a3bd6689 TODO updates 2011-05-25 14:06:23 +01:00
John Cupitt cba1ea0024 vipsobject fallback for new_from_string() as well 2011-05-25 13:43:53 +01:00
John Cupitt 3f1c855177 vipsinterpolate uses new_from_string() vfunc system 2011-05-25 13:25:18 +01:00
John Cupitt 1a75cf5be2 object new from string() is now a vfunc
and the inverse too ... interpolate and format need fixing still
2011-05-25 12:24:01 +01:00
John Cupitt 5492e0dbda TODO updates 2011-05-25 08:51:19 +01:00
John Cupitt ff44680022 get the CLI working again
get the cli working with the new vfunc thing
2011-05-24 17:01:23 +01:00
John Cupitt 0b902bfbd4 make CLI arg handling into vfuncs
add vfuncs to vipsobject for the CLI interface
2011-05-24 14:44:23 +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 ef29872ce7 added vips_image_write()
added a convenience function to write an image to a file
2011-05-24 12:53:29 +01:00
John Cupitt 2ba39ebc23 notes 2011-05-23 21:27:33 +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 1ad9c8a885 progress notes updated 2011-05-19 14:39:11 +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 5b6ee532c4 oop TODO 2011-05-18 11:06:01 +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 c4804b6fb3 argh 2011-05-17 14:45:51 +01:00
John Cupitt dd6f0e8b4d sizealike everywhere
all ops now sizealike (I think) and docs are updated to match
2011-05-17 13:05:45 +01:00
John Cupitt 9afe09a68f better bool CLI options 2011-05-17 11:35:29 +01:00
John Cupitt 0c1034de44 vips7 has sizealike as well 2011-05-16 17:34:00 +01:00
John Cupitt bc4accfc48 added sizealike
binary.c now does sizealike, so images no longer have to match exactly
in size for binary operations
2011-05-16 17:25:26 +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 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 2a66c50410 mostly working 2011-05-11 22:07:30 +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 db48961c46 todo updates 2011-05-09 18:28:21 +01:00
John Cupitt 03d54dd099 im_conv() bug fixed
there was a typo in overflow estimation which could cause vips to use
the vector path when it should not, resulting in errors
2011-05-09 16:56:41 +01:00
John Cupitt e92f5ff353 README updates 2011-05-08 10:59:07 +01:00