This tutorial will help you send or recive images using MQTT protocol in python. Also, this method can be used to send any kind of file.