Commit Graph

3589 Commits

Author SHA1 Message Date
JonDeen 758b5ba4eb typo 2015-06-09 13:23:48 +02:00
JonDeen 8b4830b0bc optimized test 2015-06-09 13:22:30 +02:00
JonDeen dd5722e1e9 cFix 2015-06-09 12:33:26 +02:00
JonDeen a47f3c0321 Init sRGB2HSV 2015-06-09 12:23:30 +02:00
Jonas Daniel de80d7758d Merge pull request #1 from jcupitt/add-hsv
boilerplate for hsv colourspace
2015-06-09 11:57:03 +02:00
John Cupitt a42232a9a1 boilerplate for hsv colourspace 2015-06-09 10:18:30 +01:00
John Cupitt 33788f7336 allow dzsave zip output > 4gb
thanks benjamin
2015-06-08 09:35:25 +01:00
John Cupitt 255c3dc7a8 better error msg 2015-06-08 09:00:04 +01:00
John Cupitt e83a3bbfd1 add a test for byteswap() 2015-06-07 16:24:52 +01:00
John Cupitt e9720afb18 add vips_bandfold()/vips_bandunfold()
was part of vips_copy(), but it was very ugly there
2015-06-05 14:52:05 +01:00
John Cupitt dbd852211e move bytw swapping out to vips_byteswap()
it was an option to vips_copy(), ugly!
2015-06-05 13:56:26 +01:00
John Cupitt e84b97038f add mono image -> many band column
or row ... handy for loading LUT images from CSV files
2015-06-04 16:02:41 +01:00
John Cupitt 5cb2239d7d try to support DOS ppm/csv files on linux
swap \r\n for \n in vips__fgetc()
2015-06-04 12:58:30 +01:00
John Cupitt ed57a3d53f Merge branch 'master' of github.com:jcupitt/libvips 2015-06-04 09:38:24 +01:00
John Cupitt a511221984 notes 2015-06-04 09:38:08 +01:00
John Cupitt a3c881ae78 support "with Vips.Image" in Python
though it doesn't actually do anything, it looks nice
2015-06-03 15:08:02 +01:00
John Cupitt c35e2e5427 add RefString getter
to python now unpacks VipsRefString on get_value()
2015-06-02 13:32:48 +01:00
John Cupitt baf78fc04a oops, fix base64 encode/decode padding
we were adding up to two bytes of null to the end of base64-encoded
binary data due to a signed/unsigned mixup

add a test for this, plus a test for vips file format
2015-05-31 18:17:26 +01:00
John Cupitt 5d8440a265 more doc fixes 2015-05-31 18:11:08 +01:00
John Cupitt 8c5ef3812e oops, fabs()/abs() mixup 2015-05-31 18:10:34 +01:00
John Cupitt 2f4c0da6eb expand the py docs a bit
see https://github.com/jcupitt/libvips/issues/302
2015-05-29 16:48:36 +01:00
John Cupitt 98e80903e0 metadata was not being saved to vips files
broken by the rewind changes a few weeks ago

added a test too
2015-05-28 16:19:32 +01:00
John Cupitt 36331739ab add bandand() bandor() bandeor() to py
convenience funcs
2015-05-26 10:32:15 +01:00
John Cupitt cea1e29527 Merge remote-tracking branch 'origin/8.0'
Conflicts:
	ChangeLog
	configure.ac
	doc/libvips-docs.xml
2015-05-24 18:19:32 +01:00
John Cupitt 3451766004 fix dzsave/vips2tiff for some image sizes
we were not clipping new strip size against image size, see

https://github.com/jcupitt/libvips/issues/300
2015-05-24 17:53:05 +01:00
John Cupitt 8a711cef55 Merge pull request #297 from bgilbert/gir-dependencies
Fix .gir file dependencies
2015-05-18 08:37:20 +01:00
Benjamin Gilbert c1d04d0437 Fix .gir file dependencies
Ensure introspect is built before g-ir-scanner tries to run it.  Fixes
build failures with highly parallel builds:

    Traceback (most recent call last):
      File "/usr/bin/g-ir-scanner", line 55, in <module>
        sys.exit(scanner_main(sys.argv))
      File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 526, in scanner_main
        shlibs = create_binary(transformer, options, args)
      File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 410, in create_binary
        gdump_parser.parse()
      File "/usr/lib64/gobject-introspection/giscanner/gdumpparser.py", line 110, in parse
        tree = self._execute_binary_get_tree()
      File "/usr/lib64/gobject-introspection/giscanner/gdumpparser.py", line 167, in _execute_binary_get_tree
        subprocess.check_call(args, stdout=sys.stdout, stderr=sys.stderr)
      File "/usr/lib64/python2.7/subprocess.py", line 535, in check_call
        retcode = call(*popenargs, **kwargs)
      File "/usr/lib64/python2.7/subprocess.py", line 522, in call
        return Popen(*popenargs, **kwargs).wait()
      File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
        errread, errwrite)
      File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
2015-05-18 02:44:34 -04:00
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 6bf1f8afa5 ooops, drat 2015-05-15 12:58:04 +01:00
John Cupitt 8566f3999a bug? 2015-05-14 21:50:12 +01:00
John Cupitt 29fc735f90 Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	TODO
2015-05-11 13:30:35 +01:00
John Cupitt 25bf910f21 vipsthumbnail uses vips_premultiply() 2015-05-09 16:33:38 +01:00
John Cupitt 65778237a9 oops, needs float args to flatten 2015-05-09 16:33:08 +01:00
John Cupitt 9ea012f737 vipsthumbnail now uses vips_resize()
it used to have its own copy of this code
2015-05-09 12:54:50 +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 ac800fd034 note on vipsthumbnail 2015-05-08 14:51:55 +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 90a47b0cad start 8.1 2015-05-07 18:15:07 +01:00
John Cupitt 5f3d4c7971 start 8.0 supported branch 2015-05-07 18:11:57 +01:00
John Cupitt bf316364c5 update README 2015-05-05 13:50:43 +01:00
John Cupitt 8ba680605a soname bump, test suite improvements
test suite now tests load from buffer and save to buffer

test suite adapts for differences in newer libMagick

bump soname for safety
2015-05-05 09:40:29 +01:00
John Cupitt f38c3956af better test of C++ API 2015-05-05 09:10:08 +01:00
John Cupitt db4ee8d6b6 fix a ref leak in the C++ API
see https://github.com/jcupitt/libvips/issues/290

thanks huskier

added a write-to-buffer example as well
2015-05-04 19:44:56 +01:00
John Cupitt dbdcf91171 remove some stray decls
see https://github.com/jcupitt/libvips/issues/288

version bump as well
2015-05-04 19:41:08 +01:00
John Cupitt bfeeb3eb27 better leak reporting
Vips::print_all now shows VipsArea leaks as well
2015-05-01 16:42:23 +01:00
John Cupitt 728f5a0401 add more paths to wrapper script 2015-04-30 09:13:33 +01:00