def get_layer_ids(self, rev=True):
layers = [x['<STR_LIT>'] for x in self.d.history(self.get_id())]<EOL>if not rev:<EOL><INDENT>layers.reverse()<EOL><DEDENT>return layers<EOL>
Get IDs of image layers

:param rev: get layers reversed
:return: list of strings