Page 1 of 1

Picture.URL Fail

PostPosted: 25 Feb 2016 19:45
by Ronbral
Hi!

I have been experiencing crashes when trying to upload images ( base64 ) via picture.url . As follows:

...Picture.Url := 'data:image/png;base64,iVBORw0KGg...';

It happens that IW or CG to treat the string, adds extra characters in the data line ( , : / ) invalidating functionality.

I have fix for this problem?

Grateful.

[XE8 - CG2.6 - IW14.0.41]

Re: Picture.URL Fail

PostPosted: 26 Feb 2016 10:49
by Alexander Bulei
Hi Ronbral,

I have tested here, and works as expected this image base64:

Code: Select all
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==


Best Regards.