To run this project, please run the command make in the terminal inside the project directory. Afterwards, run ./Imageomatic.
Commands:
-
A <filename>→ Loads the image into register A -
B <filename>→ Loads the image into register B -
+ <filename>→ Generates a new file with the image that is in register A -
C→ Copies the image from register B to register A -
Q→ Converts the image in register A to grayscale -
N→ Converts the image in register A to negative -
H→ Scales the image in register A to half its original size -
P <color> <width> <height>→ Generates a solid color image with the width and height chosen. The color can be in hexadecimal or a name of a color incores.txt. The image is saved in register A -
R→ Rotates 90º the image in register A -
O <level>→ Posterizes the image in register A.levelmust be an integer between 0 and 8 -
G <width> <height>→ Generates an image simulating the waves created by a drop of water. The image is saved in register A -
D <level>→ Blurs the image in register A -
M→ Merges the images in register A and B. The images must have the same size -
F <width> <height> <scale>→ Generates an image with the graph of a function. The image is saved in register A -
T→ Converts the image in register A using a dithering algorithm -
E <message>→ Hides a message in the image that is in register A (Steganography) -
Z→ Ends the program











