Commit Graph

3277 Commits

Author SHA1 Message Date
John Cupitt fb05cef56a improve im_compass() back compat 2014-07-14 15:30:02 +01:00
John Cupitt c90c218db2 better back compat for im_compass() 2014-07-14 15:08:25 +01:00
John Cupitt 388f25fc0c vips_scale() needs round to nearest
or we can get rounding errors in some cases
2014-07-14 14:36:35 +01:00
John Cupitt 91eeeafa05 remove a copy from copy_file
we can send directly to output
2014-07-14 14:30:58 +01:00
John Cupitt e358cb1867 tiny fix to help valgrind 2014-07-14 12:56:08 +01:00
John Cupitt 89f8c58057 tiny vips_scale() fix
vips_scale() on a black image now returns an image with the right number
of bands ... was always a 1 band image before
2014-07-13 10:43:50 +01:00
John Cupitt a9fdde9ddb fix im_point()
oops ... helps ruby-vips self test
2014-07-12 15:29:02 +01:00
John Cupitt 1a8dd2f299 fix affine identity transform with clipping 2014-07-08 17:09:42 +01:00
John Cupitt 987021a68d notes 2014-07-04 14:46:28 +01:00
John Cupitt c2ae9f30c6 fix vips_rawsave_fd()
see https://github.com/jcupitt/libvips/issues/143

thanks aferrero2707
2014-07-04 13:58:47 +01:00
John Cupitt 70eacc4543 Merge branch 'dzsave-metadata'
Conflicts:
	ChangeLog
2014-07-03 09:42:13 +01:00
John Cupitt e6a75049c4 Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	TODO
2014-07-03 09:41:16 +01:00
John Cupitt f562dfdd5b oops 2014-07-03 09:13:01 +01:00
John Cupitt 80f0b7cedd put type on the value, not the field name 2014-07-03 09:12:06 +01:00
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