I have an application that sends photos, these photos are stored in the database (SQL Server) in a varchar (max) as a text. So far so good.
Now I need to convert this entire text to Bitmap and show this image in a Delphi Image (Delphi Version 7)
Part of the "Text" image is something like this;
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE / 2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB THE AhEBAxEB / 8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL / 8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4 + Tl5ufo6erx8vP09fb3 + Pn6 / 8QAHwEA AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL / 8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3 uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3 + Pn6 / 9oADAMBAAIRAxEAPwD8gdIu bW4RWtrmCZSQwaKRHDMS + AvzbjnHHzMMdGyBXdWUIYYwSTtHI4Iyx + 8Dkk7W2 + 5HICEn5G0XUHs8 Pbko25RmPAAC7hGx + Ydk2nBGCQQSxOfUNJ8Y6jGP + PliowSG2kZBY5zuIGMDr7At / E3zsY2i9Ltp X031atFNbrRtvpdtE80e / wCfn3fl + Wt3d / SdhGSvbI28qpBViz4I2nGMKRngDAXJIYHrrOL8WwBw pbaS3DDJVeRjPHQnLkgivn7SvH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