Need to randomley ShearRotateImage in Folder
-
- Posts: 12
- Joined: 2018-10-10T09:26:59-07:00
- Authentication code: 1152
Re: Need to randomley ShearRotateImage in Folder
how would I reference any .jpg in the folder?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Need to randomley ShearRotateImage in Folder
Post your exact command line with an actual file name, so I can see what you may have mistypedcelvenjohnson33 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"
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Need to randomley ShearRotateImage in 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.