Commit Graph

64 Commits

Author SHA1 Message Date
John Cupitt
3f8c04c38b add docs for mosaic output
note the extra params that let you read out the transform
2018-09-05 09:02:39 +01:00
Angel Sánchez
256cf494a3 use VIPS_PI instead of M_PI as the former is already defined, added missing includes with their macro protection 2018-05-31 13:50:50 +02:00
John Cupitt
b085908558 remove vips7 stuff from API
You must now include vips7 support explicitly with

	#include <vips/vips7compat.h>

in your code just after including `vips.h`.

The old vips7 names, such as `Rect`, were starting to cause problems
with other packages like opencv.
2018-05-16 15:08:21 +01:00
Alistair Thomas
5c2ceed80c Update GObject introspection annotations for libvips/mosaicing directory 2017-09-30 23:19:03 +01:00
John Cupitt
302f4f2517 Merge branch '8.5' 2017-08-02 11:05:39 +01:00
John Cupitt
7c8bcff110 heh oops try again 2017-08-02 10:56:34 +01:00
John Cupitt
58f9757467 fix transparency detection in merge
a typo meant we were just testing the first band for zero, not all three

thanks Haida!
2017-08-02 10:41:10 +01:00
John Cupitt
dbf7729aee tag merge as seq 2017-06-13 14:26:41 +01:00
John Cupitt
c0f5fcd975 rename nlines as n_lines
to improve consistency
2017-04-26 09:45:00 +01:00
John Cupitt
09eafa4f9f fix xoff/yoff in mosaic output
we didn't record xoff / yoff correctly for negative offsets

see https://github.com/jcupitt/libvips/issues/606
2017-02-22 10:27:01 +00:00
John Cupitt
b559a4dc00 more doc fixes 2016-09-27 12:29:18 +01:00
John Cupitt
1ae92bb15f make optional args into bullets
make docs easier to read
2016-05-02 10:12:37 +01:00
John Cupitt
1f93efd65d fix more compiler warnings 2016-01-26 16:41:03 +00:00
John Cupitt
07a1903390 use g_assert_not_reached()
we were using g_assert(0) ... g_assert_not_reached() makes the
intention clearer
2016-01-24 13:21:53 +00:00
John Cupitt
d88dd1ab72 fix a few coverity issues
a couple of minor bugs, and a lot of warnings
2015-09-30 09:54:50 +01:00
John Cupitt
3bad0528be tiny doc polish 2015-04-24 09:39:55 +01: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
394149e9e8 fix all docs warnings 2014-11-17 10:32:40 +00:00
John Cupitt
6f8b5c6745 bring the rest of the API into python 2014-09-05 23:18:16 +01:00
John Cupitt
a370e5003e vips array types are more binding-friendly
this all works now:

```python
from gi.repository import Vips

a = Vips.ArrayDouble.new([1,2,3])
a.get()

a = Vips.ArrayInt.new([1,2,3])
a.get()

a = Vips.ArrayImage.new([c, d, e])
a.get()
```
2014-08-31 10:41:53 +01:00
John Cupitt
32a8fe117e start working on --disable-deprecated
need to move im_conv() etc to classes to finish this
2014-07-25 18:06:52 +01:00
John Cupitt
362b2db9ab silence some compiler warnings 2014-06-29 10:34:42 +01:00
John Cupitt
9dea549063 oops savers were not setting filename
when we added all the buffer loaders, we cul dno longer set filename in
VipsForeign, it's now the responsibility of each load class
2014-06-10 11:26:09 +01:00
John Cupitt
e7743ddc3c finish mosaicing rewrite 2014-05-29 09:35:17 +01:00
John Cupitt
8a38cb1946 fix up global balance names
track mosaic-name now
2014-05-28 23:00:41 +01:00
John Cupitt
170efb1452 redo im_*merge1() as classes 2014-05-28 18:15:20 +01:00
John Cupitt
adfda3cf14 redo im_*mosaic1() as classes 2014-05-28 15:15:06 +01:00
John Cupitt
b8886fc209 wrap im_remosaic() as a class 2014-05-27 15:18:19 +01:00
John Cupitt
781a7d4dc9 wrap im_global_balance*() as a class 2014-05-26 15:02:15 +01:00
John Cupitt
e2cda919ea match works 2014-05-26 14:20:38 +01:00
John Cupitt
246525e649 more hackery 2014-05-26 11:24:46 +01:00
John Cupitt
4f3b37ad04 wrap im_match*() as a class 2014-05-23 13:46:38 +01:00
John Cupitt
de409ecac8 vips_mosaic() outputs mosaic params 2014-05-23 12:37:10 +01:00
John Cupitt
ab12cd1c3d wrap im_*mosaic() as classes 2014-05-22 18:14:40 +01:00
John Cupitt
98012d7613 im_*merge() class wrapper works 2014-05-22 16:32:09 +01:00
John Cupitt
496d523750 wrap im_*merge() as a class 2014-05-22 14:53:18 +01:00
John Cupitt
8956ba536b fix some cppcheck warnings 2013-05-01 18:46:15 +01:00
Benjamin Gilbert
8cc76a6ba3 Update address for Free Software Foundation
Also update LGPLv2.1 license text from the copy currently on the GNU
website.
2013-03-07 00:40:19 -05:00
John Cupitt
90709538e6 update configure system 2013-01-23 10:17:51 +00:00
John Cupitt
e6eb08173f can now displace affine input space
so hopefully that means you can change corner vs. centre convention
easily
2012-12-18 13:08:18 +00:00
John Cupitt
4c82d45463 redo im_affine as a class 2012-12-14 12:33:47 +00:00
John Cupitt
40604e776a Merge remote-tracking branch 'origin/master' into colour
Conflicts:
	libvips/colour/im_icc_transform.c
2012-10-25 08:58:17 +01:00
John Cupitt
7e3494f6eb new new g_thread*() API 2012-10-23 13:36:39 +01:00
John Cupitt
fad78f8555 rework gthread usage
glib-2.32 deprecated g_mutex_new() ... use a compat function to hide
this change

also remove the --without-threads configure flag, gthread is now
compulsory, so there was no longer any point
2012-10-22 22:08:53 +01:00
John Cupitt
2e1b8bb9ef LabQ <-> Lab as classes 2012-09-20 21:21:08 +01:00
John Cupitt
501fabccbe improvements to tiff/png load in vips7
same as we did for jpg

some work on pyramid save as well
2012-07-12 14:50:56 +01:00
John Cupitt
2aa24fce03 fix some leaks in global balance
the new vips base class was causing global balance to leak a bit

vips8 adds extra refs back though the pipeline -- this means that when
you make _local objects, they MUST be local to output. If they are local
to input, you'll get a ref cycle and a leak
2012-07-12 12:04:10 +01:00
John Cupitt
f98dbceb60 add VIPS_IMAGE_N_PELS()
a macro to calculate the number of pels in an image, in 64 bits
2012-01-15 11:15:12 +00:00
John Cupitt
d0ec401a12 hackery to get goi working 2011-12-31 18:22:42 +00:00
John Cupitt
7999edbc73 switch to new vips_copy() 2011-10-15 06:49:59 +01:00