Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No pic safe on Sent to comand #78

Open
Peter1980FFM opened this issue Feb 9, 2023 · 0 comments
Open

No pic safe on Sent to comand #78

Peter1980FFM opened this issue Feb 9, 2023 · 0 comments

Comments

@Peter1980FFM
Copy link

Peter1980FFM commented Feb 9, 2023

I have Insert the Code

sendTo('cameras.0', 'image', {
    name: 'cam1', 
    width: 100, // optional 
    height: 50, // optional
    angle: 90   // optional
}, result => {
    const img = 'data:' + result.contentType + ';base64,' + result.data;
    console.log('Show image: ' + img);    
}); 

in the Javascript part in Blockly,
It will generate the Raw and wrote it in the Console but not generate a Picture to send
Could you please update this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant