Page 2 of 2

Re: Need to randomley ShearRotateImage in Folder

Posted: 2018-10-10T12:57:04-07:00
by celvenjohnson33
how would I reference any .jpg in the folder?

Re: Need to randomley ShearRotateImage in Folder

Posted: 2018-10-10T18:25:45-07:00
by fmw42
celvenjohnson33 wrote: 2018-10-10T12:56:03-07:00 this is the error I get now after i cd the directory

magick: unable to open image 'image.jpg': No such file or directory @ error/blob.c/OpenBlob/3489.

the files are formatted as "yyyy-mm-dd-hh-mm-ss.jpg"
Post your exact command line with an actual file name, so I can see what you may have mistyped

Re: Need to randomley ShearRotateImage in Folder

Posted: 2018-10-10T18:27:42-07:00
by fmw42
celvenjohnson33 wrote: 2018-10-10T12:57:04-07:00 how would I reference any .jpg in the folder?
You can either cd to the folder and just use the file name with suffix. Or you can put the absolute or relative path to the image as part of the file name.

Once we resolve your error issue, I can give you a script loop to use to process all the files in a folder. But one step at a time.