Commit Graph

3493 Commits

Author SHA1 Message Date
John Cupitt 377075fe05 Merge branch 'new-tiff-save' of github.com:jcupitt/libvips into new-tiff-save
Conflicts:
	ChangeLog
	libvips/foreign/vips2tiff.c
2015-02-16 21:27:00 +00:00
John Cupitt e30171a4df more hacking on the new tiff saver 2015-02-16 18:11:47 +00:00
John Cupitt 36eaff0e15 Merge branch 'master' into new-tiff-save 2015-02-16 16:20:54 +00:00
John Cupitt c15f37719b add test_foreign.py
plus some more test images
2015-02-16 16:03:39 +00:00
John Cupitt e364c83b09 oops, forgot to init new class 2015-02-16 13:31:22 +00:00
John Cupitt 99b4bcb838 small cleanups
split magicload up into a base class plus file and buffer subclasses

magickload_buffer should do all reading in header method
2015-02-16 10:45:56 +00:00
John Cupitt 972bb41012 Merge pull request #241 from mcuelenaere/imagemagick-buffer
Add ImageMagick buffer support
2015-02-15 21:56:56 +00:00
Maurus Cuelenaere dba1b1d81b Add ImageMagick buffer support
This commits adds buffer support for the ImageMagick backend, using the Blob
API.
2015-02-15 21:45:17 +01:00
John Cupitt 800208ec3a more tinkering 2015-02-15 17:44:56 +00:00
Maurus Cuelenaere 3d067af889 Add vips_foreign_is_a_buffer() method
This commits adds a vips_foreign_is_a_buffer() method, similar to
vips_foreign_is_a().
2015-02-15 16:31:29 +01:00
John Cupitt e375f0ec66 use vips_region_shrink() 2015-02-14 13:48:08 +00:00
John Cupitt 187a12987a add vips_region_shrink()
add fast x2 region shrink

aim to share between pyramid builders
2015-02-14 13:44:32 +00:00
John Cupitt 940de561cf started on a new version of tiffsave 2015-02-13 14:55:22 +00:00
John Cupitt be5052d0c3 tiff pyramid builder no longer copies base image
we used to make a copy of the base image ... instead, write once and
append other layers at end of run
2015-02-13 13:40:35 +00:00
John Cupitt bc57962ad0 oops, removed a stray "shift" 2015-02-13 12:30:51 +00:00
John Cupitt 4d9436f4b3 Merge branch '7.42' 2015-02-13 12:21:46 +00:00
John Cupitt 4d0887f5de fix .dz as a target
and add a test for this as well
2015-02-13 11:17:55 +00:00
John Cupitt 8f7c2c7110 sort out alpha going to and from 16-bit
rewritten sRGB <-> scRGB so that 16-bit alpha is scaled to float 8
2015-02-12 17:50:38 +00:00
John Cupitt 46c655caf0 add gtk-doc comment for vips_type_find() 2015-02-12 11:33:26 +00:00
John Cupitt 244ab301f7 start final push for vips 8 2015-02-11 17:01:02 +00:00
John Cupitt 5b90e36559 notes 2015-02-10 14:44:35 +00:00
John Cupitt 640477dc62 better python imageize
sets interpretation as well ... was causing problems with jpg save
colour transforms
2015-02-10 14:08:37 +00:00
John Cupitt 62177ad24e notes 2015-02-10 10:17:01 +00:00
John Cupitt ffbb259c86 C++ oops, see
346a9e70c0
2015-02-09 18:56:47 +00:00
John Cupitt 346a9e70c0 remove --disable-cxx flag
it was getting too hard to support :( automake now generates libtool
lines before configure runs, so it can't know we don't want a C++ link

see https://github.com/jcupitt/libvips/issues/231
2015-02-07 10:37:13 +00:00
John Cupitt 3d902d2feb improvements to python configure 2015-02-06 14:54:52 +00:00
John Cupitt 9d11c02e35 version bump 2015-02-06 13:39:39 +00:00
John Cupitt d53e63e50f note 2015-02-05 14:55:40 +00:00
John Cupitt d6dbfea064 much faster RGB16 -> sRGB path 2015-02-04 16:48:25 +00:00
John Cupitt 0c466b9495 don't use isnormal() to test for crazy FP numbers
it fails for 0.0 and for subnormal numbers, thanks Murat Korkmazov
2015-02-04 15:13:11 +00:00
John Cupitt 9d8080c266 better vips_leak output 2015-02-03 14:49:04 +00:00
John Cupitt 0d509604e5 more transfer annotations 2015-02-02 14:55:19 +00:00
John Cupitt e429772ae8 turn on leak testing in python test suite 2015-02-02 11:36:29 +00:00
John Cupitt eb5fee5e65 add lower-level cache access 2015-02-01 17:56:48 +00:00
John Cupitt fb82a1d72a Merge branch 'master' of github.com:jcupitt/libvips 2015-01-30 21:20:48 +00:00
John Cupitt ce557ba6de add VInterpolate wrapper class
to cplusplus, see https://github.com/jcupitt/libvips/issues/230
2015-01-30 21:19:58 +00:00
John Cupitt 4d1104380b try adding a transfer annotation 2015-01-30 13:55:47 +00:00
John Cupitt 230a939521 remove some debugging 2015-01-29 16:59:38 +00:00
John Cupitt ddb43172f3 use new pyvips8 array constant syntax
also add median filter convenience function
2015-01-29 16:41:11 +00:00
John Cupitt 21b4748fe1 support 2D image array constants in py 2015-01-29 14:52:55 +00:00
John Cupitt d6ff5f24c6 all tests done and working
phew
2015-01-29 14:27:18 +00:00
John Cupitt 93ab9fd661 oop, cache fix 2015-01-29 14:13:51 +00:00
John Cupitt 57196ee702 fix an operation cache bug
when testing two operations for equality, need to check that both had an
optional arg set before testing the value
2015-01-29 13:47:14 +00:00
John Cupitt 2a1a371e5c started test_resample.py 2015-01-29 09:29:10 +00:00
John Cupitt c384e2b664 finish morph
and add erode/dilate convenience functions to Vips.py
2015-01-28 21:58:08 +00:00
John Cupitt b2f23c853e fix pydocs snafu 2015-01-28 21:32:32 +00:00
John Cupitt 810fac4785 start morph test 2015-01-28 21:29:06 +00:00
John Cupitt 2ce472a153 test hist funcs 2015-01-28 17:16:14 +00:00
John Cupitt 27f41d9725 add draw tests 2015-01-28 14:53:34 +00:00
John Cupitt 2e61b6ed67 more tests
create is now done, phew
2015-01-28 13:02:38 +00:00