Closed shyamal890 closed 5 years ago
I'm not sure I understand this issue, or what is desired. What is the use case you're trying to satisfy where you need to know the background size/position? Also, what does this have to do with "getting the base64 image as output"? :)
It was for using the emoji image itself to be drawn in the canvas. The rendered Emoji have background image of the whole sheet, I was hoping to get the specified position of that specific emoji. Or possibly get the image itself. Nonetheless, I just used the native one.
On Fri, 8 Mar 2019 at 10:40 Nolan Lawson notifications@github.com wrote:
I'm not sure I understand this issue, or what is desired. What is the use case you're trying to satisfy where you need to know the background size/position? Also, what does this have to do with "getting the base64 image as output"? :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/missive/emoji-mart/issues/239#issuecomment-470782785, or mute the thread https://github.com/notifications/unsubscribe-auth/AeYDLHe_EtzbFuN5XIyGkdnlFV-A8Alxks5vUc2DgaJpZM4X9bB4 .
OK, it sounds like this issue has been resolved please reopen as necessary! Thanks. :)
I hope emoji-mart caters this feature. As of now,
EmojiMart.Emoji
renders a span wherein the background is set to the fetched image sheet. Unfortunately, you can not see in advance the background size nor the position of the emoji within the fetched image sheet.Is there a possible way to get the background size/position in advance? Or perhaps get the base64 image directly?