-1

I am trying to extract/export a UI Chart as image data (jpg). Ultimately I want to get the image data directly:

image: 'data:image/jpeg;base64,...encodedContent...'

Is it possible or can it be combined with another NativeScript plugin?

CAJazzer
  • 41
  • 5

1 Answers1

0

Try the nativescript-screenshot plugin, it returns a image source which you may write it to a file / convert to base64 string.

Manoj
  • 21,753
  • 3
  • 20
  • 41