Package dev.gmitch215.bytebox.binding
Interface Images
- All Superinterfaces:
org.teavm.jso.JSObject
public interface Images
extends org.teavm.jso.JSObject
The Images binding. Declared with
images(), named IMAGES.
Only part of this is simulated locally, so a test covering a transform beyond the simulated subset has to run against the real service.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA transformation under construction. -
Method Summary
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
info
Reads an image's format and dimensions without transforming it.- Parameters:
stream- the image bytes, as a stream- Returns:
- the format, width and height
-
input
Starts a transformation.- Parameters:
stream- the image bytes, as a stream- Returns:
- the transformer, which is chained and then output
-
readInfo
-