Commit Graph

1694 Commits

Author SHA1 Message Date
John Cupitt
a34cc2fdf3 notes 2017-01-26 12:07:14 +00:00
John Cupitt
d05018155d adjust notes for coverity changes 2017-01-20 09:16:46 +00:00
John Cupitt
b140c18a37 various tweaks to calm coverity
passes cleanly now
2017-01-20 08:55:13 +00:00
John Cupitt
79c21dfcf8 seems to be done! 2017-01-18 14:39:27 +00:00
John Cupitt
c464503510 Merge branch 'master' into invalidate-on-load-error 2017-01-17 13:47:14 +00:00
John Cupitt
fb88d037fc Merge branch 'master' into add-thumbnail-geometry 2017-01-17 11:51:10 +00:00
John Cupitt
6b325145e4 use new hints and prepare everywhere 2017-01-12 14:36:44 +00:00
John Cupitt
f302bd6570 all working! 2017-01-12 14:06:54 +00:00
John Cupitt
3d216da8c9 rename recomp as reorder 2017-01-12 09:15:10 +00:00
John Cupitt
d1ef5a6890 compiles, needs more testing 2017-01-11 14:05:50 +00:00
John Cupitt
8bbba73d73 try to fix soname.h again
now make in install-exec-hook so we are certain libvips.la has been built
2017-01-06 19:37:36 +00:00
John Cupitt
2fa3736722 all done, I think 2017-01-06 13:43:43 +00:00
John Cupitt
366c1acd6c notes 2017-01-05 12:04:29 +00:00
John Cupitt
ab6bb83266 fix a memleak in exif parsing 2016-11-10 11:09:49 +00:00
John Cupitt
5cc9229882 bump min libwebpmux version
0.3 can't read 0.5 libwebp files argh
2016-11-10 09:20:54 +00:00
John Cupitt
bf7f1cd9a4 add some tests 2016-11-10 07:24:04 +00:00
John Cupitt
d5934d606a polishing 2016-11-08 14:42:54 +00:00
John Cupitt
b56b888bf0 add webp metadata write
untested, but it does compile
2016-11-08 12:30:02 +00:00
John Cupitt
93ea3f8e89 testing 2016-11-07 10:01:59 +00:00
John Cupitt
7d0c821a6e add tests for thumbnail 2016-11-02 13:51:09 +00:00
John Cupitt
0faedcd088 docs done 2016-11-02 11:19:08 +00:00
John Cupitt
d4b4eb44a3 works! 2016-11-02 11:07:30 +00:00
John Cupitt
6d1d6fd16c oops 2016-10-14 09:31:12 +01:00
John Cupitt
ded6f17fa8 fix up new buffer.c
and make getpoint() use the threading system
2016-10-14 09:00:21 +01:00
John Cupitt
b4d6d6c590 compiles, but untested 2016-10-13 14:57:18 +01:00
John Cupitt
6a6c8cc5dd notes 2016-10-12 17:43:25 +01:00
John Cupitt
cf98b92dbf more tiny buffer fixups 2016-10-12 12:46:27 +01:00
John Cupitt
463d2e885f a bit more debugging code in buffer.c
watch global buffercache
2016-10-12 12:07:09 +01:00
John Cupitt
c87991c9f0 notes 2016-10-12 10:32:28 +01:00
John Cupitt
e241d13339 better matrix header read 2016-09-13 22:56:16 +01:00
John Cupitt
1872529b76 add whatsnew 2016-09-13 16:38:07 +01:00
John Cupitt
d3cafb3a9f seems to work
add @centre option for downsampling, see

https://github.com/jcupitt/libvips/issues/504
2016-09-10 10:31:33 +01:00
John Cupitt
1e9cdef615 try centre sampling option 2016-09-09 14:51:45 +01:00
John Cupitt
b566bc6b3d radsave was polluting the error log 2016-09-08 13:55:37 +01:00
John Cupitt
591d4472a9 notes on vips-properties changes 2016-09-08 12:45:50 +01:00
John Cupitt
92b0c6a316 update TODO 2016-09-07 10:18:06 +01:00
John Cupitt
6a8295cc50 new overlap system for dzsave
again ... sigh

