Commit Graph

3758 Commits

Author SHA1 Message Date
John Cupitt
25bf910f21 vipsthumbnail uses vips_premultiply() 2015-05-09 16:33:38 +01:00
John Cupitt
65778237a9 oops, needs float args to flatten 2015-05-09 16:33:08 +01:00
John Cupitt
9ea012f737 vipsthumbnail now uses vips_resize()
it used to have its own copy of this code
2015-05-09 12:54:50 +01:00
John Cupitt
ec52d1b922 change vips_flatten() alpha rules
now match vips_premultiply()

add tests

foreign knows about new logic
2015-05-09 12:10:42 +01:00
John Cupitt
9dda68f8cd final polish 2015-05-09 10:21:31 +01:00
John Cupitt
05acd06661 fix up docs 2015-05-09 10:15:11 +01:00
John Cupitt
b5944ef464 make premultiply n-band
max_value should be a param as well?
2015-05-08 14:57:49 +01:00
John Cupitt
ac800fd034 note on vipsthumbnail 2015-05-08 14:51:55 +01:00
John Cupitt
472bf7dbc3 add vips_unpremultiply() 2015-05-08 10:26:23 +01:00
John Cupitt
66c51b7d23 add an experimental premultiply operation 2015-05-07 23:42:02 +01:00
John Cupitt
90a47b0cad start 8.1 2015-05-07 18:15:07 +01:00
John Cupitt
5f3d4c7971 start 8.0 supported branch 2015-05-07 18:11:57 +01:00
John Cupitt
bf316364c5 update README 2015-05-05 13:50:43 +01:00
John Cupitt
8ba680605a soname bump, test suite improvements
test suite now tests load from buffer and save to buffer

test suite adapts for differences in newer libMagick

bump soname for safety
2015-05-05 09:40:29 +01:00
John Cupitt
f38c3956af better test of C++ API 2015-05-05 09:10:08 +01:00
John Cupitt
db4ee8d6b6 fix a ref leak in the C++ API
see https://github.com/jcupitt/libvips/issues/290

thanks huskier

added a write-to-buffer example as well
2015-05-04 19:44:56 +01:00
John Cupitt
dbdcf91171 remove some stray decls
see https://github.com/jcupitt/libvips/issues/288

version bump as well
2015-05-04 19:41:08 +01:00
John Cupitt
bfeeb3eb27 better leak reporting
Vips::print_all now shows VipsArea leaks as well
2015-05-01 16:42:23 +01:00
John Cupitt
728f5a0401 add more paths to wrapper script 2015-04-30 09:13:33 +01:00
John Cupitt
bb7cbfde8d fix the draw example 2015-04-28 12:13:22 +01:00
John Cupitt
4e96db4216 try to get C++ examples highlighted
looks like gtk-doc only supports C highlighting looking at the sources
... still, get the language= tags to match what source-highlight expects
2015-04-27 17:40:33 +01:00
John Cupitt
51c85b7450 more gtk-doc fixes 2015-04-27 13:16:31 +01:00
John Cupitt
f5a77dd80d start some notes on threading 2015-04-27 10:57:27 +01:00
John Cupitt
ffdd9ff851 init glib langs on startup
works around a crash under heavy load, see

https://github.com/openslide/openslide/issues/161
2015-04-26 10:30:39 +01:00
John Cupitt
6c6d0d6b78 fix some compiler warnings 2015-04-25 17:39:16 +01:00
John Cupitt
12269a9a5e oops dropped one 2015-04-24 15:03:46 +01:00
John Cupitt
2f060c494d fix up translations 2015-04-24 15:03:09 +01:00
John Cupitt
d484161c05 bump libtool version number 2015-04-24 14:07:35 +01:00
John Cupitt
a00db6c8f1 doc cleanups 2015-04-24 12:49:50 +01:00
John Cupitt
599bc0d75c fix missing lib detect in tests 2015-04-24 10:51:01 +01:00
John Cupitt
ad017dc56f add more C++ convenience functions
flipver() etc.
2015-04-24 10:10:44 +01:00
John Cupitt
3bad0528be tiny doc polish 2015-04-24 09:39:55 +01:00
John Cupitt
42efce5c66 fix various typos
thanks dg1727

see https://github.com/jcupitt/libvips/issues/277
2015-04-21 18:39:02 +01:00
John Cupitt
7ded77cd4d add a note on cli chaining 2015-04-21 16:41:03 +01:00
John Cupitt
e0a5d28100 add vips_vipsload() vips_vipssave() to C API
we didn't have these in the C API before, for some reason
2015-04-21 14:29:44 +01:00
John Cupitt
3cc408fd1e hide benign message from gettextize 2015-04-20 16:54:45 +01:00
John Cupitt
7495690cd6 remove vips__image_sizeof_bandformat
we had main API macros which used an array behind the scenes,
vips__image_sizeof_bandformat[]. Swap this for a function,
vips_format_sizeof(), to help DLLs.

the array symbol is still there for compatibility
2015-04-20 14:18:17 +01:00
John Cupitt
46259f934f fix description on LabQ2sRGB
thanks dg1727

see https://github.com/jcupitt/libvips/issues/272
2015-04-20 13:03:15 +01:00
John Cupitt
ef3f588b37 fix caps inconsistency 2015-04-20 09:53:13 +01:00
John Cupitt
100ae155e1 remove deprecated stuff from vips help
make the vips command-line interface no longer show any of the
deprecated vips7 interface in help

see https://github.com/jcupitt/libvips/issues/269
2015-04-20 09:47:44 +01:00
John Cupitt
fcb348db64 notes on recent changes 2015-04-19 13:15:24 +01:00
John Cupitt
88a9ebd74a Merge branch 'master' of github.com:jcupitt/libvips 2015-04-19 12:31:48 +01:00
John Cupitt
24084aed85 Merge branch 'add-copy-to-memory' 2015-04-19 11:13:15 +01:00
John Cupitt
54c37e7e0d add copy-to-memory
try to make a threadsafe vips_image_wio_input()
2015-04-19 09:45:20 +01:00
John Cupitt
cb7d6ec0bf Merge pull request #262 from lovell/jpeg-extension-parameters
Expose JPEG extension parameters. Support trellis quantisation, deringing and scan optimisation.
2015-04-18 23:45:54 +01:00
John Cupitt
04feec359f rewind images after write
after sinkdisc or sinkmemory, we need to rewind the image we wrote to so
that subsequent reads get the written image and don't regenerate it
2015-04-18 17:46:29 +01:00
John Cupitt
0ac29f0b0b Merge pull request #264 from lovell/magick-destroy-exception-guard
Ensure expected signature in ExceptionInfo before destroy
2015-04-18 16:40:51 +01:00
John Cupitt
a5a3b062fc support saving 1 and 2 band images to webp
see https://github.com/jcupitt/libvips/issues/267

libwebp does not supportG and GA images

make a new SAVEABLE type for savers which only do RGB and RGBA
2015-04-17 16:59:28 +01:00
John Cupitt
a0aacad871 much better convert to greyscale
mix RGB channels as .2, .7, .1 in linear light

see https://github.com/jcupitt/libvips/issues/266
2015-04-17 11:33:27 +01:00
John Cupitt
011b77b61b update build system files 2015-04-17 11:33:05 +01:00