Search found 8 matches
- 2017-01-19T11:44:39-07:00
- Forum: Users
- Topic: Adding DPI conversion to windows batch file
- Replies: 6
- Views: 4326
Re: Adding DPI conversion to windows batch file
Thanks so much for the guidance thus far! My work has thrown be a curveball and now wants to add an additional sort of the images. Here's what needs to happen: 1. Convert images to 300dpi 2. If greater than 1799 pixels in height or width, move to accepted DIR 3. If not greater than 1799 pixels ...
- 2017-01-03T15:19:41-07:00
- Forum: Users
- Topic: Adding DPI conversion to windows batch file
- Replies: 6
- Views: 4326
Re: Adding DPI conversion to windows batch file
Thanks! Yeah, I've removed the DPI check as it was not longer necessary. Here's what I came up with that seems to be working. @ECHO OFF SETLOCAL SET ACCEPTDIR=accepted SET REJECTDIR=rejected IF NOT EXIST %ACCEPTDIR% MD %ACCEPTDIR% IF NOT EXIST %REJECTDIR% MD %REJECTDIR% FOR %%I IN ( *.jpeg *.jpg ...
- 2017-01-03T10:52:02-07:00
- Forum: Users
- Topic: Adding DPI conversion to windows batch file
- Replies: 6
- Views: 4326
Re: Adding DPI conversion to windows batch file
Thanks for the reply, Fred! Where exactly would I put that in the code example that I provided?
- 2017-01-03T10:26:28-07:00
- Forum: Users
- Topic: Adding DPI conversion to windows batch file
- Replies: 6
- Views: 4326
Adding DPI conversion to windows batch file
Hello Magicians, I have a windows batch file that I use to sort images based on their height/width and DPI. Currently, I run a photoshop script on the images first to convert them all to 200dpi. What I'd like to do, is remove that step from the process and have the batch file convert the images to ...
- 2016-02-25T14:20:30-07:00
- Forum: Users
- Topic: Sort images into folders based on resolution AND size
- Replies: 8
- Views: 11900
Re: Sort images into folders based on resolution AND size
Thanks for the help, again!
When I try to add the above code, i get this error: "mogrify.exe: unable to open image 'image.jpg': Permission denied @ error/blob.c/OpenBlob/2702"
When I try to add the above code, i get this error: "mogrify.exe: unable to open image 'image.jpg': Permission denied @ error/blob.c/OpenBlob/2702"
- 2016-02-25T07:25:37-07:00
- Forum: Users
- Topic: Sort images into folders based on resolution AND size
- Replies: 8
- Views: 11900
Re: Sort images into folders based on resolution AND size
Another question...
How would I first change all images with resolutions under 200dpi to 200dpi?
How would I first change all images with resolutions under 200dpi to 200dpi?
- 2016-02-05T06:32:06-07:00
- Forum: Users
- Topic: Sort images into folders based on resolution AND size
- Replies: 8
- Views: 11900
Re: Sort images into folders based on resolution AND size
You all nailed it. Working like a charm! Many thanks.
- 2016-02-04T09:39:38-07:00
- Forum: Users
- Topic: Sort images into folders based on resolution AND size
- Replies: 8
- Views: 11900
Sort images into folders based on resolution AND size
Hello, New to Imagemagick and struggling to figure this out. I will have a folder where people submit images. I need Imagemagick to sort the images into "accepted" or "rejected" subfolders based on the following criteria: 1. 1200+ pixel dimension in either height or width 2. 200 or more pixels per ...