Commit Graph

3611 Commits

Author SHA1 Message Date
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
John Cupitt 995137605a oops, swap abs() for fabs()
thank you clang
2015-04-17 11:32:31 +01:00
Lovell Fuller e4326fc9ad Ensure expected signature in ExceptionInfo before destroy
GraphicsMagick asserts this in DestroyExceptionInfo

read_free is called multiple times since fc5a4a9
2015-04-15 20:05:19 +01:00
John Cupitt d8ea72895a fix compiler warning 2015-04-15 08:56:12 +01:00
John Cupitt 9958d2b821 argh travis 2015-04-14 22:54:16 +01:00
John Cupitt bc62d47424 Merge pull request #263 from lovell/openslide-associated-leak
Fix small memory leak in openslide loader
2015-04-14 21:03:54 +01:00
Lovell Fuller 00e27def8e Expose new/forthcoming features of mozjpeg/libjpeg-turbo
Runtime detection via JPEG extension parameters
Compile-time detection via J_BOOLEAN_PARAM of jpeglib.h
2015-04-14 20:24:31 +01:00
Lovell Fuller 3611d0f9df Fix small memory leak in openslide loader
vips_image_set_string takes a copy of the string
2015-04-14 20:24:02 +01:00
John Cupitt da7250badb oop, put goi back for travis 2015-04-14 16:54:51 +01:00
John Cupitt 0fd6754fc4 give up on travis testing
it's just too painful to get travis up to date enough to run the full vips
test suite
2015-04-14 13:42:36 +01:00
John Cupitt f2970c81fc travis 2015-04-14 13:24:18 +01:00
John Cupitt e9707bcafd better cache trace 2015-04-14 13:18:37 +01:00
John Cupitt c1900dccd4 travis 2015-04-14 13:14:42 +01:00
John Cupitt 37df2fcbf9 travis 2015-04-14 13:01:30 +01:00
John Cupitt 6a70ac0b24 travis 2015-04-14 12:40:18 +01:00
John Cupitt 4d63bfd7fd more travis argh 2015-04-14 12:23:07 +01:00
John Cupitt 6030431bab more travis 2015-04-14 12:05:55 +01:00
John Cupitt dfe11b6913 try building our own pyg-o-i stuff for travis 2015-04-14 11:57:05 +01:00
John Cupitt c3cc4f73a9 more travis poking
and fix a float comparison in test_threading
2015-04-14 11:14:25 +01:00
John Cupitt 15eca1bc3e another try to get travis going 2015-04-13 21:55:37 +01:00
John Cupitt e4bc4d5698 try again 2015-04-13 20:07:04 +01:00
John Cupitt 3f9adedae1 make travis use the new test suite 2015-04-13 18:30:27 +01:00
John Cupitt 9f0ecae95a better vips_warn() docs 2015-04-13 15:53:21 +01:00
John Cupitt 951019fcbc improve cache trace output
now shows '*' for cache hit, lists output args as well
2015-04-13 12:08:42 +01:00
John Cupitt d8018e8126 improve min/max docs
thanks Paul, see

https://github.com/jcupitt/libvips/issues/252
2015-04-12 11:25:46 +01:00
John Cupitt 58ff66254d thanks Paul 2015-04-12 11:11:38 +01:00
John Cupitt dde0eda74e add a test for tiff squash & miniswhite 2015-04-11 22:06:13 +01:00
John Cupitt 01bcb87583 cleanups 2015-04-09 10:04:58 +01:00
John Cupitt 41b38f2fd2 Merge remote-tracking branch 'origin/7.42'
Conflicts:
	ChangeLog
	configure.ac
	libvips/foreign/vips2tiff.c
2015-04-09 09:49:59 +01:00
John Cupitt 2fb0f434a2 avoid /0 in some cases in spcor
see https://github.com/jcupitt/libvips/issues/252 and others
2015-04-08 09:40:31 +01:00
John Cupitt 5268f0280c raw open allows larger offsets
offsets were sanity-checked at 100,000, remove this limit
2015-03-31 14:37:48 +01:00
John Cupitt da1611e070 add miniswhite tiffsave option 2015-03-27 10:07:59 +00:00
John Cupitt 09b81b7580 im_maxpos_avg() avoids NaN 2015-03-26 17:16:52 +00:00
John Cupitt 9552315e80 version bump 2015-03-26 08:46:52 +00:00
John Cupitt c4672f389b oops in vips_getpoint() C wrapper 2015-03-08 15:13:56 +00:00
John Cupitt 8d09db7cd4 found some old code we can remove 2015-03-05 14:49:13 +00:00
John Cupitt d20f0bf617 improve bandalike
better setting of interpretation in output
2015-03-05 12:10:26 +00:00
John Cupitt 339f268200 add some API for args, fix a docs messup 2015-03-02 22:02:33 +00:00
John Cupitt 094f690042 notes 2015-03-02 11:30:29 +00:00
John Cupitt e24fddc808 notes 2015-03-02 08:57:02 +00:00
John Cupitt 5ccb5ad70d add () overload to python
for vips_getpoint()
2015-03-01 12:15:48 +00:00
John Cupitt ded01df512 c++: add [], change ()
() used to return element zero, just return a vector

add [] overload
2015-03-01 10:43:02 +00:00
John Cupitt 367819b5cc oops 2015-02-28 22:56:09 +00:00
John Cupitt 5d912fdbbb add [] overload to python
index and slice image bands
2015-02-28 16:53:06 +00:00
John Cupitt a49e6772fd notes 2015-02-27 11:54:18 +00:00
John Cupitt 9e0bf03c64 Merge pull request #240 from mcuelenaere/foreign_is_a_buffer
Add vips_foreign_is_a_buffer() method
2015-02-27 11:44:58 +00:00
John Cupitt 5f3f7588cd tiny doc fix 2015-02-26 16:31:34 +00:00
John Cupitt fc5a4a917a make file format readers close fds early
we were using two fds per open image, now we just use one

jpg, magick, tiff, png
2015-02-26 14:09:01 +00:00