Forrest logo
tool overview
On this page you find all important commands for the CLI tool sam2p. If the command you are looking for is missing please ask our AI.


Sam2p is a powerful command line tool primarily used for converting bitmap images to vector graphics. It stands for "Structure-Aware Metamorphing 2D Picture" and is primarily used in the field of computer graphics.

Developed by Szabolcs Bálint, sam2p supports a wide range of image formats including PNG, BMP, JPEG, GIF, and TIFF. It can perform various operations like color depth conversions, image scaling, cropping, rotation, and more.

The tool utilizes advanced algorithms to analyze and convert bitmap images into vector graphics while preserving the structural integrity and fine details of the original image. This makes it useful for tasks such as image resizing without losing quality or converting images for print media.

Sam2p provides a user-friendly command line interface with several configurable options, allowing users to specify the desired output quality and file formats. It is compatible with various operating systems including Windows, macOS, and Linux.

The tool offers features like transparency handling, anti-aliasing, and dithering, enhancing the overall visual quality of the output. It also supports multi-page TIFF files and can convert images to PDF format.

Sam2p is often used by graphic designers, artists, and developers involved in image processing and computer-generated art. Its versatility and efficiency make it a popular choice for conversion tasks that require high-quality output.

While primarily a command line tool, sam2p also provides a C API for those who prefer to integrate its functionalities into their own applications.

Overall, sam2p is a powerful and flexible command line tool widely used for converting bitmap images to vector graphics, providing advanced features and preserving image quality.

List of commands for sam2p:

  • sam2p:tldr:d1115 sam2p: Concatenate all PDF files into one.
    $ sam2p *.pdf ${path-to-output-pdf}
    try on your machine
    explain this command
tool overview