Commit Graph

332 Commits

Author SHA1 Message Date
John Cupitt 045678d438 vips_copy() can turn bands into width
handy for slicing up very large 3D arrays
2015-05-15 14:24:53 +01:00
John Cupitt ec52d1b922 change vips_flatten() alpha rules
now match vips_premultiply()

add tests

foreign knows about new logic
2015-05-09 12:10:42 +01:00
John Cupitt 9dda68f8cd final polish 2015-05-09 10:21:31 +01:00
John Cupitt 05acd06661 fix up docs 2015-05-09 10:15:11 +01:00
John Cupitt b5944ef464 make premultiply n-band
max_value should be a param as well?
2015-05-08 14:57:49 +01:00
John Cupitt 472bf7dbc3 add vips_unpremultiply() 2015-05-08 10:26:23 +01:00
John Cupitt 66c51b7d23 add an experimental premultiply operation 2015-05-07 23:42:02 +01:00
John Cupitt 2f060c494d fix up translations 2015-04-24 15:03:09 +01:00
John Cupitt 24084aed85 Merge branch 'add-copy-to-memory' 2015-04-19 11:13:15 +01:00
John Cupitt 54c37e7e0d add copy-to-memory
try to make a threadsafe vips_image_wio_input()
2015-04-19 09:45:20 +01:00
John Cupitt 5f3f7588cd tiny doc fix 2015-02-26 16:31:34 +00:00
John Cupitt a252a35794 insert should be smalltile
Joins can get very wide (eg. consider joining a set of tiles horizontally
to make a large image), we don't want mem use to grow as O(N**2). SMALLTILE
will guarantee we keep small and local.
2015-02-26 13:02:56 +00:00
John Cupitt 244ab301f7 start final push for vips 8 2015-02-11 17:01:02 +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 d62bec6ecc bug in copy fallback
for bandmean, rank and bool on one band images.
2014-12-16 14:14:32 +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 394149e9e8 fix all docs warnings 2014-11-17 10:32:40 +00:00
John Cupitt c3e1ca227c oops! 2014-10-19 16:37:41 +01:00
John Cupitt afdf22ac37 small fixups to autorot 2014-10-19 11:20:33 +01:00
John Cupitt ad86f45cd9 add autorot as an operator as well 2014-10-19 10:35:10 +01:00
John Cupitt ca2ae681cd add --with-gmic configure option 2014-10-07 14:54:53 +01:00
John Cupitt 3788c85e54 gmic uses an imagevec for input images 2014-10-06 21:52:27 +01:00
John Cupitt d9ee892077 conversion tests done 2014-09-29 21:40:08 +01:00
John Cupitt 154796a8dc rename VIPS_ANGLE_0 as VIPS_ANGLE_D0
and other similar cases

VIPS_ANGLE_0 becomes Vips.Angle.0 in Python, which is very inconvenient, so we
rename ... the D stands for degrees, I think
2014-09-29 13:56:55 +01:00
John Cupitt 61bae5eeff more tests 2014-09-26 15:01:56 +01:00
John Cupitt 7d19abbae3 fix vips_region_paint() for float types 2014-09-25 17:40:41 +01:00
John Cupitt 33c2458233 more tests 2014-09-25 14:00:17 +01:00
John Cupitt 7915308155 test for bandrank and bandmean 2014-09-25 09:58:51 +01:00
John Cupitt d7083d7a03 make arrayimage ref/unref 2014-09-23 14:38:46 +01:00
John Cupitt b21c47b1c5 add @background arg to save
used to flatten A out of images, if necessary

vipsthumbnail rtd-img.png -o x.jpg[background=255]
2014-09-11 09:18:38 +01:00
John Cupitt b746984318 Merge branch '7.40'
Conflicts:
	ChangeLog
	configure.ac
2014-09-08 19:49:09 +01:00
John Cupitt 92570b119c python new_from_memory()/write_to_memory() done 2014-09-05 12:54:07 +01:00
John Cupitt 7608524f61 fix up gtk-doc comments
fewer warnings now, phew
2014-09-03 14:32:55 +01:00
John Cupitt 501e900be5 tiny polish 2014-09-02 13:40:37 +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 180142b2b1 Merge branch '7.40'
Conflicts:
	ChangeLog
	configure.ac
2014-08-27 14:00:54 +01:00
John Cupitt 30aae507a3 fix memleak in tilecache 2014-08-26 17:07:44 +01:00
John Cupitt 04692c29dd enlarge the buffered tilecache
helps vipsthumbnail under load
2014-08-21 15:14:26 +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 388f25fc0c vips_scale() needs round to nearest
or we can get rounding errors in some cases
2014-07-14 14:36:35 +01:00
John Cupitt 91eeeafa05 remove a copy from copy_file
we can send directly to output
2014-07-14 14:30:58 +01:00
John Cupitt 89f8c58057 tiny vips_scale() fix
vips_scale() on a black image now returns an image with the right number
of bands ... was always a 1 band image before
2014-07-13 10:43:50 +01:00
John Cupitt 415b6d08be small fixups
- remove -c abbrv. for --vips-concurrency
- better desc for insert
- revise vips.1 man page
2014-06-19 09:59:29 +01:00
John Cupitt 02ea78232e fix bandbool for float/double
bandary couldn't set output type correctly
2014-06-15 11:14:57 +01:00
John Cupitt cbc60722fc skipahead is back
thanks to a new threadpool idea, see

https://github.com/jcupitt/libvips/issues/117
2014-06-10 17:44:31 +01:00
John Cupitt 8c2af3c0c1 punctuation 2014-06-09 16:41:20 +01:00
John Cupitt 35533a54cf finish reviding the fixed-up image load/save API 2014-06-08 11:16:58 +01:00
John Cupitt 3a4569e99b longer stall time for ahead-threads
we must stall for AGES occasionally, really the stall time is about
enforcing a certain thread ordering
2014-05-22 13:40:06 +01:00
John Cupitt 011fd99a1a start fixing up the auto-decode stuff 2014-05-19 14:53:47 +01:00
John Cupitt ee3cce8736 oops in vips_scale() 2014-05-18 09:47:41 +01:00