Hi,

There is indeed a way : https://git.orfeo-toolbox.org/otb.git/blob/73a0046d3bcfe12fe1bb331a3d09d9d56256722b:/Modules/Wrappers/SWIG/src/otbApplication.i#l195

This python API should be documented somewhere ...

Julien

Le 04/01/2017 à 16:15, Jordi Inglada a écrit :
Hi,

I can not find how to set the output pixel type for an application when using 
the python bindings. On the command line I do:

-out outImage.tif uint16

Using the python bindings I have tried:

app.SetParameterString("out","outImage.tif uint16")

but of course it does not work because the pixel type is considered to be part 
of the file name.

I was convinced of already having done that before, but grep tells me I am 
wrong.

Thank you.

Jordi



--
Julien MICHEL
CNES - DCT/SI/AP

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to