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

Convert blockly workspace to png image #95

Open
bartbutenaers opened this issue Aug 13, 2021 · 3 comments
Open

Convert blockly workspace to png image #95

bartbutenaers opened this issue Aug 13, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bartbutenaers
Copy link
Owner

Hi @cymplecy,

Yesterday this discussion on the Blockly forum was solved. It is about creating a png image from the Blockly workspace.

Do you think this could be useful to add, e.g. as documentation of your workspace?

If you would like to have it, which way would you like to trigger this feature:

  1. Via a shortcut key
  2. Via the left mouse context popup menu
  3. Via a button (next to the expand button?)
  4. Others?

P.S. I cannot trigger this feature via an input message, because Blockly runs in the frontend (i.e. in the flow editor)...

P.S. I the orginal pull request of that feature, they mention that it only runs on Chrome. Don't know if that is still the case in their latest update. Will need to test that...

@bartbutenaers bartbutenaers added enhancement New feature or request help wanted Extra attention is needed labels Aug 13, 2021
@cymplecy
Copy link
Collaborator

  1. No more enhancements at the moment - just publish 2.0.0 :)

  2. See 1 :)

@bartbutenaers
Copy link
Owner Author

@cymplecy,
Deal. But is this useful for you afterwards or not?

@cymplecy
Copy link
Collaborator

It would be useful to produce clean images of blocks, Snap! has this feature (you right click on a script and select script pic to download a copy of the blocks)

I don't use it much myself, as it's a lot easier to just take a screenshot and paste it - the fact that there is background in the image doesn't normally worry me

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants