final case class ImageFileSeqOut(key: String, in: D, width: I, height: I, fileType: I = -1, sampleFormat: I = 0, quality: I = 80, indices: I) extends Expander[Unit] with Product with Serializable
A graph element that creates a UGen writing to a file
sequence 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
for the file template. The artifact's file name is taken as a template. Either that file contains a single placeholder forjava.util.Formatter
syntax, such as%d
to insert an integer number. Or alternatively, if the file name does not contain a%
character but a digit or a sequence of digits, those digits will be replaced by%d
to produce a valid template. Therefore, if the template isfoo-123.jpg
and the indices contain4
and5
, then the UGen will write the imagesfoo-4
andfoo-5
(the placeholder123
is irrelevant).- 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
ImageFileSeqOut.id()
. The default is-1
(auto-detect).- sampleFormat
a sample format id as given by
ImageFileSeqOut.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
- ImageFileSeqOut
- Serializable
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ImageFileSeqOut(key: String, in: D, width: I, height: I, fileType: I = -1, sampleFormat: I = 0, quality: I = 80, indices: I)
- key
the key into the enclosing object's attribute map, pointing to an
Artifact
for the file template. The artifact's file name is taken as a template. Either that file contains a single placeholder forjava.util.Formatter
syntax, such as%d
to insert an integer number. Or alternatively, if the file name does not contain a%
character but a digit or a sequence of digits, those digits will be replaced by%d
to produce a valid template. Therefore, if the template isfoo-123.jpg
and the indices contain4
and5
, then the UGen will write the imagesfoo-4
andfoo-5
(the placeholder123
is irrelevant).- 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
ImageFileSeqOut.id()
. The default is-1
(auto-detect).- sampleFormat
a sample format id as given by
ImageFileSeqOut.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
- val indices: I
- 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
- ImageFileSeqOut → 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