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
39406877a2
Merge branch '8.6'
2018-01-12 17:23:24 +00:00
John Cupitt
94daa18884
fix read of plane-separate, large-strip tiff
...
TIFFReadScanline() is too fiddly to use on plane-separate, large-strip
images ... ban it!
see https://github.com/jcupitt/libvips/issues/855
2018-01-12 17:04:47 +00:00
John Cupitt
18f530c724
Merge branch '8.6'
2018-01-12 12:02:41 +00:00
John Cupitt
24c07cfde2
revert an accidental ABI break
...
the new window manager code in 8.6.1 changed the prototype of an internal
function which was visible in the public API
this patch renames the function, adds it to an internal header instead,
and adds a stub for the old prototype
see https://github.com/jcupitt/libvips/issues/854
2018-01-12 11:56:17 +00:00
John Cupitt
925667f8d3
Merge branch '8.6'
2018-01-05 16:29:56 +00:00
John Cupitt
1b89d62eb5
fix a race associated with sink_screen
...
sink_screen was not keeping a ref to its input, so in rare conditions
it could try to make a region on a dead image
2018-01-05 16:27:44 +00:00
John Cupitt
68e0067840
note rgb->g improvement
2018-01-03 08:34:15 +00:00
John Cupitt
4c2434ab67
fix memleak in dzsave
...
tree elements were not being freed, thanks lovell
see https://github.com/jcupitt/libvips/issues/837
2018-01-01 11:40:04 +00:00
John Cupitt
39ab05469f
Merge branch '8.6'
2017-12-31 12:57:57 +00:00
John Cupitt
9febc3ac3e
seq could be set on small random images
...
images under the disc threshold opened in random access mode from
sequential loaders would have the seq tag set on them, causing
performance problems with vips_resize()
see https://github.com/jcupitt/libvips/issues/840
2017-12-31 12:56:11 +00:00
John Cupitt
a128149009
Merge branch '8.6'
2017-12-31 10:39:36 +00:00
John Cupitt
77287a938f
fix misspelling of IPTC as IPCT
...
the letters have been accidentally swapped for years
add a compat macro so older code still works
2017-12-31 10:23:27 +00:00
John Cupitt
e12df167e6
Merge branch 'magicksave' of https://github.com/dlemstra/libvips into dlemstra-magicksave
2017-12-23 12:39:50 +00:00
John Cupitt
eea8b61f3f
tiny cleanup
...
make the code for error during jpeg buffer write a little cleaner --
rather than calling the jpeg term method ourselves, have a separate
destroy function for the write buffer
2017-12-19 08:56:51 +00:00
John Cupitt
424b359d33
bump wrapper script version
...
and add a test too
see https://github.com/jcupitt/libvips/issues/834
2017-12-17 10:50:57 +00:00
John Cupitt
19e2e2e208
add credit to changelog
2017-12-16 10:01:04 +00:00
John Cupitt
f4f9667406
remove the 64 image limit on bandary
...
any number of input images now
see https://github.com/jcupitt/libvips/issues/822
2017-12-15 14:21:31 +00:00
John Cupitt
3c0a2e4837
fix window cycling
...
we were repeatedly free-ing and new-ing input mmap windows ... this made
things like zoom out on large images in nip2 much slower than they
needed to be
2017-12-10 17:37:07 +00:00
John Cupitt
e9b7231ac0
add "extend" option to affine
...
so for upsizing with displacement (like resize) we can prevent dark
edges on bright images
see
https://github.com/jcupitt/php-vips/issues/61
2017-12-07 14:51:07 +00:00
John Cupitt
60bd5f6512
add composite2 to notes
2017-12-01 13:37:15 +00:00
John Cupitt
13a693c8bc
Merge branch 'master' into add-extra-dzsave-tiles
2017-12-01 13:33:54 +00:00
John Cupitt
9c8790b40a
setting EXIF data blocks sets other tags too
...
calling vips_image_set() to set the EXIF data block VIPS_META_EXIF_NAME
will automaticaly set other tags, like orientation etc.
2017-11-27 15:15:21 +00:00
John Cupitt
10eef89a7f
update c++ bindings
2017-11-26 17:45:04 +00:00
John Cupitt
406e228c9b
vips_resize() is always centre convention
...
it was corner for downsize, but should be centre to match imagemagick
2017-11-26 15:24:40 +00:00
John Cupitt
7db13412e5
deprecate centre option to resize
...
it's now centre on upsize, corner on downsize
see https://github.com/jcupitt/libvips/issues/705
2017-11-25 14:22:20 +00:00
John Cupitt
5664a0d9b1
dzsave outputs extra tiles along right and bottom
...
the deepzoom spec wants tiles to be written along the right and bottom,
even of those tiles contain no new pixels
this patch seems to work, but needs testing
see: https://github.com/jcupitt/libvips/issues/795
2017-11-24 15:54:22 +00:00
John Cupitt
6a4b249445
add dispose handling
...
see https://github.com/jcupitt/php-vips/issues/59
2017-11-22 17:37:31 +00:00
John Cupitt
27621733f2
add gif-comment
2017-11-22 13:10:06 +00:00
John Cupitt
e56282e1fd
add gif-loop metadata
...
see https://github.com/rokka-io/imagine-vips/issues/3
2017-11-21 16:04:18 +00:00
John Cupitt
a4b89aa370
credit for affine fixup
2017-11-18 15:11:02 +00:00
John Cupitt
fcec6d639b
fix jaggies on the edge of affine output
...
and add a "background" param
2017-11-17 16:30:25 +00:00
John Cupitt
4ea743f5e6
add combine mode to find_indexed
2017-11-03 16:36:09 +00:00
John Cupitt
487c112807
add VIPS_COMBINE_MIN combining mode
...
for vips_compass()
2017-11-02 12:34:01 +00:00
John Cupitt
55e577a2fb
rename nearest as fill_nearest
...
avoid a clash with the nearest-neighbour interpolator
2017-11-01 15:06:37 +00:00
John Cupitt
cdc286e9d6
switch to float distance calculations
...
removes dithering effects along edges
2017-11-01 13:16:36 +00:00
John Cupitt
3b75b1e2ac
fix gcc7 build
...
removed exception specs from deprecated C++ binding
2017-10-24 09:31:23 +01:00
John Cupitt
5ec1d5b72f
fix vipsthumbnail --size Nx
...
oh dear, width but not height size specs to vipsthumbnail were not working
thanks jrochkind
see https://github.com/jcupitt/libvips/issues/781
2017-10-23 22:27:23 +01:00
John Cupitt
dd503c03c6
add vips_value_set_blob_free()
...
simpler for language bindings to call
2017-10-19 16:37:43 +01:00
John Cupitt
68ed42e2fa
make linear and cubic adaptive
2017-10-15 22:09:44 +01:00
John Cupitt
008fd21728
all done
2017-10-14 17:03:48 +01:00
John Cupitt
135d7a4dfb
Merge branch '8.5'
2017-10-11 12:57:18 +01:00
John Cupitt
b4a6e6e309
spelling
2017-10-11 11:24:43 +01:00
John Cupitt
fd1d332892
update change notes
2017-10-11 10:12:01 +01:00
John Cupitt
40f20e5e0a
Merge branch 'master' into gargsms-text-autofit
2017-10-10 13:04:31 +01:00
John Cupitt
12db3e936c
Merge branch '8.5'
2017-10-09 22:35:29 +01:00
John Cupitt
6f16a9df71
fix a crash with heavy use of draw
...
we were leaving a few bits of the original image around after
vips_image_copy_memory(), including the progress signal ... if earlier images
were freed, perhaps by a GC in a language binding, we could get a dangling
pointer
thanks Nakilon, see https://github.com/jcupitt/ruby-vips/issues/140
2017-10-09 22:27:36 +01:00
John Cupitt
3f22424d3b
test for gcc4 and ban vectors
...
it has severe code gen problems, it seems
this seems to ban clang as well, unfortunately
2017-10-07 11:20:21 +01:00
John Cupitt
aae5babfcc
Merge branch 'master' into add-composite
2017-10-01 19:37:26 +01:00
John Cupitt
560f8ac727
add goi note to changelog
...
see https://github.com/jcupitt/libvips/issues/741
2017-10-01 19:35:44 +01:00
John Cupitt
4b24d82e8c
some cleanups, a bit quicker
...
it now has separate premultiplied and not-premultiplied paths
2017-09-27 17:32:05 +01:00
John Cupitt
64be1d89b5
add gravity
2017-09-20 00:43:17 +01:00
John Cupitt
b2f66a3968
add note on svgload improvement
2017-09-17 05:20:48 +01:00
John Cupitt
e346fd639e
built-in python bindings default to off
...
we still make a typelib by default though
use the new pyvips binding instead, "pip install pyvips"
2017-09-13 18:24:32 +01:00
John Cupitt
48680dccc4
remove python test suite
...
it's in pyvips now
2017-09-13 17:45:29 +01:00
John Cupitt
60f212c371
credit!
2017-09-11 11:54:01 +01:00
John Cupitt
0f4feb1b73
note file create time change
2017-09-11 11:22:20 +01:00
John Cupitt
5a37d3e809
add an intent option to thumbnail
...
"intent" lets you set the rendering intent for any ICC conversions --
the default is the (more correct) relative, but "perceptual" can look
better
see https://github.com/jcupitt/libvips/issues/714
2017-08-30 16:34:46 +01:00
John Cupitt
820c279697
Merge branch '8.5'
2017-08-30 14:59:16 +01:00
John Cupitt
653e99ea82
don't build enumtypes so often
...
we were only replacing enumtypes if it had changed, but this meant that
make usually thought it was out of date compared to the source files,
and rebuilt it, which needed perl
now we always replace it, so (hopefully) perl is no longer a
compile-time dependency
2017-08-30 14:37:48 +01:00
John Cupitt
2b70348d23
Merge branch '8.5'
2017-08-29 10:33:45 +01:00
John Cupitt
e2c83fe4bd
fix jpegload fail
...
we were only failing on libjpeg errors, but libjpeg treats very serious
things thaht we want to be able to catch (like truncated files) as warnings
... we must therefore error out if fail is set and libjpeg issues a warning
see https://github.com/lovell/sharp/issues/793
2017-08-29 09:49:38 +01:00
John Cupitt
d12f8e200a
support tiffsave_buffer pyramids
...
add support for tiff pyramid save to memory, thanks bubba
see https://github.com/jcupitt/libvips/issues/702
2017-08-26 16:26:37 +01:00
John Cupitt
2e513eef82
enable seq mode for join
...
much faster for large TIFFs
see https://github.com/jcupitt/libvips/issues/717
2017-08-25 10:53:44 +01:00
John Cupitt
97997d1990
Merge branch '8.5'
2017-08-18 22:13:51 +01:00
John Cupitt
f2576003b7
fix webp upscale in thumbnail
...
we could try to use webp shrink on load to upscale, oops
see https://github.com/jcupitt/libvips/issues/710
2017-08-18 22:08:43 +01:00
John Cupitt
3cf33d7f32
Merge branch '8.5'
2017-08-18 12:32:12 +01:00
John Cupitt
f2c55e80fe
better dzsave with zip output to a file
...
close down output earlier to help mark-sweep bindings
2017-08-18 12:31:24 +01:00
John Cupitt
63550280a4
Merge branch '8.5'
2017-08-04 18:31:25 +01:00
John Cupitt
47a763209a
hide warnings if VIPS_WARNING is defined
...
If VIPS_WARNING is defined, suppress all warning messages from vips by
installing a null log handler.
Libraries should not call g_log_set_handler(), it is supposed to be for
the application layer, but this can be awkward to set up if you are using
libvips from something like Ruby.
This env var hack is a workaround.
see https://github.com/jcupitt/ruby-vips/issues/119
see https://github.com/jcupitt/libvips/issues/544
2017-08-04 18:01:19 +01:00
John Cupitt
e46a56e137
remove lcms1 support
...
it had bitrotted and no longer worked properly
2017-08-02 13:39:28 +01:00
John Cupitt
302f4f2517
Merge branch '8.5'
2017-08-02 11:05:39 +01:00
John Cupitt
58f9757467
fix transparency detection in merge
...
a typo meant we were just testing the first band for zero, not all three
thanks Haida!
2017-08-02 10:41:10 +01:00
John Cupitt
a3b226aa9b
version bump
2017-08-02 10:40:17 +01:00
John Cupitt
639b0f5021
Merge branch '8.5'
2017-07-29 10:40:44 +01:00
John Cupitt
69f70a7e24
Merge branch '8.5' into tweak-smartcrop-8.5
2017-07-28 18:04:23 +01:00
John Cupitt
1e7541bfb8
add find_trim
...
compiles, not yet working
2017-07-25 14:52:45 +01:00
John Cupitt
a8fb38fb6a
Merge branch '8.5'
2017-07-08 16:06:18 +01:00
John Cupitt
64fe910fc5
fix DPI mixup
...
librsvg defaulted to 90 DPI, but libvips to 72 DPI -- add a correction
factor
thanks Fosk!
see https://github.com/jcupitt/libvips/issues/688
2017-07-08 12:31:36 +01:00
John Cupitt
9a1c3f9405
rename 'disc' as 'memory'
...
the old 'disc' flag to open defaulted TRUE and disabled read via disc if you
set it FALSE, which was very confusing
replace it with a flag called 'memory' which defaults FALSE and forces
read via memory if set TRUE
'disc' is still there and still works, it's just tagged as deprecated
see https://github.com/jcupitt/libvips/issues/677
2017-07-07 09:45:49 +01:00
John Cupitt
91457e455a
add "page-height" save property
2017-06-19 09:31:49 +01:00
John Cupitt
5383554724
Merge branch '8.5'
2017-06-12 18:23:07 +01:00
John Cupitt
4d846534b8
transform cmyk->rgb automatically
...
if:
- we are writing a cmyk image
- there is an embedded profile
- the saver does not support cmyk
see https://github.com/jcupitt/libvips/issues/676
2017-06-12 18:19:20 +01:00
John Cupitt
869f3dae04
revise again
...
seems to work on all test images now
2017-06-09 11:50:27 +01:00
John Cupitt
aeff03b951
Merge branch '8.5'
2017-05-29 10:21:02 +01:00
John Cupitt
7bcf0bb93f
don't cache thumbnail
...
thanks tomasc! see
jcupitt/ruby-vips#109
2017-05-29 10:19:21 +01:00
John Cupitt
354921df83
Merge branch '8.5'
2017-05-28 06:34:11 +01:00
John Cupitt
6a189d068b
mark vipsprofile as python2
...
Some distros have python3 as the default, so make vipsprofile explicitly
python2, thanks ioquatix.
See https://github.com/jcupitt/libvips/issues/667
2017-05-28 06:33:58 +01:00
John Cupitt
027b9ccc9c
Merge branch '8.5'
2017-05-26 09:09:33 +01:00
John Cupitt
7b64246af2
fix a couple of issues with huge profiles
...
The base64 encode limit was 1MB, but some huge profiles can get over
that, so it's now 10MB.
transform_save_string_blob() was incorrectly setting a refstring not a
blob as an error fallback, potentially leaving a dangling pointer.
Thanks Jaume!
See https://github.com/jcupitt/libvips/issues/666
2017-05-26 09:04:15 +01:00
John Cupitt
5216d75b83
Merge branch '8.5'
2017-05-19 16:16:16 +01:00
John Cupitt
5df65ec6fd
fix tiff read with page > 0
...
could break edge tiles under some circumstances
2017-05-19 16:07:36 +01:00
John Cupitt
8c8b71d935
Merge branch '8.5'
2017-05-15 11:35:47 +01:00
John Cupitt
2b0ebb0de2
fix test suite thresholds
...
changes in jpg encode/decode mean we must adjust test suite thresholds
2017-05-15 11:21:13 +01:00
John Cupitt
6dbdc173a2
better prefix guessing on Windows
...
see https://github.com/tumagonx/pygi-mingw-patches/issues/5
2017-05-13 11:11:32 +01:00
John Cupitt
82994e4c33
add vips_thumbnail_image()
...
thumbnail with an image source, see
https://github.com/jcupitt/libvips/issues/656
2017-05-12 18:20:37 +01:00
John Cupitt
5c6979cdcb
Merge branch '8.5'
2017-05-12 17:25:01 +01:00
John Cupitt
942b0446a3
revise fail handling, again
...
clarify policy on file read errors and warnings:
* if the file format library reports a warning, we log it in vips, but
that's all
* if the file format library reports an error, we log it, but try to
continue
* if the file format library reports an error and fail is set, we log it
and fail
all loaders now implement this
2017-05-12 17:22:49 +01:00
John Cupitt
a10787baa3
Merge branch 'add-force-size'
2017-05-10 17:08:32 +01:00
John Cupitt
3019e5966b
vips_conv*() default to float
...
we had INT as the default, but this will cause serious precision loss
with many masks ... instead, have float (always correct) as the default
and let people turn on int if they cn
2017-05-08 13:28:23 +01:00