Commit Graph

3656 Commits

Author SHA1 Message Date
JonDeen
b69fc96ba9 still desperately trying 2015-06-09 18:01:29 +02:00
JonDeen
566c429516 test 2015-06-09 17:44:59 +02:00
JonDeen
74a7d316dc casting second 2015-06-09 17:44:05 +02:00
JonDeen
3591623a12 casting hell 2015-06-09 17:43:08 +02:00
JonDeen
77b779dacb test cast 2015-06-09 17:41:14 +02:00
JonDeen
57709255e1 lacking norms 2015-06-09 17:39:35 +02:00
JonDeen
38edf1cb82 too much normalizing 2015-06-09 17:32:33 +02:00
JonDeen
15bac3531d optimizing 2015-06-09 17:24:54 +02:00
John Cupitt
119a2e1d61 oops >/>= mixup 2015-06-09 16:18:10 +01:00
John Cupitt
be2537938e on second thoughts, put the assert back 2015-06-09 16:17:12 +01:00
JonDeen
6e004961ef interpret include 2015-06-09 16:50:23 +02:00
John Cupitt
6ec534328c stuff 2015-06-09 12:58:34 +01:00
John Cupitt
c3ff482ed7 update guess_interp for HSV
remove the assert as well, safer
2015-06-09 12:42:16 +01:00
JonDeen
bfbc873d7d tweaks 2015-06-09 13:33:18 +02:00
JonDeen
f52d166ca5 casting 2015-06-09 13:30:36 +02:00
JonDeen
1f5171c1fc division hell 2015-06-09 13:28:23 +02:00
JonDeen
302392f801 missing ; 2015-06-09 13:24:14 +02:00
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