summaryrefslogtreecommitdiff
path: root/scripts/bin2png.sh
AgeCommit message (Collapse)Author
2020-07-14Add license and copyright informationLaurent Pinchart
Add SPDX tags to describe license and copyright information to all files in the repository. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2017-02-22scripts: bin2png.sh: Fix POSIX shell complianceKieran Bingham
The string manipulations of the form ${VAR/search/replace} are not posix compliant. Use string deletion, and append instead. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-02-13scripts: bin2png: Support conversion of all files in a directoryLaurent Pinchart
When the first argument is a directory name instead of a file name, convert all test script output binaries in that directory. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-02-13scripts: Provide bin2png.sh helperKieran Bingham
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>