libvips/tools
John Cupitt 54d8e4808f restore bandfmt after unpremultiply in thumbnail
vips_unpremultiply() always outputs float. If you save the output of
vipsthumbnail to a format that supports float files, like tiff, it won't
ever get cast back to the source format.

Example:

	$ vipsheader Opera-icon-high-res.png
	Opera-icon-high-res.png: 3056x3325 uchar, 4 bands, srgb, pngload
	$ vipsthumbnail Opera-icon-high-res.png -o x.tif
	$ vipsheader x.tif
	x.tif: 117x128 float, 4 bands, scrgb, tiffload

This change makes it note and restore BandFmt aropund pre/unpremultiply.

See https://github.com/jcupitt/libvips/issues/447
2016-05-16 13:18:59 +01:00
..
Makefile.am rename vips wrapper script 2016-04-15 08:40:17 +01:00
batch_crop.in tools/batch_* scripts: verify number of arguments before invoking 'shift'. 2012-11-13 15:11:34 +01:00
batch_image_convert.in tools/batch_* scripts: verify number of arguments before invoking 'shift'. 2012-11-13 15:11:34 +01:00
batch_rubber_sheet.in tools/batch_* scripts: verify number of arguments before invoking 'shift'. 2012-11-13 15:11:34 +01:00
light_correct.in reorganise tools/ dir 2011-04-06 12:06:32 +01:00
shrink_width.in reorganise tools/ dir 2011-04-06 12:06:32 +01:00
vips-8.3 rename vips wrapper script 2016-04-15 08:40:17 +01:00
vips.c remove deprecated stuff from vips help 2015-04-20 09:47:44 +01:00
vipsedit.c add command-line option parsing to python 2014-11-18 11:29:32 +00:00
vipsheader.c add command-line option parsing to python 2014-11-18 11:29:32 +00:00
vipsprofile small vipsprofile cleanups 2013-12-18 11:49:32 +00:00
vipsthumbnail.c restore bandfmt after unpremultiply in thumbnail 2016-05-16 13:18:59 +01:00