I'm trying to flip a layer vertically in the same way that Layer > Transform > Flip Vertically does, but my code doesn't seem to be working.
pdb.gimp_drawable_transform_flip_simple(layer, ORIENTATION_VERTICAL, True, 0, False);
pdb.gimp_drawable_transform_rotate_simple(layer, ROTATE_180, True, 0, 0, False);
None of them have shown any results. Am i missing something?