| » Stats |
Members: 103,356
Threads: 84,986
Posts: 1,031,253
Top Poster: Karky (9,545) | | Welcome to our newest member, ankkaewrae | |
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.
 |
10-05-2007, 02:04 PM
|
Please help, need to convert 1200 images Post #1 | | Guest | Please help, need to convert 1200 images
Hi,
I need to convert 1220 jpg images to black & white, a size of 36x12 mm and 240dpi.
I understand how to make an action and a droplet but the issues are;
1, How can I get Photoshop to resize the images to a width of 36 mm OR a height of 12 mm and then stretch the canvas size to the right width or height? Some images width are higher than their height (of course) and vice versa (but the converted images needs to be exactly 36x12 mm)
2, When I tried to make an action and a droplet I got dialogs all the time with questions about jpg quality or something about feather.. How can I get the droplet to just do it without asking about some of the images?
Thanks! | |
| |
10-05-2007, 03:52 PM
|
Please help, need to convert 1200 images Post #2 | | Joe Blow
Join Date: Sep 2004
Posts: 2
Rep Power: 0 | Re: Please help, need to convert 1200 images
You could add a script to part of your action to do the re-sizing and canvas size.
Paul. Code: var startRulerUnits = preferences.rulerUnits;
preferences.rulerUnits = Units.PIXELS;
doc = activeDocument;
fitImage(340);
CanvasResize();
preferences.rulerUnits = startRulerUnits;
function CanvasResize(){
if (doc.width < doc.height) {
activeDocument.resizeCanvas(113, 340, AnchorPosition.MIDDLECENTER);
} else
{
activeDocument.resizeCanvas(340, 113, AnchorPosition.MIDDLECENTER);
}
}
function fitImage(newImgSize) {
if (doc.width > doc.height) {
doc.resizeImage(newImgSize, undefined, undefined, ResampleMethod.BICUBICSHARPER);
}
if (doc.width < doc.height) {
doc.resizeImage(undefined, newImgSize, undefined, ResampleMethod.BICUBICSHARPER);
}
if (doc.width == doc.height) {
doc.resizeImage(newImgSize, newImgSize, undefined, ResampleMethod.BICUBICSHARPER);
}
}
|
| |
10-05-2007, 03:59 PM
|
Please help, need to convert 1200 images Post #3 | | Joe Blow
Join Date: Sep 2004
Posts: 2
Rep Power: 0 | Re: Please help, need to convert 1200 images
Sorry I did not set the resolution.
This should work now.
Paul. Code: var startRulerUnits = preferences.rulerUnits;
preferences.rulerUnits = Units.PIXELS;
doc = activeDocument;
fitImage(340);
CanvasResize();
preferences.rulerUnits = startRulerUnits;
function CanvasResize(){
if (doc.width < doc.height) {
activeDocument.resizeCanvas(113, 340, AnchorPosition.MIDDLECENTER);
} else
{
activeDocument.resizeCanvas(340, 113, AnchorPosition.MIDDLECENTER);
}
}
function fitImage(newImgSize) {
if (doc.width > doc.height) {
doc.resizeImage(newImgSize, undefined, 240, ResampleMethod.BICUBICSHARPER);
}
if (doc.width < doc.height) {
doc.resizeImage(undefined, newImgSize, 240, ResampleMethod.BICUBICSHARPER);
}
if (doc.width == doc.height) {
doc.resizeImage(newImgSize, newImgSize, 240, ResampleMethod.BICUBICSHARPER);
}
}
|
| |
10-05-2007, 05:00 PM
|
Please help, need to convert 1200 images Post #4 | | Guest | Re: Please help, need to convert 1200 images
Thanks a lot! I will try this.
| |
| |
10-08-2007, 10:42 AM
|
Please help, need to convert 1200 images Post #5 | | Guest | Re: Please help, need to convert 1200 images
I'm sorry, I am not sure how to use this :/
| |
| |
10-08-2007, 07:49 PM
|
Please help, need to convert 1200 images Post #6 | | Joe Blow
Join Date: Sep 2004
Posts: 2
Rep Power: 0 | Re: Please help, need to convert 1200 images
Save the file with a .jsx extention IE: resize.jsx
then open one of the documents, start recording a new action, the first steps being.
File - Scripts -Browse (to where you have saved the script)
(The script will run and do the re-sizing etc)
Then do your save and stop recording.
This action can now be batched using File - Automate - Batch ..
Hope that helps.
Paul.
|
| |  | | Thread Tools | | | | Display Modes | Linear Mode |
More threads of Fredrik.r | | Thread | Date | Forum | Replies | Last Post | Please help, need to convert 1200 images
Please help, need to convert 1200 images: Hi,
I need to convert 1220 jpg images to...
| 10-05-2007 | General Photoshop Board | 5 | 10-08-2007 07:49 PM |
Other threads in forum General Photoshop Board | | Thread | Date | Thread Starter | Replies | Last Post | Which font is used in the Manchester City logo?
Which font is used in the Manchester City logo?: Click here to see the logo
See the "Superbia...
| 11-05-2006 | The Yank | 2 | 11-06-2006 04:57 PM | Graphic Designer(s) Wanted!!
Graphic Designer(s) Wanted!!: I run an Online Football Management Site, similar...
| 09-11-2006 | Tryan | 8 | 10-01-2006 04:03 AM | 2 circles from one pic
2 circles from one pic: I've got a glam model image that I want to make...
| 11-14-2004 | mitchellgrant | 1 | 11-14-2004 08:41 PM | spot color question
spot color question: I am having a time with a Newsletter design. For...
| 09-07-2004 | wilmsab | 2 | 09-08-2004 10:37 AM | Can somebody help transparent type text
Can somebody help transparent type text: Hello to all, I need to know how I can get the...
| 04-24-2003 | rhunt | 9 | 04-25-2003 10:34 PM | | » Online Users: 17 | | 0 members and 17 guests | | No Members online | | Most users ever online was 2,128, 07-21-2008 at 08:27 PM. | |