+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    I spend too much of my life on TPF!
    Join Date
    Sep 2007
    Posts
    326
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times

    Software for batch edge finding

    I am currently scanning in all of my film shots, but since I have several 1000 to scan, I either have to do it myself or watch my picture quality deteriorate. My scanner can determine the boundaries of pictures, but whatever software it uses takes an incredibly long time. To scan one roll of film takes about an hour to an hour and a half during which time I cannot leave my computer...An impossible task. However, if I let the scanner software just scan, I can do a roll in about 5-10min, but the 4 images are on one superfile. So, what I need is a program that I can tell to go through a few hundred of these images and pick out the pictures from the white background and save them as individual files. I do not have the time to do this manually. I don't care if it even takes 15 hours to do, I just don't want to have to babysit it.

    Is there software that does this?

    btw, I am scanning 4x6s at 600dpi and 24bit color (seems to be the best picture quality with a reasonable scan time)

    Thanks

  2. # ADS

  3. #2
    No longer a newbie, moving up!
    Join Date
    Oct 2007
    Location
    Columbia, Md.
    Posts
    91
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times
    The only thing I can think of is to create an action set using the "crop and straighten photos" feature in photoshop, then run the "automate-batch" command on the folder with the photos. You will have to save each photo after the automate command has run, but it should crop the whole folder of photos.

  4. #3
    I spend too much of my life on TPF!
    Join Date
    Sep 2007
    Posts
    326
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times
    So, could I then just select a folder of a hundred of these files and have it run on those, and then save the files, or do I have to save after each one before it moves on to the next?

  5. #4
    No longer a newbie, moving up!
    Join Date
    Oct 2007
    Location
    Columbia, Md.
    Posts
    91
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times
    You don't have to save each one before it goes to the next. It will batch process the entire folder. Because this is a resource heavy action set, I would go to preferences in photoshop and under "performance" temporarily bump up the amount of ram allocated to photoshop.

  6. #5
    No longer a newbie, moving up!
    Join Date
    Feb 2007
    Posts
    30
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times
    The lazy way of doing it is to use a script.
    Here is one that I wrote for Photoshop CS2/CS3
    save the code as FileName.jsx
    Then from Photoshop File - Scripts - Browse (to where you have saved it)
    It will process all JPG,TIF and PSD files in the selected Folder
    The output files will be placed into a folder called Edited off the selected folder.
    Hope its off use to you.
    Paul.

    ******************************************************//
    #target Photoshop
    app.bringToFront;
    var inFolder = Folder.selectDialog("Please select folder to process");
    var fileList = inFolder.getFiles(/\.(jpg|tif||psd|)$/i);
    var outfolder = new Folder(decodeURI(inFolder) + "/Edited");
    if (outfolder.exists == false) outfolder.create();
    for(var a = 0 ;a < fileList.length; a++){
    if(fileList[a] instanceof File){
    var doc= open(fileList[a]);
    doc.flatten();
    var docname = fileList[a].name.slice(0,-4);
    CropStraighten();
    doc.close(SaveOptions.DONOTSAVECHANGES);
    var count = 1;
    while(app.documents.length){
    var saveFile = new File(decodeURI(outfolder) + "/" + docname +"#"+ zeroPad(count,3) + ".tif");
    SaveTIFF(saveFile);
    activeDocument.close(SaveOptions.DONOTSAVECHANGES) ;
    count++;
    }
    }
    }
    function CropStraighten() {
    function cTID(s) { return app.charIDToTypeID(s); };
    function sTID(s) { return app.stringIDToTypeID(s); };
    executeAction( sTID('CropPhotosAuto0001'), undefined, DialogModes.NO );
    };
    function SaveTIFF(saveFile){
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
    activeDocument.saveAs(saveFile, tiffSaveOptions, false, Extension.LOWERCASE);
    }
    function zeroPad(n, s) {
    n = n.toString();
    while (n.length < s) n = '0' + n;
    return n;
    };
    ******************************************/

  7. #6
    I spend too much of my life on TPF!
    Join Date
    Sep 2007
    Posts
    326
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times
    Since I do not currently own Photoshop, is there a less expensive program to do the same thing? Does Elements have this feature?

  8. #7
    No longer a newbie, moving up!
    Join Date
    Feb 2007
    Posts
    30
    My Gallery
    (0)
    My Photos Are OK to Edit
    Liked
    0 times
    If/when you have all your pictures scanned you could then download a trial version of Photoshop from
    http://www.adobe.com/downloads/

    At least you would get all the hard work done for you and FREE.

    Paul.


 

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Which noise reduction software will batch sync?
    By Reyna in forum Photography Beginners' Forum
    Replies: 2
    Last Post: 01-10-2011, 11:48 AM
  2. Replies: 1
    Last Post: 12-27-2010, 08:31 PM
  3. Need Help Finding Software
    By Rick540 in forum Photography Beginners' Forum
    Replies: 3
    Last Post: 12-13-2009, 09:45 AM
  4. Software for batch processing Exif data
    By dipstick in forum Graphics Programs and Photo Gallery
    Replies: 1
    Last Post: 03-24-2008, 04:11 PM
  5. Software that let's you batch paint?
    By jakkan in forum Photography Equipment & Products
    Replies: 2
    Last Post: 05-15-2007, 05:28 PM

Search tags for this page

automate crop and straighten photos
,

crop and straighten photos batch

,
crop and straighten photos batch command
,
cropandstraightenbatch.jsx
,

cropphotosauto0001

,
digital photo edge finding
,
edge finding graphic software
,
image edge finding software
,
photoshop elements jsx
,
straighten.jsx
Click on a term to search for related topics.