CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Picture.URL Fail

by Ronbral » 25 Feb 2016 19:45

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]
Ronbral
 
Posts: 3
Joined: 28 Aug 2014 13:03

by Alexander Bulei » 26 Feb 2016 10:49

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQImage

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.