No Export of Rejected Photos

Hi peeps,
When editing a shoot, I CTRL+[arrow down] the rubbish pics to set them as rejected. The plan is to delete them before "selecting ALL" in the shoot and exporting.
Trouble is I'm always forgetting to delete the rejects before exporting ( ARRGHH!).  So I've just written a small plugin that adds a filter to the Export Dialog which when enabled prevents any photo that is set as rejected from beign exported. Hurrah!!!  Here's the code. Feel free to use if it's useful!
info.lua
return {
    appName = "NoExportRejected",   
    author = "Buzz Aldrin",
    LrSdkVersion = 4.0,
    LrSdkMinimumVersion = 4.0, -- minimum SDK version required by this plugin
    LrPluginName = LOC "$$$/SDK/MetaExportFilter/Sample=No Export Rejected",
    LrToolkitIdentifier = 'com.adobe.lightroom.sdk.export.norejected',
    LrExportFilterProvider = {
        title = LOC "$$$/SDK/MetaExportFilter/Sample=Don't Export Rejected", -- the string that appears in the export filter section of the export dialog in LR
        file = 'NoRejectedOnExport.lua', -- name of the file containing the filter definition script
        id = "noRejected",  -- unique identifier for export filter
    VERSION = { major=4, minor=1, revision=0, build=831116, },
NoRejectedOnExport.lua
local LrView = import 'LrView'
local bind = LrView.bind
-- This function will create the section displayed on the export dialog
-- when this filter is added to the export session.
local function sectionForFilterInDialog( f, propertyTable )
    return {
        title = LOC "$$$/SDK/MetaExportFilter/SectionTitle=Don't Export Rejected Photos",   
            f:row {
                spacing = f:control_spacing(),
                f:static_text {
                    title = "Don't Export Rejected Photos",
                    fill_horizontal = 1,
end
-- This function obtains access to the photos and removes entries that don't match the metadata filter.
local function shouldRenderPhoto( exportSettings, photo )
    local shouldRender   
    local flag = photo:getRawMetadata( 'pickStatus' )
    if flag == -1 then
        shouldRender = false
    else
        shouldRender = true
    end
    return shouldRender
end
return {
    exportPresetFields = exportPresetFields,
    startDialog = startDialog,
    sectionForFilterInDialog = sectionForFilterInDialog,
    shouldRenderPhoto = shouldRenderPhoto,

Sweet - thanks John.
~R

Similar Messages

  • How can I export a RAW photo from iphoto to anywhere without it changing into a jpg?

    How can I export a RAW photo from iphoto to anywhere (PSE, or desktop) without it changing into a jpg???

    See if any of this info will help:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    Click to view full size
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.  3 - however, if you get the navigation window
    Click to view full size
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 9 the Saving File preferences should be configured as shown:
    Click to view full size
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Click to view full size
    NOTE: If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window".  That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu).  This way you get the best of both worlds.
    OT

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

  • I no longer get the dialog box when trying to delete rejected photos.

    I have always used the Delete Rejected Photos. . . selection to get rid of the photos I have flagged as rejected. However, after the rejected photos are shown, the dialog box no longer appears with the option to Delete from Disc or to Remove from the LR Catalog. I don't know if this problem began with LR 3.4 or before, but the timing was close. It isn't that I don't know how to use the function because I have been using it for years. Any help would be appreciated.

    Since I had 358 photos out of almost 2800 flagged as 'rejected' I did not
    want to loose all my work. I selected the rejected photos and then flagged
    them all with a 'yellow' color. I then displayed all photos with a yellow
    flag and 'Un-rejected' them. I highlighted a small amount of them, about 30,
    and rejected them and then went to the Delete Rejected photos. the pop-up
    came up and I was able to delete them. Since the rest of my yellow flagged
    photos were still showing I rejected another chunk of them and so on till
    they were all deleted. When trying to delete a group that had published
    photos within I got a box warning me that if I deleted them the published
    ones could no longer be managed by LR. That is alright with me. It would be
    nice if the software would somehow flag those that had been published. All
    the dialog box said was that one or more of the group had been published. I
    did not know which.
    Thanks again for expert help!
    Jack

  • Export 100% quality photos with metadata?

    I've spent hours searching the web and this forum but can't figure out how to do this.
    SUMMARY:
    How do I export a set of photos from iPhoto '09 while preserving the photo's image quality and its metadata? I want a 100% identical copy of the photo to be exported.
    DETAILS:
    I've noticed throughout this forum that when people ask how to move their photos to another computer or to use with a different photo tool, whilst preserving metadata, the normal answer is to use File-->Export. The problem, I'm finding, is that you don't get an exact copy of the photo that's in iPhoto ––OR–– you don't get the metadata included with the export, depending on which export choices you make.
    1. If you choose to Export the photo(s) in Current or Original, then you get a 100% quality photo but you don't get all the metadata: Location, Keywords, Title. (You do get the original metadata that was put there by your digicam or scanner prior to importing into iPhoto, however.)
    2. If you just drag the photo(s) out of the iPhoto window, you get an identical copy of the original without the extended metadata, as in the previous method.
    3. If you choose to Export the photo(s) in JPEG, then you can include the Location, Keyword, and Title metadata. However, the exported photo is not the same size as the original.
    - JPEG Quality: High results in photos that are about 1/2 the size of the original.
    - JPEG Quality: Maximum results in photos that are about TWICE the size of the original.
    I don't really understand what it means to take a 2 MB JPEG iPhoto original from my digicam and export it in Maximum resulting in a 4 MB JPEG copy. All that extra size surely cannot be worth anything, as the best you can get is what was in the original. So you're doubling the size for no benefit. Actually, it seems likely that the copy is WORSE than the original because of lossy file-format conversion errors, similar to why it's a bad idea to convert a 128kbs AAC song to a 128kbs MP3 song in iTunes, or make a copy of a cassette tape (for those of you old enough to remember analog).
    The Crux Dilemma: It appears that I can EITHER
    1. export a 100% identical copy of my photo but lose my extended metadata,
    2. export a modified (either 1/2- or Double-size) JPEG copy that has all the metadata.
    This is frustrating me. My friends and I took hundreds of pictures. I've imported them into iPhoto, edited them, Keyword tagged them, GeoTagged them, and now I want to give them their 100%-quality copies of the photos, and I can't figure out how to do it.
    Any suggestions?
    Thanks,
    David
    Message was edited by: Longwalker

    Terence, thank you for your quick reply!
    You basically confirmed what I found out by trial-and-error.
    Unfortunately, I think the news is bad. Here's why:
    A typical picture in my iPhoto library, a JPEG taken by a compact digicam, is 1.8 MB. Let's compare that to the sizes of the same picture when exported using the various options:
    1.8 MB - Current or Original; - metadata not included.
    11.4 MB - TIFF - lossless, all metadata included
    3.1 MB - JPEG Maximum - lossy but all metadata included
    0.7 MB - JPEG High - lossy but all metadata included
    You wrote "For my money the best bet is the tiff". I know tiff's are the highest quality format (non-lossy), but, in my case anyway, they're 6.3 X larger.
    Is it really true that the only way to move my photos out of iPhoto while preserving 100% of the quality and all the extended metadata is to increase the size of my photos over 6 times? Really?
    That seems a bit ridiculous. Consider a library of 10,000 photos averaging 2 MB each (which is on the small side these days). That library would be at least 20 GB (not really considering all the additional space used by thumbnails, dupes, etc). But if I want to export all those photos in a lossless way while preserving metadata, the size will jump to over 126 GB!!
    Many of us have Macs with hard drives large enough to easily handle a 20GB iPhoto library, but if that library suddenly exported itself into a 126 GB monster, that would challenge many of our hard drives.
    Is there really no other way?

  • How do i get rid of grayed out EXPORT IN FILE on PSE 12? I am trying to export a panoramic photo file.

    I am trying to export a panoramic photo file in PSE 12. but EXPORT under file is grayed out, how do i get rid of it being grayed out?

    Hi,
    This is a follow up to the dialog about "exporting" files back to LR5 after adjusting in PSE12.
    In simple terms, as I am no expert at all, just a long time film photo pro always struggling with the digital technology, even though it is great to use, here is what I need to accomplish.
    After transferring raw files from LR5 and creating a panoramic image file in PSE12,  which shows on my editor next to the several files i created it from. Is it possible to send the newly created panorama file back to LR5 so I could use the print module there. If so, how, what steps need be taken.
    Thank you for your help, I am in no rush, and am very appreciative of your imput.
    Carl
    My overall aim it to create the finest quality panoramic print for exhibition.

  • Problems with Delete Rejected Photos

    I hope this hasn't been addressed earlier. I checked as far back as I had patience.
    I recently upgraded to a new Vista 64bit system. LR 64bit seems to "Not Respond" after I use the "delete rejected photos". Both instances the photos were deleted but LR Library siezed. On the first occaision I deleted around 40 photos the secont time was 300+ photos. Any ideas or information welcome.
    Thanks
    Jim

    I'm banging myself on the head, 11,400+ items, 39.2gb. I knew that, just forgot to think of it. Just copied/moved much data between four drives. Thanks

  • In aperture 3.4.5, I get unsupported file error when exporting version of photo I've edited using plugins?

    In aperture 3.4.5, I get unsupported file error when exporting version of photo I've edited using plugins. I have try reinstalling aperture three times, deleting plists a few times, reinstalling plugins, restarting my MacBook Pro many times. Everything I've tried may fix the problem for a very short while and I can export a few photos before it returns. The problem happens with topaz and photomatrix pro plugins after I edited and try to export version.

    I had the same problem with the Photomatix plug-in and this solved it for me. I realised it only happened with Photomatix and not other plug-ins so I checked where the plug-ins were installed. The Photomatix plug-in was installed in
    ~/Library/Application Support/Aperture/Plug-Ins/
    where ~ is the home location for the current user account. All the other plug-ins however were installed in
    Macintosh HD/Library/Application Support/Aperture/Plug-Ins/
    which is the location that makes them available to all user accounts on your Mac. Moving the Photomatix plug-in to this location solved the problem for me.
    Note that the Library directory under the first location is normally hidden, to get to it hold down the Option (Alt) key and select it from the Finder Go menu.

  • IPhoto copies, Export problem, upload photos

    HELP!!! I definitely need your expertise.
    Here is the background:
    - I wanted to upload photos onto Kodak Gallery through ofoto Express. Since Ofoto can upload pictures from iPhoto, so i went to organize my photos there.
    - I created a new folder (let's call it "F1" ) in iPhoto and then I put new pictures into "F1" from a photo CD, then I manually re-arranged the photo order "F1".
    Then here comes all the troubles:
    1) Can I resize all the photos in this "F1" album all the once? If so, how do I do that?
    2) When I put pictures into this "F1" , I notice the Library, film roll and 2005 also have a copy of my photos except they are all out of order, why is that?
    3) Can I just keep one copy of "F1" without having so many duplicated copies elsewhere such as under the YEAR or keywords?
    4) Are there good and faster way to upload all 300 full size photos?
    5) From the album "F1" I created, I tried to do EXPORT all the photos too, but all the photos that was exported were out of order and not in the right orientation, what can I do and what is the function of this Export then?
    6) How come the Duplicate photo function in iPhoto only put the copy right next to the original? Can I have a seperate duplicated folder? When I made duplicate, I found that the library also have the duplication and once I deleted one copy out of two, it deleted the original image in my "F1" album. I don't understand.
    7) How come I cannot just make a "copy" of "F1" album to my desktop?
    PLEASE HELP, I am so lost!!! Am I the only one that has this problem?
    Thanks,
    MC

    Hi Michelle, I will try to answer some of your questions...
    Then here comes all the troubles:
    1) Can I resize all the photos in this "F1" album all the once? If so, how do I do that?
    You resize the photo when they are exported, not while they are within iPhoto.
    2) When I put pictures into this "F1" , I notice the Library, film roll and 2005 also have a copy of my photos except they are all out of order, why is that?
    I don't know about the out of order part, but it could be that the album you made you manually moved the images where you wanted them. In the library, roll, and year view, the View is set globally by what you chose under the View menu
    3) Can I just keep one copy of "F1" without having so many duplicated copies elsewhere such as under the YEAR or keywords?
    Those aren't duplicates, they are just like an alias or a plcaehold for the real image
    4) Are there good and faster way to upload all 300 full size photos?
    Not really, it all depends on your connection speed. That amount of images will take a long long time
    5) From the album "F1" I created, I tried to do EXPORT all the photos too, but all the photos that was exported were out of order and not in the right orientation, what can I do and what is the function of this Export then?
    This has been a problem for many people including me. There have been work arounds listed here on the discussions by Old Toad. You must rename the images with numbers either within iPhoto as a batch change or when you export them, use the album name as a naming scheme and the images will be numbered. This order may or maynot be what you expected though. Like I said working with so many images is going to be very confusing. I will have to try and find Old Toad's solution for you.
    Are you uploading these images to put in an online album or for prints. You know you can also manage them on the online album, rearranging order,naming,etc. These online places also limit the number of images for each album.
    6) How come the Duplicate photo function in iPhoto only put the copy right next to the original?
    So you can find it easily
    Can I have a seperate duplicated folder?
    yes, make an album and put the duplicates in that album
    When I made duplicate, I found that the library also have the duplication and once I deleted one copy out of two, it deleted the original image in my "F1" album. I don't understand.
    If you made the duplicate in an Album it will be reflected in the library.
    If you delete an image from the library it will be deleted from the album too as the library is the place where all the images are kept. The albums only have place holders. If you want to work on a group of images and want the edits and names etc. to be different than the ones in the library, duplicate all the images in the library first. Make an album and move only the duplicates to the album. Now you can make your images B&W, sepia, edit, crop, etc. and all these edits will be reflected on the duplicates and not the originals n the library.
    7) How come I cannot just make a "copy" of "F1" album to my desktop?
    You can, but it will take some work to get it exported in the order you want. I will have to do some experimenting to see

  • How can  I get rejected photos out of LR5 and off the HD?

    When I try to deleted rejected photos in LR5 on my iMac, I get a dialog saying they can't be sent to the trash.  How can I get unwanted photos out of LR5 and off the hard drive?

    Instead of hitting just the delete key, you need to hit ⌘+Del and one of the choices will be to remove from hard drive.

  • I'm getting an error message when I try to delete rejected photos!

    When I use the filter for selecting the flagged 'rejected' photos and press Cmd+delete, and then "delete from disk," as I have done many many times in the past, It is suddenly telling me that my files cannot be moved to the Trash folder. I just updated today from Lightroom 1.3 to 1.4.1, but this was happening over this past week, before the update. I'm on a MacBook Pro, using Leopard 10.5.2. Any ideas why this is happening and what I can do to fix it?

    I could delete a couple of images through finder, yes...and then they'd delete from Lightroom. The workaround I found is to create a subfolder containing the deleted images in Lightroom, and then delete that folder from the finder. It's not quite right, but it works for now. I wonder if the trouble has something to do with the location of the images? Not sure. I was able to delete some other images within Lightroom successfully, but I can't figure out yet what these have in common that are different! I'll keep working on it...

  • How do I export all the photos I imported back to their original folder

    How do I export all the photos I imported back to their original folder just as they were, they haven't been modified, adjusted etc. I imported them by mistake.

    You don't need to worry. You won't lose photos when the 30 day trial expires.
    Lr is different than other photo editing software in that it works with a data base (called the "catalog"). Lr does not write anything into the image pixels but stores everything that you do in Lr into its catalog (=data base). That way, when the trial expires your images will still be there, but - since you cannot access the Lr catalog anymore - your photos will be in the state they were before you imported them into Lr.
    When you work with Lr you have to really understand the concept of the "catalog", if you don't you will come into very frustrating situations. The concept of "catalog" involves above all that you need to think of your images based on two different files that are in different locations on your computer. One is your image file (Raw, JPG, TIFF) and the other is the data entry written for this image into the Lr catalog. Lr constantly updates this catalog (without you having to hit <save>) and constantly combines the image file with the data from the catalog. From this follows the demand that you take care of the Lr catalog as much as you take care for your image files - by knowing where they are located on your computer and by doing regular backups.
    Would it be worth the investment? In my opinion definitively "yes"! I work with Lr since version 1 on a daily basis and would not want to miss it. Lr gives you superior image editing possibilities (in the Develop Module) but - as already said - is also a superb image management tool. Lr will keep track of all of your images irrespective if they are on internal or external hard drives. With Lr you have all of your images available all the time.
    But Lr has also a steep learning curve. You cannot just jump in and do things because you'd create havoc and become frustrated. There are excellent books but for starters I would recommend that you watch the video tutorials on Adobe's website. You learn from them easily because you see on your screen what the instructor does, where he clicks, where the different tools are, etc.
    Here are some links:
    http://tv.adobe.com/product/lightroom/
    http://tv.adobe.com/show/adobe-evangelists-julieanne-kost/
    http://tv.adobe.com/show/learn-lightroom-3/
    If you decide to buy, you can do so on Adobe's website. You will then be e-mailed a serial # that will unlock your trial version for indefinite time.

  • Exporting edited ('current') photos at maximum quality?

    I currently use iPhoto 9.5.1 (on OSX 10.9.1) to organize my photos and I use an external editor (Photoshop) to edit them.
    When I get an image that I want to then use for something I take it out from the iPhoto library. Previously I did this with a simple drag and drop, but that functionality mysteriously and suddenly ceased. Now I use export current. (I don't want the orignal verison that has none of the photoshop work)
    From what I understand, exporting the current photo exports the version from the preview folder.
    Is this a full quality version that is exactly what I created in photoshop and saved? Compared to the file in the masters folder would it be the same quality?
    In other words is there any loss in quality along this path and if so where does it occur (or is this not the path)?
    Camera-> masters folder-> iphoto library -> external editor -> previews folder -> iphoto library -> export of current
    I don't care so much about metadata and primarily care about the quality of the exported edited image. I use them for other purposes where metadata is irrelevant (like parts of a design or printing).

    Thank you,
    The question I have is in that tip you specifically mention that selecting 'current' as kind of export would export "the iPhoto Preview, a medium quality jpeg, it won't have all the metadata."
    I did some tests with a tiff, png and jpeg file and found that this was not the case. The tif exported a tif, the png export a png and the jpeg export something closer to the original jpeg size (not anywhere near medium quality). Here are the results of the jpeg test:
    The one discrepancy I notice is that there is a 200 byte difference between the version saved from the external editor and the version exported as current. That is minor, but I'm wondering where that may come from. Is it a result of saving the file with photoshop or is it something iPhoto does to the file?
    The discrepancy seems to be greater (up to 29kb) with the png test:
    And I think the discrepacny is likely from what the external editor does in saving the file and not what iPhoto does. Here are the results from my tiff test:
    The inclusion of the color profile in the save from the external editor brings it closer to the size of modifed version.
    So I find my concern that exporting 'current' would severely reduce the quality by always making a "medium quality jpeg" is not the case, and that it does export something very similar to the work I did in the external editor.
    (I like using iPhoto for how it organizes with metadata. I just don't need the metadata for files/images that I export from iPhoto. They move on to a different purpose where such data is irrelevant. Also I'm curious if iPhoto is not meant to be used for organizing media what is it's primary purpose?) 

  • Can't 'Delete Rejected Photos' (since Lightroom 5.6?) - just removes from catalog, not disk

    I use Lightroom 5 (64-bit) on Windows. Recently (possibly since the 5.6 upgrade?) I can't delete rejected photos from the catalog. Instead of asking if I want to delete from the disk or just the catalog or cancel, like it used to, it now asks if I want to remove from the catalog or cancel. The files are left on disk. This happens if I Ctrl-Backspace or choose the Photo > Delete Rejected Photos menu.
    Anyone else having this problem? Any suggestions please? My daughter borrows my camera so I delete a LOT of pictures - without this option I don't have a quick way to do that.
    - cheers, Barney

    I had a similar problem, and here is what I think is happening.
    It depends on how you are viewing your pictures.  If you are viewing a collection, Delete Rejected Photos will only remove them from the collection.  There is no prompt to remove the files from the hard drive.  Instead, you need to view the entire catalog (All Photographs).  This time when you selected Delete Rejected Photos, there is a prompt asking if you want to remove the files completely from hard disk.
    I have recently switched from Bridge to Lightroom, and I'm used to organizing and sorting my photos by directory.  This is another adjustment I need to make in my normal workflow.

  • Problem deleting multiple rejected photos in Lightroom 3

    I had some frustrating trouble deleting a set of rejected photos. I am running LR3 on Windows 7 64 bit.
    I flagged about 220 out of 600 photos as rejects in a folder. When I hit ctrl-backspace to delete them, the rejects were shown in the grid view but were not deleted. Nothing I could do would delete them, I tried all the workarounds I could find in the forum and tried everything else I could think of. I was able to delete them one at a time but not all at once.
    Then I tried deleting them in chunks... two at a time, three at a time - worked. Then I tried 30 or so - got a message that one or more of the photos had been published to flickr. I clicked OK to delete from Flickr, that was processed then I got the prompt to delete them - worked. Then I tried deleting the rest of the pictures - about 160 left at that point, worked fine.
    There seem to be quite a few people having trouble deleting rejected photos, maybe there is some kind of conflict between the publishing function and deleting rejects?

    With respect to problems deleting multiple keywords: On Windows, since at least version 3, LR has had basic bugs when you have more than about 1600 keywords showing.  (Hard to believe it isn't fixed by now.)   A simple workaround for you situation is to filter the keywords one letter at a time and then select the subset of keywords that are showing -- e.g. filter all keywords with the letter "t", then all keywords with the letter "b", etc.
    With respect to not getting the keywords into your catalog in the first place: You can define a Metadata Preset that will clear the keywords on import:

Maybe you are looking for

  • My iPod shows up in windows but not in iTunes, so what do I do?

    I have a 30GB 5th Gen. iPod that worked fine until a couple of weeks ago. I don't know what happened to it but when I connected to iTunes, it said corrupt so I restored it but now it doesn,t show up in iTunes any more. I've done what I thought would

  • Mystery Monitor

    Hey now... For awhile, I had a second monitor hooked up and used for dual screen Final Cut editing sessions. When I wanted to add text, I would use Boris Title 3D and "Click for Options" which opens a new window that I can type my text into. (Stay wi

  • Getting nullpointer exception in Tomcap using getRealPath()

    Hi, I have the following code snippet, but getting nullpoint exception when I try to read a file in jsp. String realPath = this.getServletConfig().getServletContext().getRealPath("//AUDIT_TRAIL.xml"); File fileDef = new File(realPath); Can someone te

  • How to set the HOME link from two frame jsp page to no frame main page?

    Hi all, i have one main jsp page named as main.jsp. From the main.jsp, i can click the button and link to the twoFrame.jsp. This twoFrame.jsp have another two different jsp inside the frame called Aframe.jsp and Bframe.jsp. i try to put HOME in the A

  • Interrupt xalan transformer

    Is there anybody that knows how to interrupt xalan when processing. There is a method stopTransformation() but it is not implemented There are transformations running for a very long time(20 min) giving 100% load and i want to interrupt them. It is f