This is a migrated thread and some comments may be shown as answers.

Image from byte array

3 Answers 185 Views
Drawing API
This is a migrated thread and some comments may be shown as answers.
Emanuele
Top achievements
Rank 1
Emanuele asked on 23 Oct 2015, 02:32 PM
Is it possible to have src in draw.image from a byte array? I manage to draw ​jpg with just canvas in html5 ​using "var datauri = "data:image/jpeg;base64,..."  so i try to make the same with kendo drawing api, no errors but no image. Could you help?

3 Answers, 1 is accepted

Sort by
0
Emanuele
Top achievements
Rank 1
answered on 27 Oct 2015, 08:08 AM
Any help?
0
Daniel
Telerik team
answered on 27 Oct 2015, 10:37 AM
Hello,

The image seems to be shown when setting data URI for the drawing Image source. Could you check this example and let me know if I am missing something?

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Emanuele
Top achievements
Rank 1
answered on 27 Oct 2015, 02:51 PM
it's perfect. Now i understand what it was wrong, thanks for help
Tags
Drawing API
Asked by
Emanuele
Top achievements
Rank 1
Answers by
Emanuele
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or