Adds Crop and Watermark mutations

This commit is contained in:
Mark Hoekveen
2019-03-06 20:07:00 +01:00
parent 3ffb39ea73
commit f2466a63ec
3 changed files with 40 additions and 2 deletions
+2 -1
View File
@@ -20,12 +20,13 @@ DescriptorManager::DescriptorManager(const fs::path & image_path) {
descriptor_types[0] = new averageColor();
mutators[0] = new Grayscale();
mutators[1] = new Flip();
mutators[1] = new Crop();
mutators[2] = new Flop();
mutators[3] = new JPEG();
mutators[4] = new LowQ();
mutators[5] = new Hue();
mutators[6] = new Brighten();
mutators[7] = new Watermark();
}
//No need to call destructor.. yet?