John Cupitt
c2d1de9a26
allow mixed zoom and shrink in resize
...
vips_resize() now allows >1 on one axis, <1 on the other ... previously,
although you could have non-square ratios, you couldn't mix zoom and
shrink
2016-05-01 12:03:13 +01:00
John Cupitt
73080bb4a5
try to improve mozjpeg test
...
save LIBS around test, test for ABI not header
see https://github.com/jcupitt/libvips/issues/431
2016-04-26 10:41:04 +01:00
John Cupitt
8a31df3214
only save tiles more than 5 from blank
...
looks for max absolute difference
2016-04-26 10:06:59 +01:00
John Cupitt
5e933fe8e9
Merge branch 'master' into no-blank-tiles
2016-04-25 09:54:01 +01:00
John Cupitt
d11a7960b7
add support for giflib5
...
gifload.c now works with giflib5, and well as giflib4 ... forced by
ubuntu's switch to giflib5 in 16.04
see https://github.com/jcupitt/libvips/issues/407
2016-04-25 09:29:25 +01:00
Felix Bünemann
27e3198833
Add webp save/load format tests for "make check"
2016-04-24 18:28:53 +02:00
Felix Bünemann
874cc8b31b
Restore webpsave libwebp-0.1.3 compatility
...
* Add configure check for libwebp >= 0.1.3
* Add custom memory writer using GNOME memory allocation
* Add various ABI checks and warnings for unsupported features:
** smart_subsample and near_lossless require 0.5.0
** lossless requires at least 0.1.99
2016-04-24 18:28:53 +02:00
Felix Bünemann
0a25f6efca
Add alpha_q(uality) webpsave option, fix Q init
...
This allows to control the fidelity of the alpha channel by allowing
webp to reduce the number of palette entries from 256 at alpha_q=100
to 2 at alpha_q=0. This is most useful with cutout pictures where
something like alpha_q=30 or around 8 levels is usually sufficient
for smooth outlines.
For some reason webp->Q was intiailized to 80 even though the Q option
and libwebp use 75 by default. This was never used, so it's just to
avoid confusion about what default is used.
2016-04-24 18:18:40 +02:00
John Cupitt
699ade0877
Merge branch 'master' into no-blank-tiles
2016-04-24 09:59:04 +01:00
John Cupitt
128480bab6
VipsForeign nickname was wrong
...
it was set to "file", strangely
see https://github.com/jcupitt/libvips/issues/429
2016-04-23 13:29:42 +01:00
Felix Bünemann
c107066c4e
Add webpsave near_lossless support, fix Q range
...
The near_lossless option allows to enable preprocessing for the lossless
mode. This is a boolean instead of an int, because the amount of
preprocessing is controlled using the Q factor parameter which is
otherwise unused in lossless mode. This allows to re-use the quality
setting in existing tools.
2016-04-23 02:00:32 +02:00
Felix Bünemann
58a2616f77
New webpsave option smart_subsample
...
This enables a high quality RGB to YUV converter in libwebp which
greatly improves the quality of fine details by reducing color bleeding
caused by the 4:2:0 chroma subsampling. This is slower and causes
slightly larger files. See WebPPictureSmartARGBToYUVA in libwebp.
2016-04-23 01:20:41 +02:00
Felix Bünemann
f834ea39f6
Add lossy compression "preset" option to webpsave
...
This allows to tune the lossy webp encoder for certain types of images.
2016-04-22 23:57:07 +02:00
Felix Bünemann
7f70abd4ba
Use advanced WebP Encoding API
...
This switch is required to enable encoder configuration.
2016-04-22 23:57:07 +02:00
John Cupitt
23eaf93867
fix build with graphicsmagick
...
GM is still using the old page interface of subimage/subrange, IM has
deprecated that in favour of scene/number_scenes
we were accidentally just supporting the new IM system ... this change
adds support for GM as well, plus a configure test to pick one
see https://github.com/jcupitt/libvips/issues/423
2016-04-18 15:21:11 +01:00
John Cupitt
f0271f050d
note oo stuff
2016-04-18 12:36:55 +01:00
John Cupitt
3517037f1e
try and only look for giflib4
...
see https://github.com/jcupitt/libvips/issues/407
2016-04-18 12:34:40 +01:00
John Cupitt
d1e7b78bbd
Merge branch 'master' of github.com:jcupitt/libvips
2016-04-17 10:24:18 +01:00
John Cupitt
e66904a74a
Merge pull request #424 from lovell/friends-dont-let-friends-break-windows
...
Allow MSVC to link CPP overloads introduced in da43a40
2016-04-17 10:23:10 +01:00
John Cupitt
567ea0c1c2
comment reformat
2016-04-17 10:22:20 +01:00
Lovell Fuller
baa175c4c0
Allow MSVC to link CPP overloads introduced in da43a40
2016-04-15 22:16:29 +01:00
John Cupitt
78c8a8f99f
Merge pull request #421 from bgilbert/poppler-version
...
Fix required poppler-glib version in AC_MSG_WARN()
2016-04-15 08:45:50 +01:00
John Cupitt
1e44ab5d39
version bump for 8.3.1
2016-04-15 08:42:36 +01:00
John Cupitt
ab7563dd72
rename vips wrapper script
...
it was still vips-8.2, oops, thanks Benjamin
2016-04-15 08:40:17 +01:00
Benjamin Gilbert
2025b36958
fix required poppler-glib version in AC_MSG_WARN()
2016-04-14 17:38:54 -04:00
John Cupitt
1627440a37
remove a couple of IMAGE
...
still loads left, of course
2016-04-13 15:00:17 +01:00
John Cupitt
2c646a02e4
better jpeg autorot
...
jpeg write is more careful about removing exif tags that have been
removed from the image metadata
it failed previously if there were multiple Orientation tags
2016-04-13 08:39:29 +01:00
John Cupitt
a7e564ed97
autorot looks in every ifd
...
some images have multiple orientation tags ... look and remove
orientation tags everywhere
2016-04-12 18:31:19 +01:00
John Cupitt
5b79403ea3
update history comment for premultiply.c
2016-04-11 21:56:27 +01:00
John Cupitt
263b93aaea
Merge pull request #420 from lovell/premultiply-bands-4
...
Ensure premultiply fast-path for RGBA is used
2016-04-11 21:55:02 +01:00
Lovell Fuller
90780d96b8
Ensure premultiply fast-path for RGBA is used.
...
Add A suffix to PRE_RGBA macro name to clarify use with 4 bands.
2016-04-11 18:31:35 +01:00
John Cupitt
d46a57cf6b
update notes
2016-04-11 13:27:04 +01:00
John Cupitt
65b9ced6e9
improve arg order
...
more consistent
2016-04-11 13:23:25 +01:00
John Cupitt
269cbb8641
better mask sizing for lanczos
2016-04-11 13:19:00 +01:00
John Cupitt
f58190bccd
tag non-int rgb tiff as scrgb
...
Photoshop uses 0 - 1 and no gamma for float RGB, so we tag float /
complex RGB tiffs as scRGB
thanks Murat
2016-04-11 12:37:48 +01:00
John Cupitt
511a0a7da5
better rounding in reducev orc path
2016-04-10 17:52:51 +01:00
John Cupitt
f1635b873d
README formatting
2016-04-07 09:45:03 +01:00
John Cupitt
9842ce7902
README formatting
2016-04-07 09:44:31 +01:00
John Cupitt
83fe16054c
update file format list in README
2016-04-07 09:42:24 +01:00
John Cupitt
d4382c3032
Merge branch 'master' of github.com:jcupitt/libvips
2016-04-07 09:38:22 +01:00
John Cupitt
6ae2787b13
clarify git builds in README
...
see https://github.com/jcupitt/libvips/issues/414
2016-04-07 09:37:16 +01:00
John Cupitt
c36d7f1d14
tweak draw docs again
...
see https://github.com/jcupitt/libvips/issues/411
2016-04-06 15:11:44 +01:00
John Cupitt
9578d7f637
Merge branch 'master' of github.com:jcupitt/libvips
2016-04-06 10:28:10 +01:00
John Cupitt
bf1c8707c7
better draw docs
...
add a caching discussion to the start of draw
see https://github.com/jcupitt/libvips/issues/411
2016-04-06 10:26:53 +01:00
John Cupitt
5f7cc1d659
Merge pull request #412 from charmander/master
...
Remove = in #define
2016-04-06 10:10:10 +01:00
Charmander
e4f0fbc759
Remove = in #define
2016-04-05 14:00:00 +00:00
John Cupitt
8aa4566c87
update notes
2016-04-02 20:24:54 +01:00
John Cupitt
8fb146029c
more tuning of vipsthumbnail
...
leave at least a factor of two after shrink-on-load
helps hide aliasing
2016-04-02 20:09:30 +01:00
John Cupitt
bc320f1090
much better int mask creation
...
removes some banding from the orc path for reducev
2016-04-02 18:46:10 +01:00
John Cupitt
5f24468dba
tiny code cleanup, note a bug
2016-04-02 11:25:27 +01:00