How to create a unique/random filename using IM only?
Posted: 2016-07-20T06:51:07-07:00
I'm using IM for simple convert operations, like this:
Could you please tell, if there is any way to obtain a unique or random filename for resulting file using IM only abilities without using system variables (I have some specific environment restrictions).
As I know, IM has some randomization abilities for image processing, so I wonder if there is any opportunity to use them for file naming. Or may be to use some image properties as a filename would be nice too, like data about color or source image creation date+time.
Code: Select all
convert image.jpg image.png
As I know, IM has some randomization abilities for image processing, so I wonder if there is any opportunity to use them for file naming. Or may be to use some image properties as a filename would be nice too, like data about color or source image creation date+time.