John Cupitt
6cff74b602
vips_image_write() could crash if called twice
...
two writes in a row could trigger a crash in some circumstances, thanks
@dirceupj
see https://github.com/jcupitt/ruby-vips/issues/156
2018-03-04 15:14:06 +00:00
John Cupitt
8b2da0acb3
Merge branch '8.6'
2018-03-03 10:36:29 +00:00
John Cupitt
e1cac22176
oop missing AC_DEFINE for libjpeg
2018-03-03 10:25:15 +00:00
John Cupitt
bc0b8ba5c1
sobel done
2018-02-28 22:51:31 +00:00
John Cupitt
bf70c49fa5
add a fast uchar sobel
2018-02-27 18:19:07 +00:00
John Cupitt
d5aabaa23e
Merge branch 'add-canny' of github.com:jcupitt/libvips into add-canny
2018-02-27 12:08:15 +00:00
John Cupitt
4a59fa652c
make vips_sobel()
...
cut out of vips_canny()
2018-02-26 18:33:20 +00:00
John Cupitt
b07a7c60b7
Merge branch 'master' into add-canny
2018-02-26 09:26:22 +00:00
John Cupitt
aa53f632e7
doc polish
2018-02-23 09:32:14 +00:00
John Cupitt
2349dcf110
oops, forgot to enable jpg
2018-02-22 16:34:01 +00:00
John Cupitt
a9b4aeb13a
Merge branch '8.6'
2018-02-21 19:01:43 +00:00
John Cupitt
529c8247a5
Merge branch 'master' into add-canny
2018-02-19 15:49:27 +00:00
John Cupitt
e7a0d98364
revise docs slightly
2018-02-14 14:52:50 +00:00
John Cupitt
a9b343f29a
use pkg-config to find libjpeg
...
fall back to FIND_JPEG if we have to, see
https://github.com/jcupitt/libvips/issues/431
2018-02-12 13:31:49 +00:00
John Cupitt
bbe42e13fa
version bump
2018-02-12 12:39:53 +00:00
John Cupitt
0365e3403e
add double threshold to canny
...
and some more tuning
2018-02-10 16:07:21 +00:00
John Cupitt
407291c3ff
try a simpler edge detect in canny
...
simple +/- differencing seems to work better
2018-02-08 17:14:26 +00:00
John Cupitt
43cbd32955
try interpolating theta
2018-02-05 09:22:58 +00:00
John Cupitt
8753cdfc61
Merge pull request #871 from lovell/cplusplus-vimage8h-static-cast
...
Make size_t to int cast explicit to prevent compiler warning
2018-02-04 09:52:06 +00:00
Lovell Fuller
cea15b2d8f
Prevent compiler warning with size_t to int cast
2018-02-03 18:05:07 +00:00
John Cupitt
ce6d37189c
non-interpolatory edge thinning works
...
woo
2018-02-03 17:34:49 +00:00
John Cupitt
6944f78452
add edge thinning to canny
2018-02-03 10:14:09 +00:00
John Cupitt
a93e8dd079
start adding canny
...
just adding edge thinning
see https://en.wikipedia.org/wiki/Canny_edge_detector
2018-02-02 17:00:23 +00:00
John Cupitt
ce1f236c4d
another 2x faster on hough_line
2018-02-02 09:12:31 +00:00
John Cupitt
59afb52f7c
hough_circle 20% speedup
2018-02-02 07:39:10 +00:00
John Cupitt
78db92e60e
better hough_line
...
2x faster, better parameter space, but breaks compat :( sorry
2018-02-01 20:41:14 +00:00
John Cupitt
f56fbf564f
oops
2018-02-01 16:28:41 +00:00
John Cupitt
5a4b4e196d
allow remove thumbnail from exif
...
if the user has removed (or set to NULL) the "jpeg-thumbnail-data" tag,
remove it from the image EXIF on save
see https://github.com/jcupitt/ruby-vips/issues/147
2018-02-01 16:15:02 +00:00
John Cupitt
749f4a902a
Merge branch '8.6'
2018-01-31 20:47:01 +00:00
John Cupitt
e8958cb8ae
improve changelog
2018-01-31 20:45:14 +00:00
John Cupitt
01eed391ab
add sync locks to vips_sink()
...
vips_sink() used to just fire off threads willy nilly -- this could
cause problems with sequential images if a worker fell too far behind
the pack
copy over the area locking mechanism from vips_sink_memory(): new
threads are now stalled if an old thread has not finished
2018-01-31 16:25:06 +00:00
John Cupitt
19f7da9de2
Merge branch 'master' of github.com:jcupitt/libvips
2018-01-31 10:07:26 +00:00
John Cupitt
421f659d33
allow 1 mode in composite
...
reused for all joins
see https://github.com/jcupitt/pyvips/issues/30
2018-01-30 10:12:03 +00:00
John Cupitt
5fd2ecf81d
remove limit on n image in composite
...
composite was limited to a max of 64 images ... remove the limit
see https://github.com/jcupitt/pyvips/issues/30
2018-01-30 09:48:34 +00:00
John Cupitt
766c7bc765
oops fix copy-paste error
2018-01-28 17:23:05 +00:00
John Cupitt
4865141afa
szi save will write associated images
...
if they have been attached by openslide load
2018-01-28 16:39:13 +00:00
John Cupitt
18baedcd1e
write associated images to szi
2018-01-28 15:56:08 +00:00
John Cupitt
28391dbfc7
option to attach associated images as metadata
...
you now see:
```
$ vipsheader -a CMU-1.svs[attach_associated] | grep ass
openslide.associated.label: 387x463 uchar, 4 bands, rgb
openslide.associated.macro: 1280x431 uchar, 4 bands, rgb
openslide.associated.thumbnail: 1024x732 uchar, 4 bands, rgb
slide-associated-images: label, macro, thumbnail
```
2018-01-27 16:43:58 +00:00
John Cupitt
de2e3e3299
add vips_image_(get|set)_image()
...
so images can have other images as metadata
2018-01-27 14:49:33 +00:00
John Cupitt
605d93c92f
add SZI container type
...
and improve the scan-properties file a bit
2018-01-27 12:52:22 +00:00
John Cupitt
00d8517203
Merge branch 'master' into fix-szi
2018-01-27 11:43:56 +00:00
John Cupitt
43e2f2bf9a
Merge branch 'master' of github.com:jcupitt/libvips
2018-01-27 11:43:31 +00:00
John Cupitt
e0fd75266c
update opens-files chapter
2018-01-27 11:43:03 +00:00
John Cupitt
21e1e68771
write scan-properties.xml to szi
...
see https://github.com/jcupitt/libvips/issues/853
2018-01-26 17:20:58 +00:00
John Cupitt
c46f4b15e0
dzsave to szi sets extension correctly
...
see https://github.com/jcupitt/libvips/issues/852
2018-01-26 15:36:43 +00:00
John Cupitt
c8afbb92e2
update doc
2018-01-26 15:34:52 +00:00
John Cupitt
97a4ed2ca9
fix a c++ warning
...
see https://github.com/jcupitt/libvips/pull/864
2018-01-26 07:56:43 +00:00
John Cupitt
2cd606bdb2
Merge pull request #864 from lovell/missing-sentinel-composite
...
composite.cpp: silence 'missing sentinel' warnings in GCC v6+
2018-01-26 07:37:17 +00:00
Lovell Fuller
89d8fb3380
Silence 'missing sentinel' warnings in GCC v6+
2018-01-25 23:18:28 +00:00
John Cupitt
799b1e4910
fix --without-magick
...
it didn't interact well with the new magickload/magicksave flags, thanks
Alex
see https://github.com/jcupitt/libvips/issues/862
2018-01-24 09:28:02 +00:00