John Cupitt
ae5cbcd985
add note on '!' to vipsthumbnail docs
...
oops, this was missing, thanks beaudet
see https://github.com/jcupitt/libvips/issues/659
2018-07-17 12:39:48 +01:00
John Cupitt
d06c2fee22
use exif_tag_get_name_in_ifd() everywhere
...
exif tag names change with the ids they appear in, so you must always
use exif_tag_get_name_in_ifd(), not exif_tag_get_name()
see: https://github.com/jcupitt/libvips/pull/1030
2018-07-09 09:35:39 +01:00
John Cupitt
274fd7468c
Merge pull request #1030 from Nan619/master
...
Should use exif_tag_name_in_ifd() instead of exif_tag_get_name()
2018-07-09 09:15:14 +01:00
Water Liu
bba03a10d7
Should use exif_tag_name_in_ifd() instead of exif_tag_get_name()
...
vipsheader -a path/to/foo.jpg
...
exif-ifd2-ExifVersion: Exif Version 2.21 (Exif Version 2.21, Undefined, 4 components, 4 bytes)
...
exif-ifd3-InteroperabilityIndex: N (N, ASCII, 2 components, 2 bytes)
exif-ifd3-InteroperabilityVersion: 40/1 1/1 58/100 (40, 1, 0.58, Rational, 3 components, 24 bytes)
The above two tag name are incorrect, should be:
exif-ifd3-GPSLatitudeRef: N (N, ASCII, 2 components, 2 bytes)
exif-ifd3-GPSLatitude: 40/1 1/1 58/100 (40, 1, 0.58, Rational, 3 components, 24 bytes)
Signed-off-by: Water Liu <water@yunify.com>
2018-07-09 11:14:12 +08:00
John Cupitt
8cf34fd8f9
only set PREDICTOR if necessary
...
removes a warning if libtiff is compiled without support
2018-07-08 20:02:02 +01:00
John Cupitt
2695916afb
test region_shrink
...
just sets the option, does not verify accuracy :(
2018-07-07 17:07:35 +01:00
John Cupitt
92ff5be4b8
add notes on testing to the README
2018-07-07 16:22:17 +01:00
John Cupitt
43199e7b27
add tests for exif string fields
...
test exif string tag set/save/load
2018-07-06 17:01:38 +01:00
John Cupitt
51e7645859
fix "make check"
...
eited the wrong file :(
2018-07-06 16:11:02 +01:00
John Cupitt
d510807e90
vmoe the test suite back into libvips
2018-07-06 15:43:20 +01:00
John Cupitt
f0a44ce936
add a few more string types
2018-07-06 12:09:48 +01:00
John Cupitt
63bb380569
fix ASCII exif tag write
...
sigh libexif has three different types of string write
2018-07-04 08:50:14 +01:00
John Cupitt
3a9adbcea9
seems to work
...
could probably add some more fields
2018-07-03 16:36:39 +01:00
John Cupitt
c12cd6d2cb
not quite there
...
trying to set EXIF_TAG_USER_COMMENT but not working
2018-07-03 14:55:47 +01:00
John Cupitt
1cc7dd6af7
start hacking
2018-07-03 10:01:14 +01:00
John Cupitt
039c716f63
revise FIND_*() macros
...
they should set CFLAGS, not INCLUDE
2018-07-02 20:22:41 +01:00
John Cupitt
d756705929
set EXTRASAMPLES on tiff pyr layers
...
we were not copying EXTRASAMPLES when copying pyr layers
2018-07-02 08:32:14 +01:00
John Cupitt
10c4831a70
misplaced include broke the build
2018-06-20 16:19:53 +01:00
John Cupitt
cb76ffb0bd
break quantise out to a separate file
...
slightly simpler reference and memory handling too
2018-06-20 15:38:33 +01:00
John Cupitt
35b4a1a3b5
fix mem leak in pngsave
...
and some reformatting and changelog notes
2018-06-20 14:20:22 +01:00
John Cupitt
a3780a761e
Merge pull request #1009 from felixbuenemann/8bit-png-quantization-support
...
8-Bit PNG Quantization Support
2018-06-20 13:09:17 +01:00
Felix Bünemann
1abc5f901a
Add palette flag to trigger pngsave quantisation
...
and tweak docstrings.
2018-06-19 22:41:40 +02:00
Felix Bünemann
1e68b3a486
Rename pngsave colors/colours, quantize/quantise
2018-06-19 21:32:44 +02:00
Felix Bünemann
c63d7f7373
Change default PNG quantization quality to 100
...
and improve parameter description.
2018-06-19 09:19:43 +02:00
Felix Bünemann
d9d2f7b89a
Add 8bpp PNG quantization support
...
This adds support for saving 8-Bit one band palette based PNG images
with palette based alpha channel (often called PNG8+Alpha).
The image is first converted to sRGBA and then quantized using
libimagequant controlled by the colors, Q and dither params.
2018-06-18 02:22:46 +02:00
Felix Bünemann
b5531cf1ed
Add libimagequant detection to configure
2018-06-18 00:57:18 +02:00
John Cupitt
f5cfd7f17a
Merge pull request #1007 from felixbuenemann/verbose-pyvips-tests
...
Run pytest verbose on Travis CI
2018-06-14 16:58:21 +01:00
Felix Bünemann
0f9e87bc69
Run pytest verbose on Travis CI
...
This should make it easier to see which tests cause problems.
2018-06-14 17:40:27 +02:00
John Cupitt
1e102910cf
allow osx to fail for now
2018-06-14 16:15:43 +01:00
John Cupitt
020dc980f0
Merge pull request #1005 from felixbuenemann/run-pyvips-on-travis-ci
...
Run pyvips test suite on Travis CI
2018-06-14 15:56:39 +01:00
Felix Bünemann
eaa5cfc334
Run pyvips test suite on Travis CI
...
* Download pyvips version specified by PYVIPS_VERSION environment variable
and run its test suite after the C based tests
* Fix the macOS build and use the latest Xcode/macOS versions
* Disable homebrew updates for more predictable builds
* Sync dependencies between linux and osx targets
2018-06-13 23:36:07 +02:00
John Cupitt
d063a81689
fix vipssave on macOS
...
an open had been dropped
see https://github.com/jcupitt/libvips/issues/1004
2018-06-13 21:33:52 +01:00
John Cupitt
581e0178d2
tiffsave has region_shrink param
...
for new pyr shrink stuff
2018-06-13 18:16:03 +01:00
John Cupitt
a373d2c876
add changelog notes for region_shrink
2018-06-13 17:36:36 +01:00
John Cupitt
8a8a093523
Merge pull request #915 from harukizaemon/region-shrink-method
...
WIP: Adds a region shrink method
2018-06-13 17:15:03 +01:00
John Cupitt
2c7684669f
Merge branch 'master' into region-shrink-method
2018-06-13 17:13:16 +01:00
John Cupitt
539cc0616c
Merge branch '8.6'
2018-06-13 16:24:20 +01:00
John Cupitt
e6edcfe20d
improve accuracy of vector path
2018-06-13 16:23:21 +01:00
John Cupitt
eac314b4a2
Merge pull request #1003 from felixbuenemann/fix-convolution-posterization
...
Fix convolution vector path posterization
2018-06-13 16:22:39 +01:00
Felix Bünemann
2041deb917
Fix convolution vector path posterization
...
This fixes posterization in the vector path for convolution caused by a
typo in commit eefb2dad98
.
The fix was suggested by @jcupitt.
2018-06-13 17:18:55 +02:00
John Cupitt
4951040c53
Merge pull request #1002 from janko-m/fix-missing-addalpha-doc
...
Fix missing vips_addalpha() docs
2018-06-13 15:45:54 +01:00
Janko Marohnić
d3faada6f3
Fix missing vips_addalpha() docs
2018-06-13 11:17:45 +02:00
John Cupitt
3b1e3e1841
add Mitchell kernel
...
see https://github.com/jcupitt/libvips/issues/966
2018-06-12 12:55:10 +01:00
John Cupitt
cc29a13cc7
revise composite position code slightly
...
- move x/y into composite and out of composite base, have separate x/y int
params for composite2
- upsize later for a small speed improvement
- doc comment
- note in changelog
see https://github.com/jcupitt/libvips/pull/934
2018-06-11 17:04:29 +01:00
John Cupitt
8693179ef2
Merge pull request #934 from medakk/compositexy
...
Adding x,y arguments to vips_composite
2018-06-11 16:00:29 +01:00
John Cupitt
0e3cac1a72
make cpp overloads const
...
all overloads are declared const now, where possible
also revised cpp examples and ran them to check
see https://github.com/jcupitt/libvips/issues/983
2018-06-11 15:24:11 +01:00
John Cupitt
ca6410e1a6
make members and getters "const" in cpp api
...
eg. VImage::width() is now
int VImage::width() const;
ie. it does not alter the image objects. In factr we can mark almost all
members const.
see https://github.com/jcupitt/libvips/issues/983
2018-06-11 14:30:17 +01:00
John Cupitt
87b3f17846
vips7 API defaults off
2018-06-11 12:44:28 +01:00
John Cupitt
d70c2cd918
revise README for deprecated py7 and py8
...
now the two older python bindings are deprecated and disabled by
default, remove notes about them from README.
2018-06-11 12:23:18 +01:00
John Cupitt
af47ba964a
fix make dist
2018-06-10 16:58:05 +01:00