final case class ImageFileOut(key: String, in: GE, width: GE, height: GE, fileType: GE, sampleFormat: GE, quality: GE) extends Expander[Unit]
A graph element that creates a UGen writing to a file
designated by an object attribute with a given key
and the
value being an Artifact
.
If the given file-type GE
is -1
, the type is determined by this
artifact. For example, if the artifact's path ends in ".png"
, the PNG
format will used, if the path ends in ".jpg"
, then JPEG will be used.
The default is PNG.
- Value parameters:
- fileType
a file type id as given by
ImageFileOut.id()
. The default is-1
(auto-detect).- height
image's height in pixels
- in
the signal to write
- key
the key into the enclosing object's attribute map, pointing to an
Artifact
- quality
the compression quality for a lossy format such as JPG. The default is
80
.- sampleFormat
a sample format id as given by
ImageFileOut.id()
. The default is0
(8-bit Int).- width
image's width in pixels
- Companion:
- object
trait Serializable
trait Expander[Unit]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any