Commit Graph

3398 Commits

Author SHA1 Message Date
John Cupitt b2f23c853e fix pydocs snafu 2015-01-28 21:32:32 +00:00
John Cupitt 810fac4785 start morph test 2015-01-28 21:29:06 +00:00
John Cupitt 2ce472a153 test hist funcs 2015-01-28 17:16:14 +00:00
John Cupitt 27f41d9725 add draw tests 2015-01-28 14:53:34 +00:00
John Cupitt 2e61b6ed67 more tests
create is now done, phew
2015-01-28 13:02:38 +00:00
John Cupitt c0c57f3f4a fix up C docs intro 2015-01-28 11:37:16 +00:00
John Cupitt ecf10f85a1 rewrite vips-cli docs
clearer and better formatting
2015-01-28 09:50:15 +00:00
John Cupitt e8f456a7e2 more tests 2015-01-27 21:45:14 +00:00
John Cupitt 4012341d59 Merge pull request #228 from bgilbert/unpremultiply-performance
Improve performance of openslide2vips argb2rgba()
2015-01-27 09:53:52 +00:00
Benjamin Gilbert 6444a52582 avoid some unnecessary shifts 2015-01-27 04:25:02 -05:00
Benjamin Gilbert 3f6f3bd3c1 avoid multiply/divide when converting opaque pixels 2015-01-27 04:24:49 -05:00
John Cupitt 6676b9a24f tiny README updates 2015-01-26 14:58:49 +00:00
John Cupitt 932988d1c0 Merge pull request #224 from lovell/resize-lucky-seven
Ensure resize operation has the required number of temp images
2015-01-22 13:37:22 +00:00
Lovell Fuller 8fbe8c36fa Resize builder uses 7 temp images
Prevents memory leak and possible segfault
2015-01-22 13:27:52 +00:00
John Cupitt 70b60e1dd5 tiny cleanup 2015-01-22 13:19:21 +00:00
John Cupitt d9709119fa oop, leak in vips_resize()
see https://github.com/jcupitt/libvips/issues/217
2015-01-21 13:17:39 +00:00
John Cupitt 0eca68a088 fix vips_resize() C API
oops, see https://github.com/jcupitt/libvips/issues/223
2015-01-21 09:05:36 +00:00
John Cupitt 29d073c04c now compiles cleanly with -Wstrict-prototypes
some downstream packages were seeing lots of spurious warnings
2015-01-21 09:02:56 +00:00
John Cupitt 6ff1d5320b don't call jpeg_finish_decompress()
all it does is verify the trailing bytes in the file

see https://github.com/lovell/sharp/issues/151
2015-01-20 16:55:35 +00:00
John Cupitt 3afbb51365 clearer docs for load from buffer
add a note on buffer lifetime, see https://github.com/lovell/sharp/issues/151
2015-01-20 15:04:17 +00:00
John Cupitt 229636fc66 rename vipsthumbnail -o as -f
-o stays as a hidden flag

see https://github.com/jcupitt/libvips/issues/216
2015-01-20 09:10:36 +00:00
John Cupitt 23071d73ac Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	ChangeLog
2015-01-19 22:03:05 +00:00
John Cupitt dbd98ba86c disable chroma subsample in jpeg-tiff if Q>=90
see https://github.com/jcupitt/libvips/issues/218
2015-01-19 22:01:13 +00:00
John Cupitt f1d901a229 try to handle tiffs with 8-bit colormaps
see

https://github.com/jcupitt/libvips/issues/220
2015-01-19 14:52:57 +00:00
John Cupitt c805b382fe vipsthumbnail sets an error on failure
conversion errors are ignored as before, but on final exit vipsthumbnail will
return an error code if one or more of the conversions failed

