“Convert the CNC G-code (txt) files in my Downloads folder to BMP”
Or run it yourself:
filestarcli -i file.txt -c "convert to bmp"
Runs on your computer, so your files stay on it. Works on Windows, macOS and Linux. 50 free conversions with the npm install, no account needed.
Can my AI agent convert CNC G-code (txt) to BMP?
Yes. Install the Filestar CLI with npm install -g filestar and your agent can run filestarcli -i file.txt -c "convert to bmp" on your computer, so your files stay on it.
A .txt file that holds G-code is a CNC machining or 3D-printer program saved as plain text; its content (G0/G1 motion words, no binary bytes), not the extension, says it is a program.
A BMP file is an uncompressed raster image comprised of a rectangular grid of pixels. It contains a file header (bitmap identifier, file size, width, height, color options, and bitmap data starting point) and bitmap pixels, each with a different color.