Commit Graph

1252 Commits

Author SHA1 Message Date
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
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
a9dc321afd add wrap7
add a thing to wrap vips7 functions as vips8 classes

in and in use, but not yet working
2011-07-15 14:37:20 +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
516b76da7b started a wrapper for vips7 functions
have a go at automatically wrapping up a vips7 im_function as a vips8 class
2011-07-12 17:21:45 +01:00
John Cupitt
2ee4fefa46 better temp files for im_vips2tiff() pyramids
im_vips2tiff() used to keep intermediate files in the same directory as
the destination file ... instead, make temp files using im__temp_name(),
see im_system_image().
2011-07-12 15:27:22 +01:00
John Cupitt
0f20f9152b icc import/export cast inputs 2011-07-12 14:56:58 +01:00
John Cupitt
e84640af58 im_falsecolour() does implicit conversion
convert input automatically to mono 8-bit in falsecolour
2011-07-12 13:30:25 +01:00
John Cupitt
c78e3382fc TODO notes
updated the TODO again
2011-07-08 14:28:08 +01:00
John Cupitt
6131388cc4 jpeg cmyk write was not inverting
the change to vips_sink_disc() for vips2jpeg make CMYK write fail, argh

thanks to Ole for the report
2011-07-08 11:34:26 +01:00
John Cupitt
b04daa4849 added deprecated wrapper for im_remainderconst_vec
forgot to add a dispatch wrapper for im_remainderconst_vec when we reanmed to
im_remainder_vec
2011-06-27 15:47:01 +01:00
John Cupitt
180fa919e2 blend does sizealike
added sizealike to im_blend()
2011-06-27 12:28:10 +01:00
John Cupitt
53492613bd merge change from aturcotte 2011-06-23 10:55:02 +01:00
John Cupitt
edbe0c99cc fix strange warning with binary ppm load
Binary ppm load would always warn about "file too long". The image size
prediction was missing the image header size.
2011-06-22 13:51:26 +01:00
John Cupitt
2cb45f698e fix two small bugs
VipsPool was not linking to the parent class correctly, ifthenelse had
tangled images.
2011-06-21 14:42:39 +01:00
John Cupitt
3126e5100d get interpolate new from string working
vips_type_map() has to see abstract types now so we can get the
baseclass for interpolate. interpolate class has to set the nickname.
2011-06-21 11:08:56 +01:00
John Cupitt
642305327e oops 2011-06-20 10:29:00 +01:00
John Cupitt
d3b29f9cd2 start gobject-introspection experiments
messing about with gi for python bindings
2011-06-20 08:31:20 +01:00
John Cupitt
f85655052e build xyz2lab tables in im_col_*
added calls to build xyz2lab tables, thanks hkaimio
2011-06-19 17:15:10 +01:00
John Cupitt
863325a257 cleanups before attempting gobject base 2011-06-18 17:47:56 +01:00
John Cupitt
4918a67e14 init more types on startup
create VipsImage and VipsRegion types on vips_init()
2011-06-18 17:42:06 +01:00
John Cupitt
e346187043 new python cleanups
seems to work now, try an operation next
2011-06-18 13:34:52 +01:00
John Cupitt
3628692799 add experimental ctypes Python binding
start hacking on a new Python interface
2011-06-17 14:50:14 +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
6a582ae1a9 test for res-unit meta before fetching
if the res-unit meta is missing, don't generate an error message
2011-06-16 11:34:20 +01:00
John Cupitt
f85c36edee oop double free() in system_image on error 2011-06-15 22:17:08 +01:00
John Cupitt
5efdcd9b76 Merge remote-tracking branch 'origin/master'
Conflicts:
	libvips/convolution/im_aconv.c
2011-06-15 17:53:24 +01:00
John Cupitt
4650234e20 add VIPS_EXEEXT to the exported API
EXEEXT was just internal, now it's part of the API we export
2011-06-15 14:42:49 +01:00
John Cupitt
7bd79e3ef4 16-bit intermediates for im_aconv()
im_aconv() can use 16-bit intermediates for 8-bit images, if the mask has
small enough hlines (all less than 256 elements)

also, work for all types
2011-06-14 12:36:07 +01:00
John Cupitt
85e1359e4a Merge remote-tracking branch 'origin/master' 2011-06-13 21:36:05 +01:00
John Cupitt
ef8fee1722 -ore im_aconv() tweaks
common-up hlines where we can
2011-06-13 14:09:19 +01:00
John Cupitt
c248b7203d more im_aconv() cluster polishing
larger edge buffer, strike out all involved nodes on merge
2011-06-10 17:21:32 +01:00
John Cupitt
702ffd3d36 oops 2011-06-10 14:33:29 +01:00
John Cupitt
c605153852 much faster clustering in im_aconv()
cluster lines in batches to avoid rescanning the whole space each time
2011-06-10 12:02:33 +01:00
John Cupitt
953a315755 more im_aconv() speedups
now uses rolling boxes for the vertical pass too
2011-06-09 17:53:53 +01:00
John Cupitt
4e3e0cee6c refactor im_aconv
get ready for rolling vertical sums too
2011-06-09 15:21:42 +01:00
John Cupitt
21fce2ab9e im_aconv() works for a large 2d mask
needs some more tuning, we should be able to speed it up still
2011-06-09 11:39:31 +01:00
John Cupitt
a9e305787b longer lines for rw_mask
rw_mask failed for lines over 4096 characters
2011-06-09 09:35:57 +01:00
John Cupitt
d0cb80b341 more testing
now fails for large square masks
2011-06-09 00:57:55 +01:00
John Cupitt
ab06ba8a1b woo, works 2011-06-09 00:45:43 +01:00