parent
0231cdf134
commit
8345cbf1e9
@ -180,7 +180,7 @@ rad2float( COLR *inp, COLOR *outbuf, int n )
|
|||||||
int
|
int
|
||||||
im_rad2float( IMAGE *in, IMAGE *out )
|
im_rad2float( IMAGE *in, IMAGE *out )
|
||||||
{
|
{
|
||||||
if( vips_check_coding_rad( "rad2float", in ) ||
|
if( vips_check_coding_rad( "argb2rgba", in ) ||
|
||||||
im_cp_desc( out, in ) )
|
im_cp_desc( out, in ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
out->Bands = 3;
|
out->Bands = 3;
|
||||||
|
@ -64,7 +64,6 @@ extern "C" {
|
|||||||
#define IM_CODING_NONE VIPS_CODING_NONE
|
#define IM_CODING_NONE VIPS_CODING_NONE
|
||||||
#define IM_CODING_LABQ VIPS_CODING_LABQ
|
#define IM_CODING_LABQ VIPS_CODING_LABQ
|
||||||
#define IM_CODING_RAD VIPS_CODING_RAD
|
#define IM_CODING_RAD VIPS_CODING_RAD
|
||||||
#define IM_CODING_ARGB VIPS_CODING_ARGB
|
|
||||||
|
|
||||||
#define IM_TYPE_MULTIBAND VIPS_INTERPRETATION_MULTIBAND
|
#define IM_TYPE_MULTIBAND VIPS_INTERPRETATION_MULTIBAND
|
||||||
#define IM_TYPE_B_W VIPS_INTERPRETATION_B_W
|
#define IM_TYPE_B_W VIPS_INTERPRETATION_B_W
|
||||||
|
Loading…
Reference in New Issue
Block a user