Commit Graph

3589 Commits

Author SHA1 Message Date
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
Benjamin Gilbert 5ed7a24f0c Drop dependency on Python "future" package
It's not widely packaged in Linux distributions, and none of the VIPS
Python code requires Python 3 semantics from any of the builtins future
was replacing.
2014-12-26 21:10:55 -05:00
John Cupitt 01b409bdba soname bump
to reflect changes in vips8 API, see

https://github.com/jcupitt/libvips/issues/211
2014-12-26 16:53:11 +00:00
John Cupitt 366e7e3a5e add gobject to Requires: line
vips C and C++ programs can link directly against things in gobject
without appearing to, for example:

	a = VIPS_OBJECT( b );

the macro will expand to include a g_type_check_instance_is_a(). So we
have to have gobject-2.0 in the link line of things like:

	g++ -g -Wall hello8.cc `pkg-config vips-cpp --cflags --libs`

see also

	https://github.com/jcupitt/libvips/issues/196
2014-12-24 10:10:14 +00:00
John Cupitt d5f101431b modernize overrides convention 2014-12-22 11:50:59 +00:00
John Cupitt 1b86de44f4 "make check" works uninstalled
and skips tests for missing features
2014-12-22 10:35:26 +00:00
John Cupitt a560d3b8c2 more osx help 2014-12-20 22:25:19 +00:00
John Cupitt 39c2bf9291 more stuff for homebrew 2014-12-20 17:12:12 +00:00
John Cupitt 932a16b615 improvements to test to help osx 2014-12-20 16:17:44 +00:00
John Cupitt da007b22e6 fix up introspect program
and test with --disable-introspection
2014-12-20 10:28:30 +00:00