figToImStream
Stream figure as byte array encoded in specified format
Description
output = figToImStream
(Name,Value)
Examples
Convert current figure to a signed PNG formatted byte array
surf(peaks) bytes = figToImStream
Convert a specific figure to a PNG stored in an unsigned byte array
f = figure; surf(peaks); bytes = figToImStream('figHandle',f,... 'imageFormat','bmp',... 'outputType','uint8');
Name-Value Arguments
Output Arguments
Version History
Introduced in R2009b