Unofficial Nextion/TJC User Forum

Convert Nextion to Text

New day new progress.

The script should now parse all basic/enhanced series components in all of their variations. Picture background, crop picture background, solid color background, … all included.

Since there are no more disadvantages over the old version, I merged the new parser into the master branch. So consider this the “public release” :wink: https://github.com/MMMZZZZ/Nextion2Text

Kind regards,
Max

1 Like

Hi @Max
Wow, awsome. Great work, I didn’t expect that. Good idea how to deal with the various special cases.
I found some minor bugs, see


Kind regards
Philipp
1 Like

Thank you very much - for the compliment and your contribution.

That pull request became quite a bit bigger, with changes worth mentioning here:

  • If you don’t like the replacing of attribute names and/or values, you can disable it now using -n/--keep_names and -v/--keep_values. Using both gives you f.ex sta: 0 instead of Fill: cropped image.
  • The dependency resolver had issues and did not work in a predictable way. Fixed.
  • Example folder is now up-to-date
  • Updated readme
  • Some minor fixes and changes

Enjoy!
Max


This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).