final case class ImageFileOut(key: String, in: D, width: I, height: I, fileType: I = -1, sampleFormat: I = 0, quality: I = 80) extends Expander[Unit] with Product with Serializable
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.
- key
the key into the enclosing object's attribute map, pointing to an
Artifact
- in
the signal to write
- width
image's width in pixels
- height
image's height in pixels
- fileType
a file type id as given by
ImageFileOut.id()
. The default is-1
(auto-detect).- sampleFormat
a sample format id as given by
ImageFileOut.id()
. The default is0
(8-bit Int).- quality
the compression quality for a lossy format such as JPG. The default is
80
.
- Alphabetic
- By Inheritance
- ImageFileOut
- Serializable
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ImageFileOut(key: String, in: D, width: I, height: I, fileType: I = -1, sampleFormat: I = 0, quality: I = 80)
- key
the key into the enclosing object's attribute map, pointing to an
Artifact
- in
the signal to write
- width
image's width in pixels
- height
image's height in pixels
- fileType
a file type id as given by
ImageFileOut.id()
. The default is-1
(auto-detect).- sampleFormat
a sample format id as given by
ImageFileOut.id()
. The default is0
(8-bit Int).- quality
the compression quality for a lossy format such as JPG. The default is
80
.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileType: I
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val height: I
- val in: D
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- def makeUGens(implicit b: Builder): Unit
Abstract method which must be implemented by creating the actual
UGen
s during expansion.Abstract method which must be implemented by creating the actual
UGen
s during expansion. This method is at most called once during graph expansion- returns
the expanded object (depending on the type parameter
U
)
- Attributes
- protected
- Definition Classes
- ImageFileOut → Expander
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val quality: I
- val sampleFormat: I
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val width: I
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated