Batch auto-crop utility

Discussion in 'Photoshop Tutorials' started by jsvideoservices, Nov 13, 2007.

  1. I recently downloaded a trial of Photoshop CS3, and particularly liked
    the ability to auto-crop and straighten through a batch job, in order
    to automate this function on hundreds of scanned photos.

    Does anyone know if there is a less expensive (freeware / shareware)
    alternative? I am hoping not to have to buy Photoshop CS3 just for
    this one function.

    Specifically, I am looking for a utility that will ***automatically***
    detect where in the JPG a scanned photo is, automatically trim away
    any white space on all four sides of the image, and save the auto-
    cropped JPG to a new file. I have been looking for a while for
    utilities that will do this, and so far have come up empty.

    jsvideoservices, Nov 13, 2007
    1. Advertisements

  2. jsvideoservices

    ronviers Guest

    Don't be crazy, you're processing hundreds of scanned photos, you just
    can't go wrong owning PS.
    ronviers, Nov 13, 2007
    1. Advertisements

  3. jsvideoservices

    Joe Guest

    Stop looking because there is none program that smart to know what and
    where you want to crop. For example, even human wouldn't know what other
    wants, or if I give you 100 photos then you may not know what I want you to
    Joe, Nov 13, 2007
  4. jsvideoservices

    ronviers Guest

    Hi Joe,
    Trimming is important and is something that could be automated - CS2
    is lacking in that area. I take it from the OP's post that CS3 has
    better trimming capabilities.
    ronviers, Nov 13, 2007
  5. Photoshop Rocks especially CS3 extended. In the long run you will be
    TheComputerGuy, Nov 14, 2007
  6. jsvideoservices

    Owen Ransen Guest

    The original poster has been very specific about the job, and if the
    scanned photos are on a background of a specific color I think
    the job is very very doable.

    Computers are good at this. That's what they were built for.
    Photoshop may not be able to do it automatically, but then
    Photoshop is not the only program in the world.

    Easy to use graphics effects:
    Owen Ransen, Nov 14, 2007
  7. jsvideoservices

    Owen Ransen Guest

    Could you post some example scans?

    Easy to use graphics effects:
    Owen Ransen, Nov 14, 2007
  8. jsvideoservices

    Joe Guest

    I know Photoshop can do batch converting, action can do batch croping or
    adjusting etc.. but it has its limitation. Or it won't be able to detect
    and crop out the white area, and yes, I know CS2 (and possible CS3) has
    option not only can separate individual image from single canvas, but it can
    straighten them too. But it just can't do everything 100% automatically.

    Me, I have CS3 installed on my system for months now, but my health isn't
    very good so I haven't had much chance to explore the CS3 like I would like
    Joe, Nov 14, 2007
  9. jsvideoservices

    Joe Guest

    Then tell the OP which program to be able to detect and remove the WHITE
    area, and do everything the cropping automatically.
    Joe, Nov 14, 2007
  10. jsvideoservices

    Joe Guest

    Well, I think you just use you very own photos, then add WHITE boarder
    around the photos, tilting the photos to have different size, shape etc..
    then you have the sample to try.
    Joe, Nov 14, 2007
  11. jsvideoservices

    pico Guest

    Joe - it's not the same as the Trim option. It's under Automate. Yes, it
    works on white.
    pico, Nov 14, 2007
  12. jsvideoservices

    Joe Guest

    Then give the OP all steps instruction. Me? I just can't see the picture
    how it can do automatically.

    The only thing I can accept when I read the expression of a super RAW
    worshipper who claimed RAW is much faster than JPG because it does every
    100% automcatically, and he claimed to be a photographer with many years
    with Photoshop too <bg>

    He (and quite afew too) said something like, with RAW he just shoot
    hundreds or thousands of photos, then let RAW converts to JPG automatically
    then he has the perfect JPGs from RAW files <bg>. Or this even I won't
    touch but I can buy this because it does the converting, but I just can't
    buy the quest of the OP.
    Joe, Nov 14, 2007
  13. jsvideoservices

    Owen Ransen Guest

    I'll do it, but not for free!

    Easy to use graphics effects:
    Owen Ransen, Nov 14, 2007
  14. jsvideoservices

    Owen Ransen Guest

    As I said it may well be impossible without a specific plugin
    for PS or a standalone program. But it is exactly the sort of
    job that computers are designed for. i.e. very well defined.

    1) Do a scan and extract the edges of the image. The four
    large outer edges of the photo border on the background
    (of the scanner top?) will be easy to extract.

    2) Measure the angle of the four borders, take an average
    and you will get the angle of the photo. (adjust for
    +-90 degrees left and right borders)

    3) Rotate the image by that amount.

    4) Crop to the rotated edges.

    5) Do a second scan to find out where the borders of the
    photo end and the real photo starts.

    6) Crop to those edges.

    The only problem I can see is if the photo is mostly
    white at the edges and so the border is not visible.
    But then, if the border is not visible what sort of
    border is it.

    I guarantee that this is all doable automatically
    with a program.

    But I'm not going to do it gratis!


    Easy to use graphics effects:
    Owen Ransen, Nov 14, 2007
  15. jsvideoservices

    Joe Guest

    As I said but some disagrees, because there is no one_size_fit_all
    solution, especially for one who is not only don't know anything about the
    program, but lazy enough to request the laziest way. Life just won't work
    the way we want
    Many newer scanners (even my 5-6+ years old does) can auto-detect the
    edges (corners) of photo.

    And at least CS2 has a similar option too, and it may work with most but
    not all photos.
    Are we still talking about 100% automatically here? Just don't forget
    that the OP asks to have everything done automatically.
    No! you do not really to go this far. Photoshop CS2 has the option
    Now give me the step instruction to "rotate" and "crop" these photos

    The only problem I can see that there should be no util can do all dirty
    job. Yes, even Photoshop has option to auto separate images from single
    photo to multiple canvas, it can auto-straighten the image etc.. but it just
    can do all steps 100% automatically.

    And CROPPING is one of the tricky one. No I am not talking about just
    chop off some part of the larger image to make it smaller, because cropping
    is more than that.
    When we see more unemployees on street then we will know the util is
    Joe, Nov 14, 2007
  16. jsvideoservices

    Joe Guest

    Then make a deal with the OP which seems like s/he is dead now <bg>
    Joe, Nov 14, 2007
  17. OK, you guys are going way off on a bunch of tangents (which I guess
    is pretty normal in newsgroups). I already know for a fact that
    Photoshop CS3 will do this for me. I have tried it, and it works well,
    so there is no need to belabour that point. It may not be 100% perfect
    - occasionally an image gets misinterpreted and mis-cropped, but at
    least 99% of the time it works great - this will save me a lot of
    time, even if I have to manually crop the occasional image.

    What I am trying to do is have a very streamlined process for scanning
    in hundreds of photos (prints) at a time from my scanner. After
    scanning, I want to be able to auto-crop and straighten each picture.
    I know, my scanner can do a pre-scan to figure out the area to be
    scanned, but that at least doubles the amount of time to scan in the

    Regarding a sample image, take any random printed photo of your own,
    and scan it in on a scanner, leaving the scanned area a bit larger
    than the original photo. You'll have white space on the resulting JPG,
    which needs to be trimmed. For good measure, place the photo slightly

    My real question is simple - do I need to buy Photoshop CS3, or is
    there a less expensive alternative. I am trying to minimize my cost.
    I know CS3 is awesome, but I can't justify spending $600+ for this one

    jsvideoservices, Nov 14, 2007
  18. jsvideoservices

    Owen Ransen Guest

    Yes, I shuold have said "program measures"
    But the OP wants everything automatically. Not a bit in one
    program and a bit in another.
    The size does not matter. The program analyses the field of
    pixels, it does not even need to know the physical size.
    'can' or 'cannot'?
    Either you or I have misunderstood the OP. I *think* he means that
    the photos have white borders (like they used to have in the old
    days) and he only wants to crop those white borders, will
    retaining all the image information. In that case the crop can
    be automatic with the right program, which I will write if
    someone pays me.

    Easy to use graphics effects:
    Owen Ransen, Nov 15, 2007
  19. jsvideoservices

    Owen Ransen Guest

    I suppose it boils down to the fact of how much your time
    is worth, and how much time you would save by buying CS3.

    If it is a professional (in the real dictionary sense of
    being paid for) job then you should be able to
    work out the cost benefit.

    Easy to use graphics effects:
    Owen Ransen, Nov 15, 2007
  20. jsvideoservices

    pico Guest

    Look, Folks. It is in CS3, under the Automate menu. Go there. Use it and be
    pico, Nov 15, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.