reset password
Author Message
jgarc629
Posts: 76
Posted 01:15 Feb 15, 2020 |

For Task 2, should we assume that they will run the program with a grayscale image so that it only runs ordered dithering or should we include a reference to Task 1 in Task 2 so it can take a regular ppm, grayscale it and then run ordered dithering in the same method? 

ilopezd
Posts: 16
Posted 11:40 Feb 16, 2020 |

The way I did it was if the file with 'filename-gray.ppm' doesn't exist tell the user to run the first command. and if it already exists then the ordered dithering should run fine. 

yzhao52
Posts: 32
Posted 22:07 Feb 16, 2020 |

Actually, for all three tasks, you need to start with 24-bit color image. You shouldn't assume that "Ducky-gray.ppm" is existing when conducting Task 2.