Export filter included in ExportService?

Hi, I wrote a little export filter. Then I wrote a simple ExportService, both are declared in the Info.lua file.
Now, I need that when the user select my ExportService, my ExportFilter is automatically included (not having to manually enable it in the Postprocess action window and when switching to another export preset and back to my ExportService, it disappears).
How to do that?
Thanks a lot
Giuse

Oh shoot ... didn't realize you were using shouldRenderPhoto. That function isn't supported in the export service provider API.
I haven't tested this recently, but I think you can do what you're trying to do in your processRenderedPhotos function.
Something like:
function processRenderedPhotos( functionContext, exportContext )
    exportContext.exportSession:removePhoto( unwantedPhoto )
          -- This has to proceed your
          -- exportContext:renditions{...} call
end
Note: This is just taken off the cuff from a sample plug-in I have around. I haven't tested it, so it might need some tweaking, but the basic principle should be right.
Hope this helps ...
P.S. You should be able to call :removePhoto multiple times (prior to the :renditions call) to remove multiple photos.

Similar Messages

  • Is EXPORT PDF included in Acrobat XI Pro?

    Is EXPORT PDF included in Acrobat XI Pro?  I'm paying for both and I think I can drop the EXPORT PDF... but I'm not sure.  Can anyone verify??

    The ExportPDF online service is not included in Acrobat XI Pro, but Acrobat offers the same functionality and more.  So you do not really need ExportPDF when you have Acrobat; you can cancel the service from http://helpx.adobe.com/x-productkb/policy-pricing/cancel-subscription-acrobat-online-servi ces.html

  • Export Filter - processing in batches

    I'm writing an export filter that uses an external tool to process the photos. The tool can/should be multithreaded and I want to take advantage of this by processing the images in groups of 2 or 4 or 8 (or whatever). This means that I gather the paths and the renditions to satisfy in a table and once the table reaches the desired size I process the images in the batch together, empty the table and continue.
    For some reason I can't make this work. To illustrate, I've reduced this problem to this scenario (Example A)
    1. While iterating filterContext:renditions() I copy the paths and renditionToSatisify to a table
    2. Iterate over the table of copies and process the images one by one.
    When running this, I'm getting this error:
    This plug-in’s post-processing task did not finish successfully.
    ?:0: attempt to index field 'exportSettings' (a nil value)
    It seems to me that LR doesn't like me to call "renditionIsDone" out of sequence but I don't know what to make of this.
    I'm also adding "Example B" to show that if I call processOne right after adding its entry to the table all is well.
    Example A
    function processOne(table)
         local commandResult
         commandResult = PluginManager.doit({table.a})
         if commandResult ~= 0 then
             table.b:renditionIsDone( false, "Image Processing Failed (" ..  commandResult .. ")")
         else
             table.b:renditionIsDone (true,"very good indeed")
         end
    end
    function JPEGminiFilterProvider.postProcessRenderedPhotos( functionContext, filterContext )
      local renditionOptions = {
      plugin = _PLUGIN,
      renditionsToSatisfy = filterContext.renditionsToSatisfy,
      filterSettings = function( renditionToSatisfy, exportSettings )
      end,
      local maxGroupSize = 1
      local groupSize = 0
      local group = {}
      for sourceRendition, renditionToSatisfy in filterContext:renditions( renditionOptions ) do
      local success, pathOrMessage = sourceRendition:waitForRender()
      if success then
      groupSize = groupSize + 1
      group[groupSize]={a=pathOrMessage, b=renditionToSatisfy}
      end
      end
      for i,v in ipairs(group) do
      processOne(v)
      end
    end
    Example B
    function JPEGminiFilterProvider.postProcessRenderedPhotos( functionContext, filterContext )
         local renditionOptions = {
             plugin = _PLUGIN,
             renditionsToSatisfy = filterContext.renditionsToSatisfy,
             filterSettings = function( renditionToSatisfy, exportSettings )
             end,
         local groupSize = 0
         local group = {}
         for sourceRendition, renditionToSatisfy in filterContext:renditions( renditionOptions ) do
             local success, pathOrMessage = sourceRendition:waitForRender()
             if success then
                   groupSize = groupSize + 1
                   group[groupSize]={a=pathOrMessage, b=renditionToSatisfy}
                   processOne(group[groupSize])
             end
         end
    end

    I dunno the problem, but consider naming parameters something besides 'table' since that masks the global lua table object.
    Rob

  • None of my apple apps can export files, including Mail, iPhoto, Aperture and Preview.

    None of my apple apps can export files, including Mail, iPhoto, Aperture and Preview. When I try to export a file from any of these programs, the app hangs for a few seconds and then does nothing, not even open an export dialogue. Same thing happens when I try to attach a file to an email. Also, maybe related and maybe not, Photoshop will crash after the splash screen. All of these app function properly when using a different User Account.
    I've tried deleting my application preferences in my user library and when that didn't work, I deleted my account and then created a new one that used the same user directory, which still didn't fix anything.
    I don't really want to make a new user from scratch and have to re-enter license numbers, re-calibrate monitors, recover bookmarks, contancts, etc. etc. if I don't have to, so I would be grateful for any advice.
    Thanks!
    System: Early 2008 Mac Pro, 3GHz 8 Core with 12 GB RAM, Nvidia GTX 285 (mac edition). Running OS X 10.8.4

    You cannot change your iCloud email address but you can setup a new alias: http://help.apple.com/icloud/#/mm6b1a490a
    You cannot transfer purchases from one AppleID to another.

  • Is this a BUG???  Database Export not including Foreign Key Constraints

    I'm using SQL Developer 1.5.4 with both the 59.47 and 59.59 patches installed. I want to do a database export from a 10g XE schema, and include all objects in the resulting DDL. So, I select ALL the checkboxes in the export wizard and when I get to Step 3 to specify objects, I don't see any of my constraints in the listbox... no foreign key constraints, no primary key constraints, no check constraints, nothing. Is this a bug, or is there a workaround, or what could I possibly be doing wrong? We want to be able to use the database export feature to easily transport and track modifications to our entire schema using source control compare.
    Any help or alternate suggestions would be apprieciated.
    Thanks,
    Matt

    Thanks skutz, we just figured that out this morning. Also, it should be noted that you need to be logged in as the owner of the schema otherwise selecting nothing in the filter will give you nothing, but selecting items in the filter will give you those items even if you're not connected as the schema owner. I wonder if that is the detail of the Bug 8679318.
    Edited by: mattsnyder on Jul 14, 2009 9:24 AM

  • Is it possible to export, and include AE compositions used within a Premiere Pro project, via project manager?

    I've several Premiere Pro CC 2014 projects I want to relocate via project manager (one at a time). They're excessive in size (many long and unused footage files), so "Create New Trimmed Project" is the setting-option, within project manager, most attractive. BTW I love how project manager does this... However, when I check on its new location, I don't see any linked AfterEffects files. Fine, I try the other setting "Collect Files and Copy to New Location". This option allows me to now copy everything including rendered scenes featuring my AE compositions (and a lot of excess, unused files)... but still no AE files!
    Is it possible to export a Premiere Pro project, excluding unused files, yet include all used files... especially linked files such as AE compositions?

    Though not exactly the solution I seek, I've tried an alternative approach... it works (if anyone's interested)... but my original question still stands.
    Alternative approach (and probably the only option now):
    When I copy & trim my Premiere Pro project via project manager to its new location, I can open the new file and see the track editor now includes broken links to AfterEffects compositions. Since I don't wish to relink these to the current .AEP file, I may package** the original AE project to a location near my newly-located Premiere Pro project folder. To do this, I open the original .AEP file containing any compositions linked to my original Premiere Pro project, and use File < Dependencies < Collect Files. This feature copies all files (and a new .AEP copy) from this AE project to my newly selected destination (as long as no files are missing).
    So at this point, when I open my newly-located PP project, I can relink the broken AfterEffects composition links in PP to the new .AEP file. Yay!
    **package (for those unaware) is the term used within Adobe InDesign. This feature gathers all linked files that makeup the overall design and layout, and copies into a new folder.

  • Exported versions include GPS data?

    i spent quite a bit of time troubleshooting an issue before i learned that aperture does not include gps data when exporting versions. 
    is that really true?  if so, i'm fairly flabbergasted.  how can a pro product like this not perform such a basic function?
    i've read a few threads here and there about ordering of geotagging and importing and such, but none that provide any real type of workaround.  my images definitely do contain gps data.
    all i want to do is have an exported version contain the image's gps data.
    either i'm not understanding something basic about aperture, or the product falls far short in that area.
    (aperture 3.1.2 on 10.6.7)

    ok, well posting wasn't a complete waste, as in doing so a related post appeared on the right and that answered my question.
    so i wasn't understanding something basic ... there is a preference to include location information when exporting.  see Preferences > Export
    https://discussions.apple.com/message/12488634#12488634

  • Exporting groups including role assignments

    Hello experts,
    we are using EP 7.0 and CRM 5.0.....
    I facing the following problem in the portal regarding the export / import of groups:
    1) I go to USER ADMINISTRATION > IDENTITY MANAGEMENT
    2) I search for GROUPs by typing in "Z_*" in order to find all our relevant groups.
    3) I get the search result list of our groups and I press SELECT ALL
    4) Now I press export and a little window appears .... just like the process of exporting of groups is described in the SAP Netweaver library.... I can ex-/import the group and the user-assignments...
    But what we would like to do is export and later on import the groups inluding the role-assignments belonging to the group.
    Perequisite: The roles and groups already exist in both the target system and in the source system. Only the content of the groups is different.  So we actually want to make a refresh of the groups from one to the another System so that the groups will have the same content in both systems again...
    How can I download the groups including the role assignment data so that the assignment information is exported (and later on imported) as well and not lost during the export? This would save us a lot of work and be a lot easier instead of having to adapt the roles contained in the groups manually...
    Thanks for your help in advance!
    Kind regards,
    Hauke

    Hi,
    Think of the Group structure in the Object Oriented way. Employee is the parent of Group1/2/3. Group1/2/3 inherit the properties of Employee, but Employee does not inherit anything from its children.
    Users assigned to the Group Employee have only the properties that Employee has. If Employee does not have the role that Group1/2/3 have, the users assigned to Employee will never get the role assigned to Group1/2/3.
    Correct me if i am wrong if someone has a better idea.
    Teecheu Loh

  • JPG Export To Include Bleed

    What option do i need to make sure my export includes the artboard bleed?
    Script is below:
    var options = new ExportOptionsJPEG();
    options.antiAliasing = true; 
    options.qualitySetting = 100;   
    options.optimization = true;
    options.horizontalScale = 416.66;
    options.verticalScale = 416.66;   
    options.artBoardClipping = true; // I want it clip with bleeds!!
    var file = new File(save_folder.fsName+"/"+JPG_Name);
    myDoc.exportFile(file,ExportType.JPEG,options);

    If you is happy with *.png then you could try using Illustrators 'image capture' you can set any resolution (within range) so you don't need the H&V scale thing either… I gave this a go using image capture and it worked fine with several tests… No reason why you could not do this with export & jpegs too. It was tested with CS5 using multi-artboards of differing sizes and non linked bleed settings…
    #target illustrator
    #engine main
    $.level = 0;
         The Main Function…
    function artboardsToPNGs() {
         if ( app.documents.length == 0 ) { return; }
         app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
         var docRef = app.activeDocument;
         var docName = docRef.name;
         var baseName = docName.replace( /.ai$/,'' );
         var dF = Folder( Folder.desktop + "/AI Captured PNG's" );
         if ( !dF.exists ) dF.create();
         var pdfBoxes = getPDFboxes(docRef.fullName);
         var bleedT = pdfBoxes.MediaBox[3]-pdfBoxes.TrimBox[3],
         bleedB = pdfBoxes.TrimBox[1],
         bleedL = pdfBoxes.TrimBox[0],
         bleedR = pdfBoxes.MediaBox[2]-pdfBoxes.TrimBox[2];
         var icOpts = new ImageCaptureOptions();
         icOpts.antiAliasing = true;
         icOpts.matte = false;
         // icOpts.matteColor = '';
         icOpts.resolution = 300;
         icOpts.transparency = true;
         var artBds = docRef.artboards;
         for ( var i = 0; i < artBds.length; i++ ) {
              docRef.artboards.setActiveArtboardIndex( i );
              artBds[i].rulerOrigin = [0,0];
              var abName = artBds[i].name;
              abBounds = docRef.artboards[i].artboardRect;
              docRef.artboards[i].artboardRect =
              [abBounds[0]-bleedL,abBounds[1]+bleedT,
              abBounds[2]+bleedR,abBounds[3]-bleedB];
              var pic = File( dF.fsName+'/'+baseName+'_'+abName+'.png' );
              docRef.imageCapture( pic,undefined,icOpts );
              docRef.artboards[i].artboardRect = abBounds;
         alert('Done…');
         app.userInteractionLevel = UserInteractionLevel.DISPLAYALERTS;
    artboardsToPNGs();
    function getPDFboxes(f) {
         var pdfBoxes = {};
         try {
              f.open('r');
              var str = f.read();
              var b = str.match( /BleedBox\[(\d+\.\d+\s){3}\d+\.\d+\]/ );
              if (b != null) pdfBoxes.BleedBox = b[0].match( /\d+\.\d+/g );
              var a = str.match( /ArtBox\[(\d+\.\d+\s){3}\d+\.\d+\]/ );
              if (a != null) pdfBoxes.ArtBox = a[0].match( /\d+\.\d+/g );
              var m = str.match( /MediaBox\[(\d+\.\d+\s){3}\d+\.\d+\]/ );
              if (m != null) pdfBoxes.MediaBox = m[0].match( /\d+\.\d+/g );
              var t = str.match( /TrimBox\[(\d+\.\d+\s){3}\d+\.\d+\]/ );
              if (t != null) pdfBoxes.TrimBox = t[0].match( /\d+\.\d+/g );
              var c = str.match( /CropBox\[(\d+\.\d+\s){3}\d+\.\d+\]/ );
              if (c != null) pdfBoxes.CropBox = c[0].match(/\d+\.\d+/g);
              f.close();
         } catch (e) {}
         return pdfBoxes;

  • Export XML including soft returns

    When I want to export text to XML (UTF-8) I get an error on soft returns.
    Is there a way to include soft returns correctly in the XML ?
    Regards,
    Droom

    Hi Droom,
    are you sure that it is this forced line break character that causes the error message?
    There are indeed some characters that can not be exported by InDesign's XML export, but as far as I know there are no problems with the forced line break.
    Maybe you are using another char like an AutoPageNumber char (0x0018), a SectionMarker char (0x0019) or a right indent tab char(0x0008). These characters can not be exported.
    Generally every character that has a hex value lower that 0x0020 (except 0x0009, 0x000A and 0x000D) can not be im- or exported by XML.
    Try to create a new document with only one frame, insert a single forced line break and export it. If it works you have to look for another character that causes the problem. If it doesn't work I am mistaken.
    Form more info see my approach to import a right indent tab ( http://www.adobeforums.com/webx/.59b6dbd5/2 ).
    For some information about InDesign characters see: http://www.absatzsetzer.de/downloads/Zeichen.pdf (it is in German, but the table is understandable, I think)
    Best wishes
    Silo

  • Exporting format including jpegs

    So I am working on a project for a wedding in which I have use Final Cut for some family projects and then got volunteered to do a family wedding. So I used a mini dv camcorder and brought in the video and included also some jpegs from the wedding photographer. I've been searching the correct way to downsize the pictures and have them not blurry when I add them to a template. As of now they are blurry and grainy when I add them and I've yet to find the perfect way to have the size and aspect ratio of a jpeg. Also i've been messing around with ways of exporting the video so I can just use it in IDVD. I'm a bit confused on which way is the best quality to export it so I can use as a DVD there are so many NTSC formats to chose from. Any help would be much appreciated .Thanks!

    What resolution are the JPEGs you are importing? Most cameras these days shoot pictures that are of much higher resolution than standard definition video. As far as grain goes, there isn't much you can do about that if the photos themselves are grainy.
    Since you shot mini DV, you should be editing NTSC DV (I assume you are in the US), and then export as NTSC DV (just choose File > Export > QuickTime Movie). Bring that file into iDVD.

  • Session BUG, when filter includes servlet

    I have write the simplest ear for testing session on OracleAS http://exoplatform.com.ua/exoplatform.ear
    Explanation of problem:
    When I trigger URL http://localhost:8888/testwebapp1/ the filter MyFilter invokes servlet MyServletInvoke.
    At first time of include MyServletInvoke sets attribute to session which dosen't appear at second time.
    exoplatform.ear
    ---testwebapp1.war
    ------src/java/org/exoplatform/MyFilter.java
    ------src/webapp/WEB-INF/index.jsp
    ---testwebapp2.war
    ------src/java/org/exoplatform/MyServletInvoke.java
    PAY ATTENTION! Provide me info if it configurable problem or solve it if this a bug.

    Hi, Frank
    Indeed, it happens when I call servlet from other .war file.
    Did you try setting the attribute in the servlet filter ?Yes, I tried setting the attribute in the servlet filter - it works.
    Did you check if the called servlet creates a new session ?Yes, I checked. The called servlet creates a new session.
    Sources:
    http://exoplatform.com.ua/MyFilter.java
    http://exoplatform.com.ua/MyServletInvoke.java
    Alexey
    http://zavizionov.blogspot.com/

  • EndDialog for export filter issue

    Hello,
    I try to create some post-processing filter. I want ot know is user select ok in export dialog.
    The endDialog function not works as described in "Initialization and termination functions for the Export dialog". No Second parameter ever passed. "endDialog = function( propertyTable, why ) ... end," why is always nil. Can i determine the action of the dialog in other way? May be some global variables or some propertyTable field?
    Thanks.

    This is a bug in the SDK. I was able to reproduce the issue, the endDialog function receives only one argument - propertyTable.
    Unfortunately, there is no other way to know how the export dialog was ended. However, if you are designing a post-processing plugin, you don't need to know that - your post-processing code will only be  invoked if the user presses the "Export" button.

  • How to get OMF Export to include BOTH sides of interleaved files?

    When I export a logic song containing interleaved stereo files to OMF Logic gives me a message on completion:
    Left channel only of [Stereo files] were exported.
    I have "Split interleaved to .L .R" selected.
    How does one get both sides to be included in the OMF?
    M-12

    i've done this without issue. i would check to see if having universal track mode on or off has anything to do with it

  • Doesn't my exported file include the part where there is no music?

    Hi,
    I have created a video on After Effects. The original duration was 1:02 (as long as the video), but the client requested to add one more layer so I added at the end.
    At this part the music stops and you just see the text layer.
    I previewed it on After Effects and everything was looking perfect.
    I opened the 'Adobe Media Encoder' in order to render the composition. The exported file though stops when the music stops! @1:02!
    I have tried to figure out if there was a problem with the settings, but I wasn't able to find anything.
    Is the problem with the music? or is there something else going on?
    Kat

    The Work Area length was correct, but I think your answer helped me figure out the problem.
    I am actually using a template, so the creator has a folder with 'Comp' and 'Final Comp 1920x1080'.
    Final Comp includes the 'Comp'. I had update the 'Duration' of 'Comp', but not for the 'Final Comp'. I adjusted it now.
    Does this make sense? Was that the problem?

Maybe you are looking for