scripts: Provide bin2png.sh helper
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Thu, 1 Dec 2016 21:31:46 +0000 (21:31 +0000)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 13 Feb 2017 18:43:48 +0000 (20:43 +0200)
commit9e023de20265fc4211f3b34d45c5dfc9f526de3f
tree541e258de2cc3ddaf0284d9e337c36c5e18f5985
parent2b923a64ce11f4dc4e12cc024ce9b30b09b162a4
scripts: Provide bin2png.sh helper

Identify the size and format from the test output filename, and pass
to raw2rgbpnm for conversion to a PNM file.

From there we can convert easily to a PNG output file.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
scripts/Makefile
scripts/bin2png.sh [new file with mode: 0755]