John Cupitt
c6eb9ee0f2
experiment with removal of seq stall
2017-02-21 09:44:21 +00:00
John Cupitt
6691e07d72
notes on seq removal
2017-02-21 09:14:26 +00:00
John Cupitt
f45f6ad52f
oop, forgot to comment out DEBUG
...
thanks Lovell
2017-02-21 08:24:46 +00:00
John Cupitt
197a21ed0e
don't load 0 length profiles
...
some tiffs have 0 length icc profiles ... test profile length before we
try to load it
see https://github.com/jcupitt/libvips/issues/605
2017-02-20 22:36:35 +00:00
John Cupitt
3f92cfc935
oops, don't copy header fields
...
in prev commit
2017-02-20 13:42:19 +00:00
John Cupitt
abf6a250c2
fix wrapmany compat
...
it was not setting reorder hints, then failing on recomp
the nip2 display control bar was broken by this, for example
2017-02-20 13:32:12 +00:00
John Cupitt
6d95cfd0c5
tweak docs
...
see https://github.com/jcupitt/libvips/issues/558
2017-02-20 11:10:04 +00:00
John Cupitt
6fb2122a5f
notes
2017-02-19 17:51:36 +00:00
John Cupitt
53f374434d
fix build on centos7
...
see https://github.com/jcupitt/libvips/issues/601
2017-02-19 10:20:37 +00:00
John Cupitt
646960077d
fix cache hint for shrink
...
shrink had UNBUFFERED as a cache hint, but for non-int shrinks it used
affine, so you could get out of order reads
set regular SEQ as the cache hint, and switch to reduce for the final
resize in the non-int case
see https://github.com/jcupitt/libvips/issues/596
2017-02-09 09:10:03 +00:00
John Cupitt
8834b55c47
oops
...
ahem missed a rename
2017-01-30 11:28:23 +00:00
John Cupitt
21a5d0dfe4
speeling
2017-01-29 12:24:25 +00:00
John Cupitt
e210411404
enable bigtiff for large, uncompressed writes
...
if compression is off and the image is >4gb, make sure bigtiff is
enabled
this won't always work: if the image is just under the 4gb limit, it
could be pushed over the edge by a lot of metadata. And of course the
libtiff vips is using could be missing bigtiff support
see https://github.com/jcupitt/libvips/issues/591
2017-01-29 12:20:57 +00:00
John Cupitt
2b482fc2cf
seems to work!
2017-01-27 16:43:37 +00:00
John Cupitt
9cc868a7e3
Merge branch 'master' into add-tiff-scanline-load
2017-01-27 11:36:28 +00:00
John Cupitt
756e69cf96
make pngload from buffer set flags
...
and remove some dead code from jpegload
2017-01-27 11:15:48 +00:00
John Cupitt
94434c2359
tiff buffer loader supports get_flags
...
the tiff buffer loader was not setting any flags, so seq was using a
temp file (for example)
see https://github.com/jcupitt/libvips/issues/590
2017-01-27 10:32:47 +00:00
John Cupitt
ec093100fb
use fits_open_diskfile(), not fits_open_file()
...
so we can open any filename ... fits_open_file() parses fits extended
filename formats
see https://github.com/jcupitt/libvips/issues/584
2017-01-26 20:17:29 +00:00
John Cupitt
386d44ef38
more dbg in foreign.c
2017-01-26 18:29:43 +00:00
John Cupitt
a34cc2fdf3
notes
2017-01-26 12:07:14 +00:00
John Cupitt
0108d1d605
experiment with scanline load for tiff
...
trying to get memuse down for images with huge rows-per-strip
2017-01-26 12:05:14 +00:00
John Cupitt
276fc83fa1
more VIPS_INIT() docs
...
see https://github.com/jcupitt/libvips/issues/588
2017-01-26 08:46:27 +00:00
John Cupitt
7136053451
sort max/min results by y and x coordinate
...
previously the list of maxima or minima found by max/min were in found
order, so essentially random
they now sort equal values by y then x coordinate, so the results are
consistent between runs, provided there are fewer maxima / minima than
are being tracked
2017-01-24 14:25:15 +00:00
John Cupitt
fb544e3f25
add note about non-determinism in stats
...
added a note to the docs for max/min/stats about non-determinism in the
results if there are many maxima/minima
thanks Mark
2017-01-24 12:14:55 +00:00
John Cupitt
61d9f03ef8
tiny fixes
2017-01-24 11:02:40 +00:00
John Cupitt
c9ce8f70a1
fix an off-by-one error in hist_local
...
an odd window width caused an off-by-one error in histogram construction
2017-01-24 10:51:12 +00:00
John Cupitt
36761bcfd7
make vips_gaussnoise() pixels reproducible
...
previously, pixel values were regenerated on every calculation, so they
changed on recomputation
pixel values are now generated from the pixel (x, y) coordinate plus a per-call
seed
thanks MvGulik, see
https://github.com/jcupitt/nip2/issues/60
https://github.com/jcupitt/libvips/issues/583
2017-01-24 09:36:25 +00:00
John Cupitt
c963678549
more hist_local fixups
...
add tests, add restrict
2017-01-22 10:36:07 +00:00
John Cupitt
9660036216
credit hunter-87
...
see https://github.com/jcupitt/libvips/issues/268
2017-01-22 10:09:40 +00:00
John Cupitt
fa3c92c19b
add CLAHE
...
vips_hist_local() has a new param, max_slope, which sets the maximum
amount that the local contrast can be boosted by -- CLAHE
see https://github.com/jcupitt/libvips/issues/268
also fix a couple of small range problems
- scale by 255, not 256, to avoid an overflow
- cum hist includes the current value, so sum to <= target, not < target
2017-01-22 10:05:58 +00:00
John Cupitt
c89014fb3f
first hack
2017-01-20 14:59:24 +00:00
John Cupitt
d05018155d
adjust notes for coverity changes
2017-01-20 09:16:46 +00:00
John Cupitt
8d49dee32c
travis OS X done
...
clean up, don't allow fail
2017-01-20 08:56:23 +00:00
John Cupitt
b140c18a37
various tweaks to calm coverity
...
passes cleanly now
2017-01-20 08:55:13 +00:00
John Cupitt
0de517ed23
more travis
...
don't reinstall libtiff
2017-01-19 18:39:57 +00:00
John Cupitt
1f68e690fc
more travis for OS X
...
need to unlink sys py before installing
2017-01-19 16:43:42 +00:00
John Cupitt
9223004377
more travis tweaking
...
try brew install rather than reinstall. The .pc files are often
created by the install method, which might explain why libpng.pc was
missing.
2017-01-19 15:31:33 +00:00
John Cupitt
95793926b5
argh
2017-01-19 14:31:46 +00:00
John Cupitt
fb64671b3e
argh more travis
...
perhaps `pkg-config --debug` will show something useful
2017-01-19 14:13:53 +00:00
John Cupitt
721fae73fa
tweak travis os x again
...
try without PKG_CONFIG_PATH, latest brew seems to not need it
2017-01-19 13:11:58 +00:00
John Cupitt
0bfcf2efc2
add note about vips_hist_find_ndim()
2017-01-19 09:23:05 +00:00
John Cupitt
5111246a1c
oops argh travis
2017-01-18 20:41:10 +00:00
John Cupitt
a0d9a0794e
more dbg in travis.yml
2017-01-18 20:34:43 +00:00
John Cupitt
d91396649f
trying to fix travis OS X
...
try catting config.log
2017-01-18 16:20:22 +00:00
John Cupitt
79c21dfcf8
seems to be done!
2017-01-18 14:39:27 +00:00
John Cupitt
2b72244a45
fix fitsload
2017-01-17 19:09:00 +00:00
John Cupitt
0231b512b4
fits isn't quite working still
2017-01-17 14:53:40 +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
84270ce787
Merge branch 'master' into prepare-reorder
2017-01-15 10:40:25 +00:00