Repairing Photos with GiMP class