see https://github.com/jcupitt/libvips/issues/512
2016-09-05 18:17:30 +01:00
John Cupitt
afaf6e1e78 note arrayjoin issue 2016-09-05 16:56:50 +01:00
John Cupitt
585c3e3a0a sync again 2016-09-05 13:13:52 +01:00
John Cupitt
57e1423d57 Merge branch 'master' into windows-unicode 2016-09-05 13:12:06 +01:00
John Cupitt
9f3572188c note error msg problem 2016-08-18 14:23:26 +01:00
John Cupitt
d1e28fe9d1 progress notes 2016-08-18 14:20:10 +01:00
John Cupitt
455acae66c notes on magickcore and unicode 2016-08-18 09:50:14 +01:00
John Cupitt
578764b582 gifload does unicode on win
sigh again
2016-08-17 14:37:15 +01:00
John Cupitt
030921efc6 make all tools unicode-aware on windows
sigh
2016-08-17 12:14:43 +01:00
John Cupitt
eb49347abb start adding better filename handling 2016-08-16 16:22:38 +01:00
John Cupitt
1f403a4add first attempt
seems to all work, test it a bit more

see https://github.com/jcupitt/libvips/issues/491
2016-08-15 15:45:26 +01:00
John Cupitt
5df5793457 done!
all tests done, all pass with magick6 and magick7
2016-08-14 18:39:40 +01:00
John Cupitt
20298b0d9a better all_frames on gif sources
some frames can be missing some lines
2016-08-14 17:39:01 +01:00
John Cupitt
9143bda915 Merge branch 'master' into add-magick7 2016-08-14 10:25:03 +01:00
John Cupitt
98bb078a96 update TODO 2016-08-13 16:46:47 +01:00
John Cupitt
cbce10db81 allow missing offset in matrix header
defaults to zero
2016-08-12 10:39:03 +01:00
John Cupitt
88252e6794 float output from worley
no need to int it
2016-08-11 21:51:58 +01:00
John Cupitt
b75a533493 done as much as we can
abandon our current conva system, use a cumulative image instead
2016-08-11 21:39:04 +01:00
John Cupitt
8c05a2bbe8 argh all_frames doesn't work for gif 2016-08-04 15:55:06 +01:00
John Cupitt
40f01fdb2b Merge branch 'master' into add-magick7 2016-08-04 14:15:46 +01:00
John Cupitt
e6bf970911 hit a snag 2016-08-04 10:11:21 +01:00
John Cupitt
c658332215 vips_conva() done and working
remove im_conva() nest, add tests
2016-08-03 18:29:50 +01:00
John Cupitt
8a9ee7e4ce small polish
convasep offset now working, matches convsep very closely
2016-08-02 18:19:35 +01:00
John Cupitt
2e8f14c6a5 Merge branch 'master' into rewrite-convf 2016-08-01 15:08:45 +01:00
John Cupitt
e439c5f78f add .svg.gz suffix
allow .x.y suffixes
2016-08-01 14:57:33 +01:00
John Cupitt
b0e3035590 small cleanups to svgz support 2016-08-01 14:28:35 +01:00
John Cupitt
920f2ea488 tiny py stuff 2016-07-29 15:25:28 +01:00
John Cupitt
3f41e21c8b notes on dicom error 2016-07-29 13:32:00 +01:00
John Cupitt
9535128a93 stuck on dicom now 2016-07-29 13:24:13 +01:00
John Cupitt
422b029602 better gif load via magick7 2016-07-29 12:35:55 +01:00
John Cupitt
6d217f6f68 getting closer
seems we'll need many different paths, perhaps one for each ImageType
2016-07-28 16:12:02 +01:00
John Cupitt
d8381c73da more improvements to error handling during eval
we were dropping the error buffer in tilecache, thanks David
2016-07-28 09:46:10 +01:00
John Cupitt
27da050a24 fix all_pages
tested with pdf, need to test gif
2016-07-25 13:57:50 +01:00
John Cupitt
2dc43198e4 final fixups 2016-07-24 14:47:22 +01:00
John Cupitt
6db9a2fdf9 better smoothing for perlin 2016-07-24 12:58:45 +01:00
John Cupitt
c469bb3983 perlin sort-of works 2016-07-24 11:46:42 +01:00
John Cupitt
dac671439c kind-of working 2016-07-19 10:57:21 +01:00
John Cupitt
036bd0bb4b convsep calls convasep when it can 2016-07-09 19:20:33 +01:00
John Cupitt
ce0bddaf4f update notes 2016-07-09 18:22:37 +01:00
John Cupitt
9d7667cbff oop found a problem 2016-07-09 18:01:46 +01:00
John Cupitt
a9d1c654e2 fixes 2016-07-09 14:15:28 +01:00
John Cupitt
c0bffd53ad use PingImage() etc
much faster now we have a proper header for libMagick
2016-07-09 13:12:31 +01:00
John Cupitt
3130b9b118 add note on Peter's CM work 2016-07-05 08:48:08 +01:00
John Cupitt
d2aeec56b5 convi done 2016-07-01 15:11:17 +01:00
John Cupitt
df81a6fe24 almost there 2016-06-30 14:59:20 +01:00
John Cupitt
1a5aa2125e add convi 2016-06-24 12:48:08 +01:00
John Cupitt
e60e90b0da im_conv_f rewrite done 2016-06-23 20:42:03 +01:00
John Cupitt
93a55310d3 compiles 2016-06-23 15:00:26 +01:00
John Cupitt
11b136b2df pyvips8 can create new metadata
previously it tried to lookup the type of the field in set(), now if
OK if there's no field there already
2016-06-17 11:27:13 +01:00
John Cupitt
d56cd4dcb2 note py problem 2016-06-17 09:36:04 +01:00
John Cupitt
f3326c8126 better vips_resize() for cubic/linear/nearest
vips_resize() used to do most of a downsize with vips_shrink() and the
final 200 - 300% with vips_reduce(). This was correct for lanczos2/3,
but not right for linear/cubic, which need more shrink and less
reduce to avoid aliasing.

