We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Change Datatype in selectOutput()
Page Index Toggle Pages: 1
Change Datatype in selectOutput() (Read 982 times)
Change Datatype in selectOutput()
May 14th, 2010, 6:34am
 
Hey,

how can I set the data types in the function selectOutput (http://processing.org/reference/selectOutput_.html) I only need the following types in the dropDown field: "tif", "tga", "jpg", "png".
Re: Change Datatype in selectOutput()
Reply #1 - May 14th, 2010, 7:02am
 
A glance at dev reference doesn't show any undocumented features, so it looks like you can't do that without modifying the source code.  Seems like a good candidate for a future enhancement (I'd imagine this is a fairly common thing people would want to do) so you might post it in the suggestions forum.
Re: Change Datatype in selectOutput()
Reply #2 - May 14th, 2010, 9:31am
 
See File extension for selectOutput() and Browse threads, among others.
Page Index Toggle Pages: 1