“Convert the MJP2 files in my Downloads folder to PGM”
Or run it yourself:
filestarcli -i file.mjp2 -c "convert to pgm"
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 MJP2 to PGM?
Yes. Install the Filestar CLI with npm install -g filestar and your agent can run filestarcli -i file.mjp2 -c "convert to pgm" on your computer, so your files stay on it.
MJ2 is a video file in the Motion JPEG 2000 format, where every frame is a complete JPEG 2000 image inside an ISO base media file. It is used for archival and cinema workflows, including 12-bit digital cinema scans, and converts losslessly to FFV1 or frame images.
A PGM file is a grayscale image file saved in the portable gray map (PGM) format and encoded with one or two bytes (8 or 16 bits) per pixel. It contains header information and a grid of numbers that represent different shades of gray from black (0) to white (up to 65,536). PGM files are typically stored in ASCII text format, but also have a binary representation.