public class CreateRGBImage extends Object implements stream.Processor
This processor tries to decode a chunk of bytes from a byte array attribute into an RGB image object.
public stream.Data process(stream.Data input)
process in interface stream.ProcessorProcessor.process(stream.Data)public String getKey()
@Parameter(description="The name/key of the attribute to which the RGBImage object is being output, defaults to `image`.") public void setKey(String key)
key - the key to setpublic String getFrom()
@Parameter(description="The name/key of the attribute which holds a byte array of the image data, defaults to `data`.") public void setFrom(String from)
from - the from to setCopyright © 2015. All rights reserved.