You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
294 B
14 lines
294 B
|
|
# This script generates tester resources using rescue compiler
|
|
# https://github.com/lukacu/rescue/
|
|
|
|
I = imread('static.jpg');
|
|
|
|
fh = fopen('static.bin', 'w');
|
|
fwrite(fh, I, 'uint8');
|
|
fclose(fh);
|
|
|
|
system('rescue -o ../tester_resources.c -p tester static.jpg static.bin');
|
|
|
|
delete('static.bin');
|