Commit Graph

3681 Commits

Author SHA1 Message Date
John Cupitt
41b38f2fd2 Merge remote-tracking branch 'origin/7.42'
Conflicts:
	ChangeLog
	configure.ac
	libvips/foreign/vips2tiff.c
2015-04-09 09:49:59 +01:00
John Cupitt
2fb0f434a2 avoid /0 in some cases in spcor
see https://github.com/jcupitt/libvips/issues/252 and others
2015-04-08 09:40:31 +01:00
John Cupitt
5268f0280c raw open allows larger offsets
offsets were sanity-checked at 100,000, remove this limit
2015-03-31 14:37:48 +01:00
John Cupitt
da1611e070 add miniswhite tiffsave option 2015-03-27 10:07:59 +00:00
John Cupitt
09b81b7580 im_maxpos_avg() avoids NaN 2015-03-26 17:16:52 +00:00
John Cupitt
9552315e80 version bump 2015-03-26 08:46:52 +00:00
John Cupitt
c4672f389b oops in vips_getpoint() C wrapper 2015-03-08 15:13:56 +00:00
John Cupitt
8d09db7cd4 found some old code we can remove 2015-03-05 14:49:13 +00:00
John Cupitt
d20f0bf617 improve bandalike
better setting of interpretation in output
2015-03-05 12:10:26 +00:00
John Cupitt
339f268200 add some API for args, fix a docs messup 2015-03-02 22:02:33 +00:00
John Cupitt
094f690042 notes 2015-03-02 11:30:29 +00:00
John Cupitt
e24fddc808 notes 2015-03-02 08:57:02 +00:00
John Cupitt
5ccb5ad70d add () overload to python
for vips_getpoint()
2015-03-01 12:15:48 +00:00
John Cupitt
ded01df512 c++: add [], change ()
() used to return element zero, just return a vector

add [] overload
2015-03-01 10:43:02 +00:00
John Cupitt
367819b5cc oops 2015-02-28 22:56:09 +00:00
John Cupitt
5d912fdbbb add [] overload to python
index and slice image bands
2015-02-28 16:53:06 +00:00
John Cupitt
a49e6772fd notes 2015-02-27 11:54:18 +00:00
John Cupitt
9e0bf03c64 Merge pull request #240 from mcuelenaere/foreign_is_a_buffer
Add vips_foreign_is_a_buffer() method
2015-02-27 11:44:58 +00:00
John Cupitt
5f3f7588cd tiny doc fix 2015-02-26 16:31:34 +00:00
John Cupitt
fc5a4a917a make file format readers close fds early
we were using two fds per open image, now we just use one

jpg, magick, tiff, png
2015-02-26 14:09:01 +00:00
John Cupitt
cdeec4a912 small tweaks 2015-02-26 13:15:53 +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
1fca9a6350 Merge branch 'master' of github.com:jcupitt/libvips 2015-02-25 08:49:51 +00:00
John Cupitt
a345a517c1 add docs note
note that when resizing, xres/yres need to be updated by the application
2015-02-25 08:47:45 +00:00
John Cupitt
2b9471b19d add note on tiff autorot 2015-02-24 14:04:04 +00:00
John Cupitt
38819a9050 better dzsave temp dir name
we use the output name as the base of the temp dir name, less likely to
get lost
2015-02-23 12:56:47 +00:00
John Cupitt
cce569cdb7 more docs work 2015-02-23 12:32:56 +00:00
John Cupitt
78acd9b7a0 use a better name for the dzsave temp dir
see https://github.com/jcupitt/libvips/issues/242

dzsave with deepzoom layout and fs container writes a temp dir called
dzsave-temp-324857 or similar, and makes sure that this directory does
not exist

after write, the foo_files and foo.dzi files are picked out to the
current dir and the temp removed
2015-02-22 15:59:31 +00:00
John Cupitt
98b9214b4c add a note 2015-02-22 09:37:56 +00:00
John Cupitt
044bdf38d1 more doc tweaks 2015-02-18 16:32:30 +00:00
John Cupitt
9ec78d362a doc polishing 2015-02-18 16:02:19 +00:00
John Cupitt
fbed552f71 typo 2015-02-18 10:36:19 +00:00
John Cupitt
01d0a5f05e notes 2015-02-17 15:14:18 +00:00
John Cupitt
53c53006a6 add some more tests for the tiff saver 2015-02-17 15:04:15 +00:00
John Cupitt
ed5c90175a final cleanup 2015-02-17 14:45:39 +00:00
John Cupitt
5cb8cc4cab junk old version 2015-02-17 14:36:13 +00:00
John Cupitt
1fe29b52de seems to work! 2015-02-17 14:29:24 +00:00
John Cupitt
0f4efe22b9 almost there 2015-02-17 10:34:43 +00:00
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