Commit Graph

4743 Commits

Author SHA1 Message Date
John Cupitt
b29201595d note fits improvements in changelog 2017-01-04 12:56:04 +00:00
John Cupitt
c06dc8455b add another FITS suffix 2017-01-04 12:40:58 +00:00
John Cupitt
a0b8bac8f2 load fits images to equiv. data type
so we have better support for bzero / bscale
2017-01-04 12:27:23 +00:00
John Cupitt
0c4a40e82f oop missed a merge conflict 2017-01-04 10:18:54 +00:00
John Cupitt
262d5a10f7 Merge branch 'master' into glib-logging 2017-01-04 10:13:06 +00:00
John Cupitt
3a48ff9cc1 don't warn for missing exif res
don't warn for missing exif res (even though it should be there) since
we fall back to jfif

cs3 seems to avoid the exif res fields and just uses jfif

see https://github.com/lovell/sharp/issues/657
2017-01-04 09:22:32 +00:00
John Cupitt
07e6ac1994 support --vips-info
now turns on glib g_info() output
2017-01-04 07:23:50 +00:00
John Cupitt
e7a6ea3d0c oops! revert previous 2017-01-03 17:12:42 +00:00
John Cupitt
0d97c78f02 compat macro for early glibs 2017-01-03 17:06:50 +00:00
John Cupitt
2be0b97dce switch to g_warning()_/g_info()
we had vips_warn() and vips_info(), but they are a bit crappy ... switch
to g_warning() and g_info() instead

see https://github.com/jcupitt/libvips/issues/544
2017-01-03 15:52:27 +00:00
John Cupitt
c31f4ec2d7 add VIPS_SONAME etc.
helps check ABI and php-vips-ext lock the right library
2016-12-31 17:58:33 +00:00
John Cupitt
c1ca76f6a2 Merge branch '8.4' 2016-12-09 15:46:02 +00:00
John Cupitt
4f85a5d7cd lower libgsf requirement to 1.14.26
1.14.16 seems to more or less work, and is the most recent version on
centos

see https://github.com/jcupitt/libvips/issues/528
2016-12-08 13:54:05 +00:00
John Cupitt
0d9bf6a81e gifload supports n and page-height 2016-11-26 15:07:12 +00:00
John Cupitt
577588c2d1 start adding many page read to gifload 2016-11-25 18:19:55 +00:00
John Cupitt
6e968d46f2 magick7 now supports page/n 2016-11-25 18:19:36 +00:00
John Cupitt
6e26e317e0 update magick6 loader
now supports page/n/page-height
2016-11-25 14:46:46 +00:00
John Cupitt
8c84e6cc34 add page-height to pdfload 2016-11-23 22:11:26 +00:00
John Cupitt
25dd60c781 add tests
all done, I think
2016-11-23 17:20:04 +00:00
John Cupitt
c0da8e3157 fixed up naming conventions a bit 2016-11-23 15:00:32 +00:00
John Cupitt
e195a4d516 multi-page write seems to work
refactor and cleanup next
2016-11-23 11:21:35 +00:00
John Cupitt
5a61374bbf Merge branch 'master' into add-tiffload-n-pages 2016-11-22 21:38:31 +00:00
John Cupitt
bba1aba4b6 don't clear meta before creating a pipeline
vips__image_copy_fields_array() used to wipe meta on the output before
merging the input images. This broke foreign.c in some cases, since it
likes setting some meta on the output before calling the subclass
loaders, and they sometimes call write().

see https://github.com/jcupitt/ruby-vips/issues/93
2016-11-22 18:04:58 +00:00
John Cupitt
423b6b4a04 split saver off 2016-11-22 17:37:50 +00:00
John Cupitt
582512ddc4 fix jpeg-compressed tiff read 2016-11-22 17:22:10 +00:00
John Cupitt
32d049a1df tweak clipping again 2016-11-22 16:42:34 +00:00
John Cupitt
14dd8b32b1 better clipping in tiff2vips 2016-11-22 14:59:11 +00:00
John Cupitt
5644296b1c expand intro to resample 2016-11-21 13:10:06 +00:00
John Cupitt
f1e4416d6a more hacking 2016-11-21 13:02:08 +00:00
John Cupitt
23e3fecdb0 fix multi-page.tif load 2016-11-19 10:41:22 +00:00
John Cupitt
fd1c8d2732 possible strip read fix
untested though
2016-11-18 14:57:11 +00:00
John Cupitt
503225b777 more hackery
found a problem with non-aligned strips
2016-11-18 11:57:01 +00:00
John Cupitt
75bc46c8b8 multi-page tiled read compiles
need some test data though ... save next
2016-11-17 19:50:17 +00:00
John Cupitt
80e8c3f496 half-way through adding tiled read 2016-11-17 15:00:24 +00:00
John Cupitt
64d02a7a15 strip read works
tile next
2016-11-17 14:50:21 +00:00
John Cupitt
2475611b0d started expanding strip read 2016-11-17 12:30:32 +00:00
John Cupitt
3ecb6d6c8b lots of refactoring
and started adding many page check
2016-11-16 14:55:24 +00:00
John Cupitt
2f53ae956a start refactoring the tiff reader
loads to a separate header struct now
2016-11-16 10:45:18 +00:00
John Cupitt
e213a9ded6 remove @fail machinery from openslideload
since openslide load errors are fatal ... see

bb0a6643f9 (commitcomment-19838911)
2016-11-16 07:41:31 +00:00
John Cupitt
3ef6a4695a start adding read many page support
but it's not easy ... we'll need to be very strict about every page
being identical if we want to share readers
2016-11-15 10:07:09 +00:00
John Cupitt
92c549e995 tiny tiff2vips cleanup 2016-11-14 09:04:17 +00:00
John Cupitt
85be55fe4f add vips_image_get_fields()
helps bindings (which struglle with vips_image_map()) get a list of
header fields

works from py, but not ruby, I guess gchar** isn't a supported type for
ruby-gnome

see https://github.com/jcupitt/libvips/issues/533
2016-11-12 16:37:13 +00:00
John Cupitt
4540a2c220 oop, rank was not allowing index == 0
the desc for the index param to rank was incorrectly banning index == 0

see https://github.com/jcupitt/libvips/issues/555
2016-11-12 15:36:45 +00:00
John Cupitt
bb0a6643f9 move @fail from jpegload into the base load class
and add fail support to csv and openslide

see https://github.com/jcupitt/libvips/issues/546
2016-11-12 15:33:35 +00:00
John Cupitt
e72d145ae9 better >4gb detection for zip dzsave
older libgsfs can't save zip64 and will fail silently for very large
output trees ... improve the slightly sketchy >4gb detection in dzsave

this a a version of the patch in https://github.com/jcupitt/libvips/pull/462
2016-11-11 16:24:18 +00:00
John Cupitt
4df18c2a33 Merge branch '8.4' 2016-11-11 12:31:18 +00:00
John Cupitt
96ef05a9d1 fix a crash in arg handling on Windows
we were not updating argc in vips.c after all calls to
g_option_context_parse_strv() on Windows, leading to a crash in some cases

see https://github.com/jcupitt/libvips/issues/553
2016-11-11 10:14:03 +00:00
John Cupitt
ab6bb83266 fix a memleak in exif parsing 2016-11-10 11:09:49 +00:00
John Cupitt
5cc9229882 bump min libwebpmux version
0.3 can't read 0.5 libwebp files argh
2016-11-10 09:20:54 +00:00
John Cupitt
bf7f1cd9a4 add some tests 2016-11-10 07:24:04 +00:00