Skip to content

Proposal: Faster Image-to-GCode conversion (100× speedup possible) #2646

@Asger-P

Description

@Asger-P

Hi,

I have written a C++ function that converts large images to GCode extremely fast.
Example benchmark:

Image size: 450 mm × 285 mm
LaserGRBL
1o lines pr mm - 1:32 min - 7,5 GB ram
2o lines pr mm - 5:31 min - 19,5 GB ram

My code
1o lines pr mm - 0,46 sec - 200 MB ram
2o lines pr mm - 2,03 sec - 790 MB ram

I’d be happy to contribute this function to LaserGRBL. However, my code is in C++ (not C#), so integration would require either: wrapping the function as a DLL and calling it from C#, or porting the algorithm into C#. (I don't do C#).

Before I invest more time into preparing a DLL or a demo app, I’d like to ask:
Would the maintainers be at all interested in this contribution?

P.s. I'm new to this Github thing, so be gentle.

Thanks!
Best regards
Asger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions