The Internet of Things (IoT) has revolutionized how objects
and devices interact, creating new possibilities for seamless connectivity
and data exchange. This paper presents a unique and effective method
for transferring images via the Message Queuing Telemetry Transport
(MQTT) protocol in an encrypted manner. The image is split into multiple
messages, with each carrying a segment of the image, and employ
top-notch encryption techniques to ensure secure communication. Applying
this process, the message payload is split into smaller segments, and
consequently, it minimizes the network bandwidth impact while mitigating
potential of packet loss or latency issues. Furthermore, by applying
encryption techniques, we guarantee the confidentiality and integrity of
the image data during transmission, safeguarding against unauthorized
access or tampering. Our experiments in a real-world scenario involving
remote indicator panels with LEDs verify the effectiveness of our approach.
By using our proposed method, we successfully transmit images
over MQTT, achieving secure and reliable data transfer while ensuring
the integrity of the image content. Our results demonstrate the feasibility
and effectiveness of the proposed approach for image transfer in
IoT applications. The combination of message segmentation, MQTT protocol,
and encryption techniques offers a practical solution for transmitting
images in resource-constrained IoT networks while maintaining data
security. This approach can be applied in different applications.