🖌️Image to 🧱Flowchart (I2F)

by lighfu

Version 1 (January 15, 2024)

Download (109 downloads)

A flowchart that converts coordinates and color data from image data into a flowchart.

Change the settings displayed in the dialog to match the image size. After importing, it becomes quite heavy from around 15,000 blocks. Exceeding this will cause Automate to crash on most devices.

Early flowcharts used Subroutine, but it was quite heavy and slow on the device, so I removed it.

📸 Sample image

https://gyazo.com/c31dfd16f6ffabc0cfbfaf091a081ac4

https://gyazo.com/c7eed4625e972d55f5228546b01fcebd (super resolution, 25000+ blocks)

⌨️ pseudo program

For encodeULEB127, I written a pseudo program using ternary operators and built-in functions.

This resulted in a reduction of more than 5 blocks. (Is the processing speed the same?)

💭 tips

Please change the stack size from Automate settings before running this flowchart. Processing will be faster.

The ideal image size is 200px in both height and width.

If you look at the log and find that it exceeds 10,000 blocks at an early stage, please review your settings.

If the image is long horizontally, it may become heavy.

Flowcharts around 25,000 blocks can only be exported as PDF.

To change the block type, you need to know the 2-byte ID and variable-length bytes.

🐝 flowchart bug

Changing the stack size during execution can cause bitmap data memory to be discarded. This may be a bug on Automate's side.

Automate does not support some image types (formats).

🧑‍🤝‍🧑 Community
You can check the results of this flowchart from the link below.

https://llamalab.com/automate/community/flows/47206

(As a caution, it may be best not to post the results of this flowchart, I2F flowchart, to the community too often. This is because putting pressure on the server will cause trouble. I think it's best to share high-resolution flowcharts with using a file sharing service.)

5.0 average rating from 5 reviews

5 stars
5
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.