final polish

This commit is contained in:
John Cupitt 2015-05-09 10:21:31 +01:00
parent 05acd06661
commit 9dda68f8cd
3 changed files with 5 additions and 7 deletions

8
TODO
View File

@ -1,9 +1,7 @@
- does flatten work with float?
- looks like flatten has some confusion with flatten->in and in
looks like it has some confusion with flatten->in and in
change rules for alphha max ... copy the premultiply convention of using
Type to set the range
change rules for flatten alpha max ... copy the premultiply thing of being
255 + a param, look at convert savveable

View File

@ -250,7 +250,7 @@ vips_premultiply_class_init( VipsPremultiplyClass *class )
G_STRUCT_OFFSET( VipsPremultiply, in ) );
VIPS_ARG_DOUBLE( class, "max_alpha", 115,
_( "Maximum value" ),
_( "Maximum alpha" ),
_( "Maximum value of alpha channel" ),
VIPS_ARGUMENT_OPTIONAL_INPUT,
G_STRUCT_OFFSET( VipsPremultiply, max_alpha ),

View File

@ -261,7 +261,7 @@ vips_unpremultiply_class_init( VipsUnpremultiplyClass *class )
G_STRUCT_OFFSET( VipsUnpremultiply, in ) );
VIPS_ARG_DOUBLE( class, "max_alpha", 115,
_( "Maximum value" ),
_( "Maximum alpha" ),
_( "Maximum value of alpha channel" ),
VIPS_ARGUMENT_OPTIONAL_INPUT,
G_STRUCT_OFFSET( VipsUnpremultiply, max_alpha ),