ban size == 0 for max/min
This commit is contained in:
parent
1414958b00
commit
c3def93361
13
TODO
13
TODO
@ -67,19 +67,6 @@
|
||||
|
||||
|
||||
|
||||
- try:
|
||||
|
||||
$ vips max babe.v --x-array --size 0
|
||||
Segmentation fault (core dumped)
|
||||
|
||||
- try:
|
||||
|
||||
im = VIPS::Image.new(ARGV[0])
|
||||
mask = im.less(240)
|
||||
columns, rows = mask.project
|
||||
|
||||
with wtc.jpg, segv if libvips is compiled with -O, OK without
|
||||
|
||||
- need to do mosaicing
|
||||
|
||||
- now vips_linear() has uchar output, can we do something with orc?
|
||||
|
@ -447,7 +447,7 @@ vips_max_class_init( VipsMaxClass *class )
|
||||
_( "Number of maximum values to find" ),
|
||||
VIPS_ARGUMENT_OPTIONAL_INPUT,
|
||||
G_STRUCT_OFFSET( VipsMax, size ),
|
||||
0, 1000000, 10 );
|
||||
1, 1000000, 10 );
|
||||
|
||||
VIPS_ARG_BOXED( class, "out_array", 6,
|
||||
_( "Output array" ),
|
||||
|
@ -450,7 +450,7 @@ vips_min_class_init( VipsMinClass *class )
|
||||
_( "Number of minimum values to find" ),
|
||||
VIPS_ARGUMENT_OPTIONAL_INPUT,
|
||||
G_STRUCT_OFFSET( VipsMin, size ),
|
||||
0, 1000000, 10 );
|
||||
1, 1000000, 10 );
|
||||
|
||||
VIPS_ARG_BOXED( class, "out_array", 6,
|
||||
_( "Output array" ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user