@@ -415,7 +415,7 @@ def renderSectionClient(stack, rootDirectory, zs, scale=None,
415415 format = None , channel = None , customOutputFolder = None ,
416416 customSubFolder = None , padFileNamesWithZeros = None ,
417417 resolutionUnit = None , doFilter = None , fillWithNoise = None ,
418- imageType = None , subprocess_mode = None , host = None ,
418+ convertToGray = None , subprocess_mode = None , host = None ,
419419 port = None , owner = None , project = None ,
420420 client_script = None , memGB = None , render = None ,
421421 ** kwargs ):
@@ -451,8 +451,8 @@ def renderSectionClient(stack, rootDirectory, zs, scale=None,
451451 resolutionUnit: str
452452 if format is tiff and unit is specified (e.g. as 'nm'), include resolution data
453453 in rendered tiff headers.
454- imageType: int
455- 8,16,24 to specify what kind of image type to save
454+ convertToGray: str
455+ string representing java boolean for whether to save output as 8bit uint
456456 doFilter : str
457457 string representing java boolean for whether to render image
458458 with default filter (varies with render version)
@@ -488,7 +488,7 @@ def renderSectionClient(stack, rootDirectory, zs, scale=None,
488488 get_param (maxIntensity , '--maxIntensity' ) +
489489 get_param (fillWithNoise , '--fillWithNoise' ) +
490490 get_param (customOutputFolder , '--customOutputFolder' ) +
491- get_param ( imageType , '--imageType' ) +
491+ ([ '--convertToGray' ] if convertToGray else [] ) +
492492 get_param (channel , '--channels' ) +
493493 get_param (customSubFolder , '--customSubFolder' ) +
494494 get_param (padFileNamesWithZeros , '--padFileNamesWithZeros' ) +
0 commit comments