see https://github.com/jcupitt/libvips/issues/219
2015-01-13 17:31:09 +00:00
John Cupitt 6a327ffde7 Merge branch 'master' of github.com:jcupitt/libvips 2015-01-13 10:06:19 +00:00
John Cupitt 7b76120d78 oop, fix leak in affine
see: https://github.com/jcupitt/libvips/issues/217
2015-01-13 10:05:27 +00:00
John Cupitt 1ddd7faa01 fix up pygobject tests
again
2015-01-12 13:03:51 +00:00
John Cupitt fd16c60f86 try to make vipsthumbnail manpage clearer
see

https://github.com/jcupitt/libvips/issues/216
2015-01-11 09:48:38 +00:00
John Cupitt eda4ed64f1 rename _!PIXEL etc. to help bindings
ruby gobject-introspection hates numbers at the start of _ separated
names
2015-01-07 14:22:13 +00:00
John Cupitt 6f101ae86b remove VImage::scale()
it clashed with the VipsScale operator, see

https://github.com/jcupitt/libvips/pull/213
2015-01-06 12:00:11 +00:00
John Cupitt 6440830315 required C++ output params were broken
see https://github.com/jcupitt/libvips/pull/213

this now works:

        VImage rows;
	VImage cols = in.profile( &rows );
2015-01-06 11:51:53 +00:00
John Cupitt ca9cab48cc Merge pull request #213 from lovell/doc-pkgconfig-cpp
Docs: update pkg-config to use vips8 C++ API
2015-01-05 20:51:04 +00:00
Lovell Fuller 0b34a3403d Docs: update pkg-config to use vips8 C++ API 2015-01-05 19:43:55 +00:00
John Cupitt 5813b88a52 display ref counts in vips_object_print_all() 2015-01-05 15:17:21 +00:00
John Cupitt 90725b9f5e more tests 2015-01-05 13:48:35 +00:00
John Cupitt d0d49caa72 oops, deleted bits of doc/ref by mistake 2015-01-05 13:37:56 +00:00
John Cupitt 3ceec6682f better error message from getpoint 2015-01-05 13:37:27 +00:00
John Cupitt ed049b4bf1 add more self-tests 2015-01-04 22:03:08 +00:00
John Cupitt fd1db58189 rename VipsColourSpace as VipsColourTransform
to avoid confusion with VipsColourspace

an internal class, no API change
2015-01-04 21:44:54 +00:00
John Cupitt ad6f42c869 remove dead proto
vips_draw_line_mask() was never implemented .. use
vips__draw_line_direct() instead.
2015-01-02 21:34:34 +00:00
John Cupitt 46d8b93bc3 add file format docs
add some docs on the vips file format
2015-01-02 16:35:29 +00:00
John Cupitt 29fa54444e add a function list to docs
lists all C functions and their vips operators
2015-01-02 12:39:20 +00:00
John Cupitt 6c35ae5540 display default and range in usage
eg. we now see:

$ vips gamma
gamma an image
usage:
   gamma in out
where:
   in           - Input image, input VipsImage
   out          - Output image, output VipsImage
optional arguments:
   exponent     - Gamma factor, input gdouble
  			default: 2.4
			min: 1e-06, max: 1000
operation flags: sequential-unbuffered
2014-12-30 13:16:22 +00:00
John Cupitt 32625146db cpp can set enums from strings
eg.

	set("extend", "copy")->
2014-12-30 11:27:04 +00:00
John Cupitt 61cbba4605 remove stray count report 2014-12-27 10:20:01 +00:00
John Cupitt d077d7c1fc small stuff 2014-12-27 10:00:01 +00:00
John Cupitt e93e27cd6e bump pygobject version check
now asks for >=3.12 since we seem to fail on 3.10

see https://github.com/jcupitt/libvips/issues/199
2014-12-27 09:58:51 +00:00
John Cupitt a43b591e57 Merge pull request #212 from bgilbert/present
Drop dependency on Python "future" package
2014-12-27 09:43:53 +00:00
John Cupitt b01dd59309 fix VipsBlob read
oops, forgot the .get()
2014-12-27 09:41:01 +00:00