Is there any way to create gwt.Image from String. I’ve not found anything. Pls help
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is not GWT question but more like HTML=) Normally browsers doesn’t allow you to generate an image. The only exception is Canvas which is supported in IE9+ and all other browser. This thing allows you to draw anything. But if you have users with IE6-IE8 they wan’t be able to see canvas. So you have multiple options:
slow)
you will face certain problems)
something like captcha, you can create a sprite map with letters,
than you simply build a DOM element for each character in text and
use correct sprite from sprite map for each element)