diff --git a/TODO b/TODO index 3f3623af..67c5734e 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/libvips/conversion/premultiply.c b/libvips/conversion/premultiply.c index b668bd30..ad84e1e4 100644 --- a/libvips/conversion/premultiply.c +++ b/libvips/conversion/premultiply.c @@ -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 ), diff --git a/libvips/conversion/unpremultiply.c b/libvips/conversion/unpremultiply.c index b26591c7..a806f0e7 100644 --- a/libvips/conversion/unpremultiply.c +++ b/libvips/conversion/unpremultiply.c @@ -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 ),