Commit Graph

5006 Commits

Author SHA1 Message Date
John Cupitt 846e4209f9 fix rounding in region shrink
we were not rounding int averages to nearest, thanks beaudet

see https://github.com/jcupitt/libvips/issues/659
2017-05-18 20:36:20 +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 620e9ebf27 missing backslash in makefile 2017-05-15 10:48:09 +01:00
John Cupitt 15853504a7 fix gtk-doc, again 2017-05-13 11:49:32 +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 d1ca808769 raise tiffsave tile size limit
see https://github.com/jcupitt/libvips/issues/655
2017-05-12 17:47:49 +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 b6ed34d532 notes 2017-05-12 11:37:29 +01:00
John Cupitt 689b632702 better locale guess for win32
see
https://github.com/tumagonx/pygi-mingw-patches/blob/master/gst-plugins-base-1.4.x.patch

also

https://github.com/tumagonx/pygi-mingw-patches/issues/5
2017-05-11 19:49:29 +01:00
John Cupitt ba129fceb3 better win32 compatibility
try to fold the patches @tumagonx maintains into libvips master, see:

https://github.com/tumagonx/pygi-mingw-patches/blob/master/vips-8.4.x.patch

still missing the bindtextdomain() patch though
2017-05-11 17:08:10 +01:00
John Cupitt 636c6ede81 notes 2017-05-11 14:13:38 +01:00
John Cupitt a3d6fb25e6 docs for vips_compass() 2017-05-11 09:38:20 +01:00
John Cupitt 45c49d6ff1 sync 2017-05-10 20:47:30 +01:00
John Cupitt a10787baa3 Merge branch 'add-force-size' 2017-05-10 17:08:32 +01:00
John Cupitt 5b321b7f28 remove missing res warning for tiff
remove the warning for no res info in tiff, it happened all the time and
wasn't important
2017-05-09 12:39:15 +01:00
John Cupitt 10220ee08c Merge branch 'master' of github.com:jcupitt/libvips 2017-05-09 09:13:43 +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
John Cupitt e897311af8 Merge branch '8.5' 2017-05-05 14:28:21 +01:00
John Cupitt 2f6f2b93ef add more thumbnail tests
esp. the new force mode
2017-05-05 14:13:49 +01:00
John Cupitt 8e7a00105f fix --force and autorot
need to swap output axes, not input
2017-05-05 09:45:21 +01:00
John Cupitt 260180197d done! but needs some tests 2017-05-04 14:54:49 +01:00
John Cupitt 2b75a372d1 more truncated png improvements 2017-05-03 10:32:24 +01:00
John Cupitt 3900cebdf8 start adding FORCE
start experimental implementation

see https://github.com/jcupitt/libvips/issues/648
2017-05-01 17:22:03 +01:00
John Cupitt 1504fb0249 use bandjoin_const from cpp 2017-04-29 10:17:38 +01:00
John Cupitt 39ea6ce492 all done 2017-04-29 10:07:41 +01:00
John Cupitt 04353f8915 added new_from_image() to python
and tests
2017-04-28 18:27:15 +01:00
John Cupitt 7882602dfe C/C++ done
python next
2017-04-26 14:52:28 +01:00
John Cupitt b0f8246c90 Merge branch '8.5' 2017-04-26 10:31:33 +01:00
John Cupitt cc38097560 better handling of truncated PNG files
improve fail support, and bail out sooner

see https://github.com/jcupitt/libvips/issues/646
2017-04-26 10:25:52 +01:00
John Cupitt c0f5fcd975 rename nlines as n_lines
to improve consistency
2017-04-26 09:45:00 +01:00
John Cupitt 5cadbb9882 Merge branch 'master' of github.com:jcupitt/libvips 2017-04-25 13:36:05 +01:00
John Cupitt f6ad8465b6 add Cite section 2017-04-24 17:34:13 +01:00
John Cupitt f71aa79352 update docs 2017-04-23 22:42:06 +01:00
John Cupitt ca0bc5f20f update docs 2017-04-23 22:22:52 +01:00
John Cupitt d1be9dd1ce Merge branch '8.5' 2017-04-23 22:10:22 +01:00
John Cupitt f0cb008e23 fix php formatting
thanks @kleisauke !
2017-04-23 22:09:17 +01:00
John Cupitt 9434f1f86d more doc tweak 2017-04-23 19:29:02 +01:00
John Cupitt 45f94fefeb oop left a merge half-merged 2017-04-23 19:22:23 +01:00
John Cupitt 4c8d83ce85 Merge branch '8.5' 2017-04-23 18:54:40 +01:00
John Cupitt 8bf0a05948 doc polishing 2017-04-23 18:52:05 +01:00
John Cupitt 757065baab Merge branch '8.5' 2017-04-23 09:58:11 +01:00
John Cupitt a067dc4140 oop credit fix 2017-04-23 09:57:55 +01:00
John Cupitt d8fce50284 Merge branch '8.5' 2017-04-23 09:57:02 +01:00
John Cupitt 4c502fcbf3 add more seq tests 2017-04-23 09:43:01 +01:00
John Cupitt 722314ed10 one printf too many 2017-04-23 08:38:06 +01:00
John Cupitt 7938903d22 don't size caches by image width
we were sizing buffers partly by image width, which could cause caches
to be too small if width changed down a pipeline

see https://github.com/jcupitt/libvips/issues/639
2017-04-23 08:31:16 +01:00
John Cupitt da2b195408 put sequential trace back 2017-04-23 08:26:00 +01:00