g++ main.cpp src/binaryHandler.cpp src/command.cpp src/commandReader.cpp src/dithering.cpp src/ditheringGrayscale.cpp src/ditheringRGB.cpp src/executor.cpp src/fileManager.cpp src/handler.cpp src/image.cpp src/netpbm.cpp src/pbm.cpp src/pgm.cpp src/ppm.cpp src/textHandler.cpp src/validator.cpp src/baseHandler.cpp- PBM (ASCII, binary - with ASCII header)
- PGM (ASCII, binary - with ASCII header)
- PPM (ASCII, binary - with ASCII header)
exits the program
exitsaves in current location
savesaves in a different location
saveas "C:\Temp\another file.xml"loads a new file
open "C:\Temp\another file.xml"closes current file
closecreates a new file with a single color background
new 1000 1000 #ffffffresizes an image to a percentage of its current size or to exact parameters
resize 50
resize 100 100crops the image by upper left and lower right corner coordinates
crop 1 1 100 100dithers the image
dither- Floyd-Steinberg
- False Floyd-Steinberg
- Jarvis, Judice, and Ninke
- Stucki
- Atkinson
- Burkes
- Sierra
- Two-Row Sierra
- Sierra Lite
- 4x4 Bayer matrix
- 8x8 Bayer matrix