Commit Graph

2897 Commits

Author SHA1 Message Date
John Cupitt
35533a54cf finish reviding the fixed-up image load/save API 2014-06-08 11:16:58 +01:00
John Cupitt
d426abdcd8 stage1 seems to work 2014-06-07 16:47:53 +01:00
John Cupitt
339712fb13 hackey hack 2014-06-06 15:03:12 +01:00
John Cupitt
b394948cd1 start hacking in better new from file 2014-06-06 13:46:26 +01:00
John Cupitt
527f8ff2cc bump image size limits for tiff
see https://github.com/jcupitt/libvips/issues/120#issuecomment-45324200
2014-06-06 12:14:29 +01:00
John Cupitt
3f021abe2d TODO notes 2014-06-06 10:58:57 +01:00
John Cupitt
5b19fc4f8d update notes 2014-06-05 14:49:27 +01:00
John Cupitt
3faffa4c54 reenable orc program free
The bug has been fixed, see:

https://bugzilla.gnome.org/show_bug.cgi?id=731227

Summary:
	orc pre-0.4.19 leaks
	orc 0.4.19 crashes
	orc 0.4.20+ has few leaks and does not crash
2014-06-05 08:51:31 +01:00
John Cupitt
a1db626713 turn off orc program free
stops a crash, makes a memleak

see https://bugzilla.gnome.org/show_bug.cgi?id=731227
2014-06-04 18:53:55 +01:00
John Cupitt
f1f6bde680 option to trace all orc calls
used to generate the program here:

https://bugzilla.gnome.org/show_bug.cgi?id=731227
2014-06-04 18:51:53 +01:00
John Cupitt
23911afb1c add more orc debugging 2014-06-04 15:05:23 +01:00
John Cupitt
d990f5cf77 fix some crashes in orc by not freeing orc stuff
a leak is better than a crash :( or build vips without orc if you don't
want a leak either

lots of stuff along the lines of:

==13114== Invalid write of size 8
==13114==    at 0xB81B229: orc_code_chunk_merge (orccodemem.c:107)
==13114==    by 0xB82B13D: orc_code_free (orccode.c:33)
==13114==    by 0xB81B89A: orc_program_free (orcprogram.c:175)
==13114==    by 0x6508AA4: vips_vector_free (vector.c:106)
2014-06-02 09:34:55 +01:00
John Cupitt
5ffa46ebac sync 2014-05-29 14:33:44 +01:00
John Cupitt
e7743ddc3c finish mosaicing rewrite 2014-05-29 09:35:17 +01:00
John Cupitt
8a38cb1946 fix up global balance names
track mosaic-name now
2014-05-28 23:00:41 +01:00
John Cupitt
170efb1452 redo im_*merge1() as classes 2014-05-28 18:15:20 +01:00
John Cupitt
adfda3cf14 redo im_*mosaic1() as classes 2014-05-28 15:15:06 +01:00
John Cupitt
b8886fc209 wrap im_remosaic() as a class 2014-05-27 15:18:19 +01:00
John Cupitt
781a7d4dc9 wrap im_global_balance*() as a class 2014-05-26 15:02:15 +01:00
John Cupitt
e2cda919ea match works 2014-05-26 14:20:38 +01:00
John Cupitt
246525e649 more hackery 2014-05-26 11:24:46 +01:00
John Cupitt
4f3b37ad04 wrap im_match*() as a class 2014-05-23 13:46:38 +01:00
John Cupitt
de409ecac8 vips_mosaic() outputs mosaic params 2014-05-23 12:37:10 +01:00
John Cupitt
ab12cd1c3d wrap im_*mosaic() as classes 2014-05-22 18:14:40 +01:00
John Cupitt
98012d7613 im_*merge() class wrapper works 2014-05-22 16:32:09 +01:00
John Cupitt
496d523750 wrap im_*merge() as a class 2014-05-22 14:53:18 +01:00
John Cupitt
3a4569e99b longer stall time for ahead-threads
we must stall for AGES occasionally, really the stall time is about
enforcing a certain thread ordering
2014-05-22 13:40:06 +01:00
John Cupitt
c3caa595a2 complex lut was broken 2014-05-21 17:34:53 +01:00
John Cupitt
087eb233f7 auto-decode to lab, not labs
helps in many places
2014-05-19 23:35:27 +01:00
John Cupitt
011fd99a1a start fixing up the auto-decode stuff 2014-05-19 14:53:47 +01:00
John Cupitt
4993ff15d6 add Travis CI config
thanks Lovell
2014-05-19 12:54:04 +01:00
John Cupitt
dea1487ed5 small oopes
thank you clang
2014-05-18 11:25:08 +01:00
John Cupitt
be6503e47a definition oops 2014-05-18 11:19:09 +01:00
John Cupitt
ee3cce8736 oops in vips_scale() 2014-05-18 09:47:41 +01:00
John Cupitt
dc22d9c4c8 add hough_circle() to vipsCC and python
now exposed to Python and C++
2014-05-17 22:00:36 +01:00
John Cupitt
8f78aaa9f7 Merge pull request #122 from lovell/op-cache-trim-move
Make cache limits 'hard' rather than 'soft' using trim after add, not before
2014-05-12 22:59:55 +01:00
Lovell Fuller
a1b3820eb2 Make cache limits 'hard' rather than 'soft' using trim after add, not before 2014-05-12 21:30:30 +01:00
John Cupitt
7303261a31 allow default NULL basename in vips_type_find()
oops, got dropped in earlier commit, thanks Lovell
2014-05-12 20:15:50 +01:00
John Cupitt
22d525d54f export a better cache operator for nip2 2014-05-10 14:00:01 +01:00
John Cupitt
4d17ebb3b4 add im_tile_cache() to vips7 op db
try using this from nip2 instead of im_cache()

im_cache() uses vips_sink_screen() and is probably quite a bit slower
2014-05-09 14:56:44 +01:00
John Cupitt
25f2193992 oops 2014-05-09 13:22:57 +01:00
John Cupitt
f6de1e7cb9 make libgsf-1 an optional dependency
dzsave vanishes if you don't have it, but you can still build vips
2014-05-09 13:13:18 +01:00
John Cupitt
d9affe1c2a rearrange tree after dz save to fs for compat
rearrange the directory tree after dzsave for compatibility with
earlier libvips
2014-05-08 14:57:33 +01:00
John Cupitt
ccead97c05 set Type on memory strip
we need to set Type on memory strips so we can convert to the output
format correctly, thanks philipgiuliani

see https://github.com/jcupitt/libvips/issues/120
2014-05-08 14:24:22 +01:00
John Cupitt
f6f7d4eeed oops, don't treat RGB16 as sRGB in colourspace
we still had code to treat RGB16 inputs as sRGB even though we now have
a special set of RGB16 paths

vips copy 16bitRGB.tif x.jpg

now works
2014-05-08 14:13:40 +01:00
John Cupitt
ff71a69827 Merge branch 'dzsave-gsf' 2014-05-08 12:15:55 +01:00
John Cupitt
0f1ba2c0b1 Merge branch 'dzsave-gsf'
Conflicts:
	libvips/include/vips/vips.h
2014-05-06 22:03:13 +01:00
John Cupitt
1a3c62851e move some junk to deprecated/ 2014-05-06 22:01:20 +01:00
John Cupitt
c8d6aac98d safer vips_operation_new()
fixes "$ vips vips" segv
2014-05-06 18:49:20 +01:00
John Cupitt
5478a9bb81 update dzsave docs 2014-05-06 14:38:24 +01:00