Contributor : Zaynab Ghazi
How to run : java Main -i -o < desired name of output file> <for image compression use flag “-c”> <for edge detection use flag “-e”> <for outline of quadTree use flag “-t”>
Note that “-c” outputs 8 files with increasing resolution with numbered nomenclature.
Sample run for input file “fire.ppm”:
Using the -c flag only:
Using the “-e” flag only:
Using the “-c” and “-t” flags: