Update fc_block_decode.py convert bin to jpeg

fc-fctelem
Alan Johnston 10 months ago committed by GitHub
parent 9f8dfa5ea9
commit 0aed6129ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -61,7 +61,9 @@ if __name__ == "__main__":
print("File error") print("File error")
else: else:
print("End of image") print("End of image")
system("sudo mv image_file image_file" + str(image_count)) # system("sudo mv image_file image_file" + str(image_count))
system("home/pi/ssdv/ssdv -d -J image_file image_file" + str(image_count) + ".jpeg")
system("sudo rm image_file")
print("Image count: ") print("Image count: ")
print(image_count) print(image_count)
image_count = (image_count + 1) % 256 image_count = (image_count + 1) % 256

Loading…
Cancel
Save

Powered by TurnKey Linux.