Commit Graph

1392 Commits

Author SHA1 Message Date
John Cupitt
4ce3346a4f VipsMin stops early if it can
if VipsMin sees a minimum value (eg. 0 for uchar) it'll stop searching
early
2011-09-05 14:10:56 +01:00
John Cupitt
6f125a6f31 enable YCbCr compresison for jpeg in tiff write
if we're writing RGB jpeg in tiff, enable YCbCR chrominance subsampling
for a 3x improvement in compression
2011-09-05 10:53:17 +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
5b7de5e594 added VipsMin
though there's a problem with the cli interface, see TODO
2011-08-30 16:33:25 +01:00
John Cupitt
2909cb93a4 add a 'stop' param to generate
generate now has a 'stop' param, set this to indicate early successful
termination

this will be used by VipsMin and friends to stop scanning early for
conditions like seen a 0 in a uchar image while searching for min
2011-08-29 14:29:33 +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
b26dcb284d sync 2011-08-27 14:03:52 +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
7111ff2433 version bump for next cycle
s Please enter the commit message for your changes. Lines starting
2011-08-21 18:06:19 +01:00
John Cupitt
a6255af981 sync 2011-08-17 09:25:11 +01:00
John Cupitt
0b39b4d9c8 better compiling without c++
closer to a painless no-c++ build, though not quite there yet
2011-08-16 15:37:50 +01:00
John Cupitt
11eb90cdb3 itest for C++ compiler
automatically disable C++ support if no compiler found
2011-08-16 13:26:57 +01:00
John Cupitt
3383344a31 TODO notes 2011-08-15 18:27:43 +01:00
John Cupitt
1cfa33e4fb better termination handling
setting and detecting ->kill is now treated more like a message ... you
can now cancel calculation in nip2 without breaking calculation
2011-08-15 16:24:46 +01:00
John Cupitt
1e21963f83 don't use G_VALUE_COLLECT_INIT 2011-08-15 13:59:47 +01:00
John Cupitt
f000d93042 fix --without-cfitsio
oops, was broken, thanks Mike
2011-08-11 09:35:02 +01:00
John Cupitt
b748961743 im_benchmark.c had some debugging left in
oops, im_benchmark.c had some work commenetd out, hence the fast run
times
2011-08-10 10:17:36 +01:00
John Cupitt
e5effaba94 oop debugging was enabled for disc write 2011-08-09 13:11:03 +01:00
John Cupitt
53589638d0 Merge remote-tracking branch 'origin/master'
Conflicts:
	TODO
2011-08-09 12:47:05 +01:00
John Cupitt
b494ce7a52 stuff! 2011-08-09 12:45:42 +01:00
John Cupitt
f5397a68af sync 2011-08-09 11:15:09 +01:00
John Cupitt
764ce559f8 better benchmark prog
the benchmark program (benchmark/benchmarkn.sh) runs each test three
times and just reports the fastest run

it also detects the number of CPUs you have and automatically loops the
right number of times

additionally, tiles now default to 512x512, so it explicitly sets tiles
back to 64x64 to make comparisons with earlier versions easier
2011-08-03 11:25:31 +01:00
John Cupitt
a848adc7b3 add im_concurrency_get() to operation db
to help benchmarkn.sh loop appropriately automatically
2011-08-03 11:17:57 +01:00
John Cupitt
8790e552b6 fix a race in xyz to lab
the table build had a race condition
2011-08-03 10:12:45 +01:00
John Cupitt
1bded6682e todo update 2011-07-29 13:24:52 +01:00
John Cupitt
0087b3b655 fix memleak in exif write 2011-07-29 11:41:18 +01:00
John Cupitt
122c697349 vips7compat missed old enum names
oops, ==0 missing from a strcmp()
2011-07-28 16:52:29 +01:00
John Cupitt
8cc0d033ea allow <> enclosing argument lists 2011-07-28 12:55:54 +01:00
John Cupitt
1fe6241a5e move enum gtk-doc
move the enum gtk-doc comments into the headers, matching glib's style

I hope this might fix some warnings during gtk-doc generation, but they
seeem to still be there, ah well
2011-07-28 12:22:44 +01:00
John Cupitt
e7dbd89938 bump version again, doc fixes 2011-07-26 22:37:03 +01:00
John Cupitt
cf4c5979eb more win32 fixes 2011-07-26 18:44:52 +01:00
John Cupitt
eda7a9d9d7 fixes to get win32 building 2011-07-26 16:40:26 +01:00
John Cupitt
b0e7c727fa version bump
version bump for release, get make dist working again
2011-07-26 09:59:53 +01:00
John Cupitt
1b5803af2e new man pages
restored and updated man.1 pages
2011-07-26 09:27:06 +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
9627f889b0 reenable wrap7 for nicked vips7 ops
so now "vips im_subtract" gets you the old interface, "vips subtract"
the new one
2011-07-22 16:12:47 +01:00
John Cupitt
cfb076f726 make enum names work again
allow old names in enums, so edivips --format allows IM_BANDFMT_UCHAR,
VIPS_FORMAT_UCHAR and uchar
2011-07-22 15:56:31 +01:00
John Cupitt
0a4e314194 start fixing char->int enums use
oops was doing chart->int incorrectly for glib enums
2011-07-22 13:51:20 +01:00
John Cupitt
8dc7bb5c04 get_bytes() ignores mode
get_bytes() now strips any mode flags from the end of the filename
2011-07-22 11:41:13 +01:00
John Cupitt
058bcdfac4 disable wrap7 for now
we don't want to use wrap7 yet, we need to make sure the vips7 interface
keeps working
2011-07-18 17:13:27 +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
681e3c893e update notes 2011-07-18 09:03:33 +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
e11fbbb23f move vips.c usage and nickname
wrap7 now has the old vips.c nickname maker and usage code
2011-07-16 13:33:20 +01:00
John Cupitt
10b7b2eec0 wrap7 works more
"vips im_subtract" now produces a usage message via vips8
2011-07-16 12:44:35 +01:00