display

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
m (Display moved to display)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
Return Value: none.  The image is opened in a new window
 
Return Value: none.  The image is opened in a new window
 
|
 
|
Syntax: display(object)
+
[[Syntax]]: display(object)
 
   
 
   
The display function passes the specified argument to an external viewer.
+
The display function converts the specified argument to a PNG file and passes it to an external viewer.  The default viewer can be overridden with the DV_VIEWER environment variable.
 
|
 
|
 
  dv> a
 
  dv> a
Line 21: Line 21:
 
|
 
|
 
}}
 
}}
[[category:Davinci Core]]
 
 
[[category:Functions]]
 
[[category:Functions]]
 +
[[category:Davinci Core]]

Latest revision as of 13:06, 19 February 2013



Description

Display a color or greyscale image in a new window

Arguments and Return Values

Arguments: A 1 band or 3 band byte array

Return Value: none. The image is opened in a new window

Usage

Syntax: display(object)

The display function converts the specified argument to a PNG file and passes it to an external viewer. The default viewer can be overridden with the DV_VIEWER environment variable.

Examples

dv> a
320x500x3 array of byte, bip format [480,000 bytes]

dv> display(a)
dv>

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left


Recent Core Changes

Modified On: 02-19-2013

Personal tools