Commit Graph

2328 Commits

Author SHA1 Message Date
John Cupitt
6855770362 rename vips_diag() as vips_info()
plus a command-line flag to turn it on
2013-08-07 09:22:24 +01:00
John Cupitt
5f340ea554 Merge remote-tracking branch 'origin/7.34'
Conflicts:
	libvips/iofuncs/type.c
2013-08-06 13:20:13 +01:00
John Cupitt
6113e02c71 Merge remote-tracking branch 'origin/master' 2013-08-06 13:18:18 +01:00
John Cupitt
8a72c0742c oops 2013-08-06 13:00:59 +01:00
John Cupitt
497cf55fc0 don't output transparency ifrom openslide
openslide now always outputs solid colours, helps vips_flatten() convert
to RGB for jpg tile save correctly
2013-08-06 12:58:07 +01:00
John Cupitt
ba60202285 better type leak checks 2013-08-06 12:02:11 +01:00
John Cupitt
1ef32179da lock on area tracking 2013-08-06 11:43:41 +01:00
John Cupitt
addc48f70a TODO update 2013-08-05 21:27:25 +01:00
John Cupitt
8e85c3d0df deprecate im_hist()
a useless combination of find and plot
2013-08-02 10:02:34 +01:00
John Cupitt
9b6f96ed41 redo falsecolour, gammacorrect as classes 2013-08-02 09:41:11 +01:00
John Cupitt
d5cac2a0fe cache should be threaded 2013-07-31 22:00:52 +01:00
John Cupitt
226095c39d move im_maplut() to a class 2013-07-31 22:00:36 +01:00
John Cupitt
b7d2f7e3e1 more robust error handling for libpng 2013-07-16 12:20:50 +01:00
John Cupitt
67a5aa7442 make VipsArea leakcheck a run-time option
was compile-time
2013-07-16 11:37:01 +01:00
John Cupitt
e36d8a843b sync 2013-07-15 22:01:14 +01:00
John Cupitt
6167d4d97c Fix three minor memleaks 2013-07-15 22:01:00 +01:00
John Cupitt
6b3dc259d1 more maplut hacking 2013-07-15 14:57:01 +01:00
John Cupitt
440b3a3362 fix up -DVIPS_DEBUG build 2013-07-15 10:49:49 +01:00
John Cupitt
0c8ecc4577 oops another const 2013-07-13 13:13:14 +01:00
John Cupitt
101c60cf42 add a "const" to get_string 2013-07-13 13:02:06 +01:00
John Cupitt
da47510e37 fix some typos 2013-07-11 14:37:53 +01:00
John Cupitt
d65b7b269a add multiscan jpg write? 2013-07-11 09:17:14 +01:00
John Cupitt
aadd7c1ee5 vipsthumbnail rewrite 2013-07-10 11:05:45 +01:00
John Cupitt
0d00b06731 fix a used-before-set valgrind complaint 2013-07-08 10:29:13 +01:00
John Cupitt
ae4922e480 Merge remote-tracking branch 'origin/7.34' 2013-07-06 12:00:40 +01:00
John Cupitt
02095763c9 null-terminate exif strings
libexif strings are not null-terminated, add a \0 before adding to the
vips image

thanks Mike
2013-07-06 11:51:34 +01:00
John Cupitt
c936a86176 starting maplut 2013-07-06 11:49:27 +01:00
John Cupitt
1ba188dc83 better file format sniffing
and vips_error_freeze/thaw() to stop errors from sniffing
being logged

plus better matrix sniffing
2013-07-04 09:43:57 +01:00
John Cupitt
0180a61be4 move im_identity*() to a class 2013-07-03 21:39:28 +01:00
John Cupitt
9cc8204ce1 vips_buildlut() works, removing old im_buildlut() 2013-07-03 14:01:46 +01:00
John Cupitt
7ee47c2073 vips_buildlut() builds
also fix ref doc build
2013-07-03 12:52:39 +01:00
John Cupitt
27cec75cbd Merge remote-tracking branch 'origin/7.34'
Conflicts:
	ChangeLog
	TODO
	configure.ac
2013-07-03 11:38:15 +01:00
John Cupitt
7bf40144b9 lower priority for matlab load
reduces segvs from Mat_Open(), thanks Michael
2013-07-03 11:36:25 +01:00
John Cupitt
7312fd4ed4 more array->matrix renaming 2013-07-03 09:22:04 +01:00
John Cupitt
7490da07a6 rename image array as matrix
we had vips_image_new_array(), this was confusing with VIPS_TYPE_ARRAY,
something completely different ... rename image array as matrix
2013-07-02 22:09:50 +01:00
John Cupitt
9278498623 add vips_matrixload(), vips_matrixsave()
read and write vips mat format to and from VipsImage

also fix a leak with vips_check_matrix()
2013-07-02 12:08:46 +01:00
John Cupitt
e8d9dbe3bb added array read 2013-07-01 14:49:51 +01:00
John Cupitt
8259da2b9c getting ready to rewrite hist stuff 2013-07-01 13:45:36 +01:00
John Cupitt
3338b51871 TODO update 2013-07-01 13:20:31 +01:00
John Cupitt
3b6bcef700 strip ICC profile on conversion in xyz2srgb
if we use the vips xys->srgb  path (ie. not the lcms one) we must remove
any ICC profile left over from import, otherwise we may have srgb pixels
with a non-srgb profile
2013-07-01 09:23:09 +01:00
John Cupitt
a818c64f09 Merge remote-tracking branch 'origin/7.34' into 7.34 2013-06-29 13:43:32 +01:00
John Cupitt
0b23128ff6 fix two trivial compiler warnings 2013-06-29 13:08:14 +01:00
John Cupitt
610f7aa0eb fix morph on non-uchar images 2013-06-28 14:50:39 +01:00
John Cupitt
de796417cb TODO note 2013-06-26 09:29:04 +01:00
John Cupitt
645ff73335 whitespace 2013-06-25 17:49:42 +01:00
John Cupitt
824977a0bc remove the class init lock
the previous patch was not sufficient, remove it
2013-06-25 17:46:38 +01:00
John Cupitt
bec6d2c8a6 ping all classes in dzsave
fixes a race in class build on many-core machines, see

https://github.com/jcupitt/libvips/issues/64
2013-06-25 17:44:57 +01:00
John Cupitt
c3ac89df30 missing include 2013-06-25 11:30:18 +01:00
John Cupitt
9d5acf79b3 fix ushort save with values >32k
we were not setting the fits offset correctly for ushort images, thanks
weaverwb
2013-06-23 04:39:59 +01:00
John Cupitt
b58f67aa90 single-thread class init
See:

  https://github.com/jcupitt/libvips/issues/64

We were seeing races in class init on very-many-core machines. GObject
is supposed to single-thread class init, I think, so this shouldn't
happen. Perhaps class init via g_type_class_ref() is not
single-threaded.
2013-06-21 09:35:04 +01:00