final polish
This commit is contained in:
parent
05acd06661
commit
9dda68f8cd
8
TODO
8
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 flatten alpha max ... copy the premultiply thing of being
|
||||||
|
255 + a param, look at convert savveable
|
||||||
change rules for alphha max ... copy the premultiply convention of using
|
|
||||||
Type to set the range
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ vips_premultiply_class_init( VipsPremultiplyClass *class )
|
|||||||
G_STRUCT_OFFSET( VipsPremultiply, in ) );
|
G_STRUCT_OFFSET( VipsPremultiply, in ) );
|
||||||
|
|
||||||
VIPS_ARG_DOUBLE( class, "max_alpha", 115,
|
VIPS_ARG_DOUBLE( class, "max_alpha", 115,
|
||||||
_( "Maximum value" ),
|
_( "Maximum alpha" ),
|
||||||
_( "Maximum value of alpha channel" ),
|
_( "Maximum value of alpha channel" ),
|
||||||
VIPS_ARGUMENT_OPTIONAL_INPUT,
|
VIPS_ARGUMENT_OPTIONAL_INPUT,
|
||||||
G_STRUCT_OFFSET( VipsPremultiply, max_alpha ),
|
G_STRUCT_OFFSET( VipsPremultiply, max_alpha ),
|
||||||
|
@ -261,7 +261,7 @@ vips_unpremultiply_class_init( VipsUnpremultiplyClass *class )
|
|||||||
G_STRUCT_OFFSET( VipsUnpremultiply, in ) );
|
G_STRUCT_OFFSET( VipsUnpremultiply, in ) );
|
||||||
|
|
||||||
VIPS_ARG_DOUBLE( class, "max_alpha", 115,
|
VIPS_ARG_DOUBLE( class, "max_alpha", 115,
|
||||||
_( "Maximum value" ),
|
_( "Maximum alpha" ),
|
||||||
_( "Maximum value of alpha channel" ),
|
_( "Maximum value of alpha channel" ),
|
||||||
VIPS_ARGUMENT_OPTIONAL_INPUT,
|
VIPS_ARGUMENT_OPTIONAL_INPUT,
|
||||||
G_STRUCT_OFFSET( VipsUnpremultiply, max_alpha ),
|
G_STRUCT_OFFSET( VipsUnpremultiply, max_alpha ),
|
||||||
|
Loading…
Reference in New Issue
Block a user