This patch makes vips_resize() leave the final 100 - 200% to
vips_reduce() for linear/cubic, and leave everything to reduce for
nearest.
2016-06-16 09:46:02 +01:00
John Cupitt
58be330714 oop problems found in reducev 2016-06-14 14:56:56 +01:00
John Cupitt
83b1c33441 add tests for C++ += etc
all seems to work!
2016-06-11 20:14:48 +01:00
John Cupitt
28efdf1695 working! 2016-06-11 17:36:06 +01:00
John Cupitt
6fa665d6de notes 2016-06-10 14:45:33 +01:00
John Cupitt
b90145ca31 free pixel buffers on image close
We were freeing pixel buffers on thread exit. This was convenient, but
meant that main thread buffers were not freed until program exit. As a
result, long-running programs which created main thread buffers would
slowly fill the operation cache with useless junk, forcing everything else out.

This change also frees pixel buffers on image close. This makes the
cache work much better in long-running programs, and can substantially
reduce memory use.

See https://github.com/jcupitt/libvips/issues/466
2016-06-06 13:50:25 +01:00
John Cupitt
37131e5834 not working tests 2016-06-06 11:03:31 +01:00
John Cupitt
3c696d9a18 notes about sharp needs 2016-06-06 06:39:34 +01:00
John Cupitt
15878bffca Revert "free main-thread pixel buffers"
This reverts commit 2a77301033.
2016-06-06 06:38:18 +01:00
John Cupitt
2a77301033 free main-thread pixel buffers
threads keep pixel buffers in thread-private storage, and free these
buffers on thread exit ... this means buffers created by the main thread will
only be freed on program exit!

if your program creates any main-thread buffers, these buffers will
eventually fill the operation cache and force everything else out,
making the cache useless

this patch explicitly frees main-thread pixel buffers on image close
2016-06-05 16:59:07 +01:00
John Cupitt
cf56b43ebf notes 2016-06-05 16:34:10 +01:00
John Cupitt
c5a4afbe40 support --strip for tiffsave
stops metadata save
2016-06-02 13:14:15 +01:00
John Cupitt
ff8f6364a4 update notes 2016-06-01 16:12:20 +01:00
John Cupitt
916e5b5589 set filename on file read for more types
the new loaders were missing the line to set the output filename, so
`vipsheader fred.pdf` was not displaying the filename correctly
2016-06-01 09:14:01 +01:00