I have stored the image from ftp as LONGBLOB in MySQL database. The Image breaks on retrieving from database to render it on Label component or in Paintable Canvas. In parallel i have written the same image data to memory tag of string type and on retrieving it to Label component. I can see proper expected image. I have tried creating query tag to bring the blob data and then using tag to render the image, even though it got broken as the data was quried from database. How to resolve this behavior when fetching the image as blob from database.