roslib
Version:
The standard ROS Javascript Library
13 lines (12 loc) • 382 B
TypeScript
/**
* @fileOverview
* @author Ramon Wijnands - rayman747@hotmail.com
*/
/**
* If a message was compressed as a PNG image (a compression hack since
* gzipping over WebSockets * is not supported yet), this function decodes
* the "image" as a Base64 string.
*
* @param data - An object containing the PNG data.
*/
export default function decompressPng(data: string): unknown;