Commit Graph

2305 Commits

Author SHA1 Message Date
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
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
5813b88a52 display ref counts in vips_object_print_all() 2015-01-05 15:17:21 +00:00
John Cupitt
3ceec6682f better error message from getpoint 2015-01-05 13:37:27 +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
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
da007b22e6 fix up introspect program
and test with --disable-introspection
2014-12-20 10:28:30 +00:00
John Cupitt
e5b55a9398 try more intro stuff 2014-12-19 17:07:21 +00:00
John Cupitt
ba6f8044af final doc fixups
and update cplusplus binding
2014-12-18 17:20:59 +00:00
John Cupitt
dba587916e fix fastcor for non-uchar images
oops, forgot to scale lsk
2014-12-17 17:54:44 +00:00
John Cupitt
59b47f3900 better compt for old vips_gaussmat() code 2014-12-17 10:36:14 +00:00
John Cupitt
6e2135d8b5 mask builders take prec, not integer
vips_gaussmat() and vips_logmat() used to default to float, but
vips_conv() defaulted to int ... so this failed:

	vips gaussmat m.v 2 0.1 --separable
	vips convsep k2.jpg x.jpg m.v

since we were using a small float mask with an integer convolution

This change makes everything int by default, with gaussmat having a new
param called --precision whose arg can be int or float.

The old @integer param is deprecated.
2014-12-16 20:48:11 +00:00
John Cupitt
d62bec6ecc bug in copy fallback
for bandmean, rank and bool on one band images.
2014-12-16 14:14:32 +00:00
John Cupitt
9b3351f73a vips_getpoint() frees input region sooner
we were leaving a region active after _build(), which caused problems later if
another operation triggered a rewind (for example)
2014-12-16 13:26:01 +00:00
John Cupitt
649c0afb61 use vips_sum() in vips_compass() 2014-12-15 16:14:02 +00:00
John Cupitt
a7a025707a fix default interpolator in similarity
was not defaulting correctly
2014-12-10 17:32:56 +00:00
John Cupitt
069ff8982c zero out edge tile buffers before tiff jpeg write
see https://github.com/jcupitt/libvips/issues/204

thanks iwbh15
2014-12-10 09:41:31 +00:00
John Cupitt
9694cc8adb output ref_count in object summary
tiny Vips.py fix too
2014-12-10 09:23:51 +00:00
John Cupitt
64bdadadf2 expand tiff write res range
see

https://github.com/jcupitt/libvips/issues/206
2014-12-10 09:23:13 +00:00
John Cupitt
76653e9e78 add notes to logs for @density 2014-12-04 21:47:46 +00:00
John Cupitt
31d3f714ca Merge pull request #200 from lovell/magickload-density
Expose 'density' attribute for magickload
2014-12-04 21:43:00 +00:00
John Cupitt
9ae19ed727 quieter gobject-introspection scan
and make sure gtk-doc.make isn't a symlink
2014-12-04 17:43:41 +00:00
Lovell Fuller
14c8aa33fc Expose 'density' attribute for magickload
Allows control of vector format resolution
2014-12-04 17:01:06 +00:00
John Cupitt
f8cca8e59d load and save XMP metadata in tiff
see https://github.com/jcupitt/libvips/issues/198
2014-12-03 09:03:09 +00:00
John Cupitt
ed6eaa4662 tiny fixes 2014-11-28 17:55:55 +00:00
John Cupitt
ffe90ef38a add .szi as a synonym for .zip
in dzsave
2014-11-26 14:26:57 +00:00
John Cupitt
4b51a9d61f don't strip profiles in XYZ2scRGB
see

https://github.com/lovell/sharp/issues/125
2014-11-25 11:43:48 +00:00
John Cupitt
9a3fcc74c1 oops, README dropped from dist 2014-11-23 14:02:38 +00:00
John Cupitt
fcc790f6c0 better tiled tiff tilecache on write 2014-11-20 13:28:17 +00:00
John Cupitt
037f6cd162 tiles tiff write needs to cache input
to keep it seq, as it promises to be
2014-11-20 10:07:28 +00:00
John Cupitt
ee4416040b make a test suite
put the python and non-nip2 bits of the nip2 suite together

some test images too
2014-11-19 15:01:28 +00:00
John Cupitt
384a5e05dc change parameters of vips_gaussblur()
sorry :-(

The old param (passing sigma*2 as an int) were just too confusing
coming from other packages. This new behaviour matches ImageMagick, and
almost everyone else in the world.

A new optional param lets you set the minimum amplitude as well.
2014-11-19 12:27:26 +00:00
John Cupitt
2a4f56ff9f notes 2014-11-19 09:51:52 +00:00
John Cupitt
77d5bd8d08 add sharpening step to vips_resize() 2014-11-18 21:39:29 +00:00
John Cupitt
589e15b8a4 better vips_resize() 2014-11-18 18:37:19 +00:00
John Cupitt
dda412c85f add command-line option parsing to python 2014-11-18 11:29:32 +00:00
John Cupitt
240f0f1fd2 more doc work 2014-11-17 12:25:46 +00:00
John Cupitt
394149e9e8 fix all docs warnings 2014-11-17 10:32:40 +00:00
John Cupitt
d25beeddac remove wrap7 class
and pyvips8 now knows about deprecated args and ops
2014-11-14 22:41:05 +00:00
John Cupitt
6a25b04974 better docstrings
you now see:

class_method(cls, *args, **kwargs) method of gi.types.GObjectMeta
instance
    make a black image
    usage:
       out = Vips.Image.black(width, height, bands = gint)

    where:
       out        - Output image, VipsImage

    required parameters:
       width      - Image width in pixels, gint
       height     - Image height in pixels, gint

    optional parameters:
       bands      - Number of bands in image, gint
2014-11-13 14:37:59 +00:00
John Cupitt
f16e252b3e Merge branch '7.40' 2014-11-11 20:43:19 +00:00
John Cupitt
8a44d6f7b3 fix memleak in sharpen
see https://github.com/jcupitt/libvips/issues/194
2014-11-11 20:42:26 +00:00
John Cupitt
326854843a tinkering with pyvips8 docs 2014-11-11 14:59:06 +00:00
John Cupitt
8a545ab6c4 doc polish 2014-11-11 09:59:51 +00:00
John Cupitt
2c93340c77 fix pngsave of grey plus many alpha 2014-11-10 12:56:28 +00:00
John Cupitt
b8254eff77 stuff 2014-11-10 10:18:09 +00:00