Commit Graph

3113 Commits

Author SHA1 Message Date
John Cupitt
50c98c39d1 cache the image before write for fits
write must be strictly top-to-bottom for :seq to work
2014-07-02 12:45:19 +01:00
John Cupitt
8e2d83e815 use the libxml2 pretty-printer 2014-07-02 12:04:28 +01:00
John Cupitt
3913ef5c89 pretty-print dzsave xml output 2014-07-02 09:01:26 +01:00
John Cupitt
fcd7688faa sync 2014-07-02 08:49:09 +01:00
John Cupitt
93d8433270 fix use of header 2014-07-01 14:51:16 +01:00
John Cupitt
98e156301c use libxml2 to write props
don't write xml ourselves, get libxml2 to do the encoding
2014-07-01 12:07:31 +01:00
John Cupitt
5d1fa07a40 more dzsave props tweaks
* don't version xmlns
* escape <> in field names and values
* set a type on each value
2014-07-01 09:26:10 +01:00
John Cupitt
fc14733b2b Merge branch 'dzsave-metadata' of github.com:jcupitt/libvips into dzsave-metadata
Conflicts:
	ChangeLog
	configure.ac
2014-07-01 08:47:50 +01:00
John Cupitt
c5fbe6daa6 more tweaks to dzsave props
add docs too
2014-06-30 12:58:57 +01:00
John Cupitt
c89cb617b6 Merge branch 'master' into dzsave-metadata
Conflicts:
	libvips/foreign/dzsave.c
2014-06-30 12:15:53 +01:00
John Cupitt
8c82ffb865 fix interlaced thumbnails
we need to cache the thumbnail before we write it in case the writer
needs to make several passes

see https://github.com/jcupitt/libvips/issues/140
2014-06-30 12:07:00 +01:00
John Cupitt
c2a8c542b6 we assumed GType fitted in an int
which isn't true on freebsd, and perhaps others
2014-06-29 11:17:23 +01:00
John Cupitt
362b2db9ab silence some compiler warnings 2014-06-29 10:34:42 +01:00
John Cupitt
a44fd6f72f oops 2014-06-28 10:02:20 +01:00
John Cupitt
1ad9d246fe bump soname
see https://github.com/jcupitt/libvips/issues/139
2014-06-28 09:42:56 +01:00
John Cupitt
04d130828f add --enable-docs configure option
so you can now stop all docs installing, freebsd likes this
2014-06-27 14:56:11 +01:00
John Cupitt
a13ec2aef8 improve short option name handling
we were setting short option names for deprecated options causing
confusion, see:

https://github.com/jcupitt/libvips/issues/110

thanks bgilbert
2014-06-27 14:33:40 +01:00
John Cupitt
243c86f405 small fixes to help freebsd 2014-06-27 13:11:57 +01:00
John Cupitt
40e3466482 fix a bash-ism in configure.ac
helps freebsd
2014-06-26 17:18:24 +01:00
John Cupitt
d9ddf0287e note date and version in dzprops 2014-06-26 11:08:00 +01:00
John Cupitt
58bfb69b07 wrap props in another element 2014-06-26 10:54:07 +01:00
John Cupitt
94f92fc014 write props to a separate file
and dump all vips props
2014-06-26 09:30:36 +01:00
John Cupitt
a02deb3ac9 stop dzsave zip write at 4gb
see https://github.com/jcupitt/libvips/issues/138

not great, but better than producing a corrupt file
2014-06-25 14:34:13 +01:00
John Cupitt
e9a0acfa9b save openslide metadata to .dzi files
see https://github.com/jcupitt/libvips/issues/137

todo:

- save to zoomify ImageProperties.xml as well?
- any other useful fields?
2014-06-25 11:26:05 +01:00
John Cupitt
d1e082889f fix guess prefix
oop, basename / dirname swapped
2014-06-24 17:51:29 +01:00
John Cupitt
9ad0942062 update man pages
oops, forgot to update man pages for header -> vipsheader rename
2014-06-24 14:19:57 +01:00
John Cupitt
1f6774376f fix make dist 2014-06-23 21:54:36 +01:00
John Cupitt
da77b68d3e bump version to 7.40
and rename header and edvips as vipsheader and vipsedit

remove mergeup and find_mosaic
2014-06-23 20:22:50 +01:00
John Cupitt
6ad65fbb68 png read fixes
- call png_read_end()
- catch errors during header read
- free read mem sooner
2014-06-23 09:49:23 +01:00
John Cupitt
150927a27f better --vips-progress feedback for dzsave 2014-06-19 12:57:04 +01:00
John Cupitt
3797c1824a doc fixups 2014-06-19 12:14:41 +01:00
John Cupitt
415b6d08be small fixups
- remove -c abbrv. for --vips-concurrency
- better desc for insert
- revise vips.1 man page
2014-06-19 09:59:29 +01:00
John Cupitt
32f5c444c5 update notes 2014-06-18 14:50:35 +01:00
John Cupitt
0e68067a82 oops dropped a patch 2014-06-18 14:08:41 +01:00
John Cupitt
84d65c1727 Merge branch '7.38'
Conflicts:
	libvips/resample/affine.c
2014-06-18 13:48:08 +01:00
John Cupitt
5e57c13af7 fix affine in a better way
argh this time
2014-06-18 12:34:20 +01:00
John Cupitt
d01beb5411 fix coordinate error in affine
see https://github.com/jcupitt/libvips/issues/131
2014-06-17 14:22:55 +01:00
John Cupitt
131b78ad67 forgot to turn off DEBUG 2014-06-17 14:21:31 +01:00
John Cupitt
519898a7ac oop, affine coordinate error
we were offsetting the input image incorrectly, compare
the way the transform is set up in vips_affine_build() and
im__affinei()

see https://github.com/jcupitt/libvips/issues/131
2014-06-17 14:18:12 +01:00
John Cupitt
b7f16a1de9 more docs work 2014-06-16 14:28:00 +01:00
John Cupitt
a76df77942 docs updates 2014-06-15 11:52:06 +01:00
John Cupitt
02ea78232e fix bandbool for float/double
bandary couldn't set output type correctly
2014-06-15 11:14:57 +01:00
John Cupitt
eed4bfc731 Merge remote-tracking branch 'origin/single-thread-first-tile'
Conflicts:
	ChangeLog
	TODO
2014-06-13 11:46:11 +01:00
John Cupitt
9d5ea2129b update notes 2014-06-13 11:45:19 +01:00
John Cupitt
f5200dd4a0 Merge branch 'master' of github.com:jcupitt/libvips 2014-06-13 11:44:27 +01:00
John Cupitt
000d77e994 final clean-up 2014-06-13 10:52:07 +01:00
John Cupitt
6e48c47533 stop image abuse in labelregions
we were marking as image as changing by calling vips_image_readwrite(),
but the cache system didn't uncache it
2014-06-13 09:44:58 +01:00
John Cupitt
bf56f8f203 oops, missed another NULL 2014-06-12 14:41:04 +01:00
John Cupitt
7bc0ca7283 update notes 2014-06-12 14:35:38 +01:00
John Cupitt
40e8025a55 more fixups to pass testsuite 2014-06-12 14:23:53 +01:00