Package ke.ric.renderer.api
Class PngConverter
java.lang.Object
ke.ric.renderer.api.PngConverter
Converts immutable RGBA8 render output into a PNG byte stream.
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]encode(RenderResult frame) Encodes copied RGBA8 including alpha without modifying the frame; run away from the server thread for nontrivial images.
-
Method Details
-
encode
Encodes copied RGBA8 including alpha without modifying the frame; run away from the server thread for nontrivial images.
-