Commit Graph

3924 Commits

Author SHA1 Message Date
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
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