Commit Graph

1350 Commits

Author SHA1 Message Date
John Cupitt
cca955136d more space for image headers
up to 32kb for image header print, but a true expanding string would be
better
2011-06-08 13:57:59 +01:00
John Cupitt
69331fab9f new im_aconv() compiles
compiled and linked in, needs testing though
2011-06-08 13:37:03 +01:00
John Cupitt
2d717ec578 more aconv hackery 2011-06-08 10:30:18 +01:00
John Cupitt
b1c1a3a65d more hacking on im_aconv()
got the splitter more-or-less done, the convolver next
2011-06-07 14:50:32 +01:00
John Cupitt
0aa9f81c30 started im_aconv()
started hacking non-separable version of im_aconvsep()
2011-06-06 17:35:32 +01:00
John Cupitt
7b6bc4267b better vips error msg
"vips mpouikh" makes a better error message
2011-06-06 12:31:12 +01:00
John Cupitt
20a65cca59 aconvsep supports all formats
float/int/complex etc. all work
2011-06-04 21:12:55 +01:00
John Cupitt
710294f889 rename aconv as aconvsep 2011-06-04 17:44:54 +01:00
John Cupitt
70dc170d97 much better accuracy for small masks 2011-06-04 12:39:54 +01:00
John Cupitt
56d8f75500 fix an edge problem in aconv
aconv no longer has tiling artifacts
2011-06-04 10:01:52 +01:00
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