AEIO with 32 bpc, multiple layers?

Hi,
I am trying to write a AEIO plugin in order to import footage from my own graphic format. So far, I´ve been able to develop a very basic one (which works fine) but I would like to improve it a bit and I am somewhat stuck:
- Now, my plugin only imports the footage in 8 bits per channel, but my graphic format supports 32 bpc. In the documentation there is a flag called "AEIO_MFlag2_CAN_DRAW_FLOAT", but little help about how to use it. How do I fill the "PF_EffectWorld" with floats in my "AEIO_DrawSparseFrame" function? Effect plug-ins have a nice "get_pixel_data_float", but I cannot access that function from an AEIO, can I?
- My graphic format also supports layers. Again, there is a nice "AEIO_MFlag_HAS_LAYERS" in the documentation, but little help about how to use it. I would be happy if I could replicate the same behavior AE has when opening a .psd file (a UI Dialog asking for what layer to import) but I also have problems creating custom option dialogs ("AEIO_MFlag_SEQ_OPTIONS_DLG" is not documented, "AEIO_SeqOptionsDlg" never seems to get called no matter what, etc...). Also, if I go for a custom Win32 dialog, I can not manage to get a good hInstance (once more, "PF_GET_PLATFORM_DATA" seems to be available only to Effect plug-ins)
Any help or pointer is greatly appreciated!!
Cheers,
Oscar

To answer the question about getting a good hinstance you can do this:
static HINSTANCE GetCurrentHInstance()
    return reinterpret_cast<HINSTANCE>(&__ImageBase);
Then to load the resource do this:
    CImage img;
    img.LoadFromResource(GetCurrentHInstance(), IDB_BITMAP1);
This is late but it should help someone...  I hope.
MirandaTech

Similar Messages

  • Working with  multiple layers in CS 3 ?

    In order to work with multiple layers in cs3, I first need to open few images to work with,and when I open few images it only shows last image that I opened.Frist images can't be seen in workspace, and when I open new document I can't see not even one photo I opened?

    try tapping the F key a few times until you get to the screen mode that allows you to see all image windows.

  • Multiple selections to multiple layers or multiple files with one go ?

    Hi,
    how to convert multiple selections to multiple layers or multiple files with one go ?
    Thanks!

    You may want to ask over at
    http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions
    or
    http://ps-scripts.com/bb/
    I think there are Scripts about for the task or at least ones that could be adapted without too much problems.
    The usual approach is, I think, creating a Work Path from a Selection and then using (expanded) Selections based on the individual subPathItems to intersect with the original selection.
    Of course there are possibilities for bad results …

  • Trouble converting HTML with multiple layers to PDF

    Acrobat has a great feature where you can convert a webpage with multiple layers into a multi-page PDF. I've run into a couple example web pages that are giving me problems:
    1) Colorado Department of Regulatory Agencies
    https://doraimage.state.co.us/LibertyIMS::/sidr6B2n5OW4s40hEk6/Cmd%3D%24%24DF63GVEbxAIjDRp jm%3BGPZ1%3D%23k2I
    I try to convert a page with 28 links to PDF's that are multi-page PDF's, but it looks like all of the pages start importing into acrobat out of order. I get page 1, page 2, then it jumps to page 6, etc... What am I doing wrong or is it something with how the site is storing the images on the server?
    2) Indiana License Litigation
    http://www.in.gov/apps/pla/litigation/
    I'm unable to select a profession/board type from a drop down menu and successfully convert the pages contained therein from HTML to PDF. Does the 'convert multple layers' feature of acrobat not support pages that are built as a "dropdown database" type search?
    Thanks!

    you can use this html to pdf solution to convert multiple html layers to the same pdf

  • Import Illustrator File with multiple layers and sublayers as composition retaining all layers and sublayers

    I have drawn a country map with multiple layers and sublayers including streets, cities, rail lines, ...
    Now I want to create a template for my collegues in After Effects.
    For this I want to import the .ai file into After Effects retaining all sublayers and layers in compositions and subcompositions.
    When I do that, I get the first couple of layers correctly, the other ones comes in one merged composition.
    What can I do, to get all layers each as a layer in After Effects?
    Yours, Raphael

    Illustrator only imports the first level of layers. If you have groups or paths below you need to release the groups to layers. The layers will then be stacked in order as sub layers. Then you need to move them up.
    The steps are to select a layer in the Illustrator layer panel, then without selecting any specific element in the layer click on the menu in the top right corner and select release to layers. All a elements in that layer will be converted to layers. Now select them all and drag them up above the original layer. This will leave the original layer empty and put all elements in new layers.
    Here's a tutorial I did a zillion years ago which uses this technique to turn a blend into a morph.
    Morphing With Adobe Illustrator. I hope this helps.

  • Move/Copy multiple Layers to other document  with Script

    Hello, I have one question to how move or copy multiple layers to other document?.
    With this script i can move one by one:
    var docRef = app.activeDocument;
    var moveLayer1 = docRef.artLayers.getByName('Title');
    var moveLayer2 = docRef.artLayers.getByName('Background');
    var moveTo = app.documents.getByName('Untitled-1');
    var layerRef = moveLayer1.duplicate( moveTo, ElementPlacement.PLACEATBEGINNING);
    var layerRef2 = moveLayer2.duplicate( moveTo, ElementPlacement.PLACEATBEGINNING);
    but i need move two layer in one step....

    var docRef = app.activeDocument;
    select_layer("Title");
    select_layer("Background", true);
    var moveTo = app.documents.getByName('Untitled-1');
    duplicate_active_layer(docRef, moveTo);
    function select_layer(name, add_to_sel)
        try {
            var desc = new ActionDescriptor();
            var ref  = new ActionReference();
            ref.putName( charIDToTypeID( "Lyr " ), name);
            desc.putReference( charIDToTypeID( "null" ), ref );
            desc.putBoolean( charIDToTypeID( "MkVs" ), false );
            if (add_to_sel) desc.putEnumerated( stringIDToTypeID( "selectionModifier" ), stringIDToTypeID( "selectionModifierType" ), stringIDToTypeID( "addToSelection" ) );
            var ok = true;
            try { executeAction( charIDToTypeID( "slct" ), desc, DialogModes.NO ); } catch(e) { ok = false; }
            ref  = null;
            desc = null;
            return ok;
        catch (e) { alert(e); throw(e); }
    function duplicate_active_layer(src_doc, dst_doc)
        try {
            app.activeDocument = src_doc;
            var d = new ActionDescriptor();
            var r1 = new ActionReference();
            r1.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
            d.putReference( charIDToTypeID( "null" ), r1 );
            var r2 = new ActionReference();
            r2.putName( charIDToTypeID( "Dcmn" ), dst_doc.name);
            d.putReference( charIDToTypeID( "T   " ), r2 );
            d.putInteger( charIDToTypeID( "Vrsn" ), 2 );
            executeAction( charIDToTypeID( "Dplc" ), d, DialogModes.NO );
            d = null;
            r1 = null;
            r2 = null;
        catch (e) { alert(e); throw (e); }

  • Multiple layers with lowered opacity

    Hello all,
    I am working on an Indesign file that has multiple layers which are both on an apacity around 10%.
    When I just put them both on 10% obviously you can see the bottom layer right through the top layer.
    What I want is that you won't be able to see the bottom layer (despite the top layer being on 10% opacity) but just see the white backgound just as if there would not be another layer underneath.
    In the example image you can see what I have now.
    So what I want is that you won't see the logo's of the carbrands underneath the word Scantools.
    Is this possible?
    Thanks a lot,
    Eric.

    You could also just use a tint of the color instead of reducing the opacity of the word SCANTOOLS.

  • MULTIPLE place image import...& "save as.." multiple layers to multipage PDF

    Hello,
    just some suggestions I`d like to see to speed up my set up and output..
    i`d like to import multiple placed images into illustrator CS4. So open dialogue box place, and multiple select images for placing.
    regards output save as...
    Can we output multiple layers  into a single PDF in illustrator?  Or multiple layers into single JPEGS  from illustrator with one command instead of individually saving out  each layer... would be a huge time saver for me.I create different artworks on different layers..
    Currently  I output each completed layer individually and then right click those  outputted jpegs in their output folder and choose "combine supported  files into acrobat..." to make a single acrobat file..i`d like to do this right in the illustrator "save for PDF" dialogue box. Adding  something in the Save for PDF output dialogue box to save layers to one PDF as multiple pages would be a helpful time saver..
    I`d  also like to be able to CTRL click multiple layers and go " save as..."  only those layers get saved out... 

    , bridge -FILE/PLACE into ai, goes to separate layers in AI as placed.
    in PS, bridge/tools/ps/load files into ps layers.. CS4.
    just using right click in explorer on individual PDF docs from layers saved from PS to combine to PDF. but cannot output multiple pds from layers in AI in CS4.

  • How to multiple layers in the MAP web item?

    Hi experts,
    I'm working on a demo with BWGIS. I encounter several problems with the MAP web item.
    My demo:
    QA results visualized on global (region object - e.g. Europe, Asia), country (country object) and plant level. Use geo-drilldown to navigate into the lower layers functionality to get from the global view to the countries within one region and plants within one country.
    My settings:
    Region is a static geo-characteristic. For region I used the cont200.shp file. Also country is a static geo-characteristic, here I used cntry200.shp. For test I used ARCGIS to draw (points) some example plants in the country shape file. I uploaded this shape file to the plant object (also static).
    My success:
    I'm able to display the QA results in a separate global or country view within the 3.x Web template.
    My problems:
    A) The map web item in 7.0 does not display any data: it looks like no link can be made between the query result and graphic although we installed the latest IGS.
    B) I'm not able to drilldown from a global view to the countries within one region (doubleclick on one region in global view) within the 3.x Analyzer and 3.x Web template.
    My first question is about the concept of BWGIS:
    1) I want to use geo-drilldown (double-click) to navigate to the lower layers. For example in the global view I see only the QA result per region (shape file of region object) -> doubleclick on Europe, I expect to zoom in to Europe and see the QA results for all the countries in Europe (shape file of country object). How do I modell this in the web application designer?
    alt. 1a: 1 map – 1 layer - 1 dataprovider - underneath 1 query with region and country in the row is not allowed, so how to navigate between the two geo-relevant objects?
    alt. 1b: 1 map - 2 layers (2 shape files) - 2 dataproviders - 2 queries, one with QA result per region and one per country -> in that case both will be displayed at the same time, is not what I want. How to navigate between the two layers?
    alt. other ?
    2) I know how to make maps with multiple layers in ARCGIS, but do I need this for BWGIS, because one layer is one shape file? So do multiple layers in the map web item correspond to multiple layers in a ESRI ArcMap Document.
    More specific questions:
    3) Is there a lot of experience with the map web item in 7.0, documentation and working examples? Are there known problems (I can't find anything in sap notes). Is it better to still use the 3.5 Web Application Designer for this?
    4) There is very little information on SAP help, SDN and other forums about BEx Map and moreover the MAP web item. Does anyone have more documentation for me?
    Thanks in advance.
    With kind regards,
    Rick Stoll

    Hi Rick,
    I am working on the same topic. I am strongly interessted in solutions to your open questions, that you pulled forward in the past.
    Did you make any progress?
    Thanks in advance and regards
    Marcus

  • How to change blending mode on multiple layers at the same time

    I'm using CS5. I have a document with about 70 layers. I would like to change the blending mode to "lighten" for each layer. Is there an easy way to do this?

    Photoshop doesn't allow multiple layer editing. That's why the styles are grayed out. Only 1 layer at a time.
    What version are you talking about?
    CS5 definitely let’s one apply a Style to multiple Layers.
    rfcommagere, I don’t know how to make it much clearer:
    • set the Blending Mode on one Layer
    • with that Layer selected create a Style with »Include Layer Blending Options« checked
    • select all other Layers that should have that Blending Mode
    • click the Style in the Styles Panel

  • How do I create holes through multiple layers?

    I'd like to use boxes to punch holes into the layered artwork below them. I want the result to look exactly like this image, but with the white boxes being transparent holes.
    This seems so simple, but I can't find any combination of layers/pathfinder tools/compound shapes/or clipping masks that will produce this result. No matter what, I end up losing part of the artwork (usually the topo lines and the black bar).
    What am I missing??
    Thanks in advance for any advice.

    mirvlem,
    You may:
    1) Select the boxes to become holes and Object>Group (if nort already);
    2) Select everything and in the Transparence palette flyout tick Make Opacity Mask with Clip unticked and Invert mask ticked.
    There seems to be no need for multiple layers, but the Opacity mask punches through them all right.

  • Photoshop CC 14.1 editing paths on multiple layers disabled?

    Has editing paths on multiple layers with the direct selection tool been disabled in Photoshop CC 14.1? I can't seem to figure out how to do it now, shift- or command-clicking doesn't do anything. In fact, I can't even click to select individual paths on different layers, something that Photoshop has had forever.
    While it was at times problematic the way it was in 14.0 (always selecting multiple layers and having to go into isolation mode to edit just one), there were times when it was useful to edit multiple layers, or even just click between layers with the direct selection tool.
    I've seen this documentation on the site, but I'm not sure it's very helpful. Can someone give me some assistance?
    Also, what is the custom keyboard shortcut for entering/exiting isolation mode? It is mentioned in the above image, but what actually is it?

    You can still work with paths the way you could in 14.0 -- just choose the All Layers mode in the Path Selection tool or Direct Selection tool options bar. We added the Active Layers mode for users who prefer to isolate which paths can be selected based on which layers they have already selected in the Layers panel.
    To clarify:
    -Active Layers mode: Clicking or dragging on the canvas with the vector selection tools will not affect which layers are selected in the Layers panel. Double-click to enter isolation mode is disabled.
    -All Layers mode: Works just like in 14.0 -- clicking or dragging on the canvas with the vector selection tools can change which layers are selected in the Layers panel. Double-click to enter isolation mode is enabled.
    If you find yourself switching between these two modes a lot, you can add a custom keyboard shortcut that will toggle which mode is selected. In the Keyboard Shortcuts dialog, choose Shortcuts For: Tools and scroll down to the Direct Selection Mode Toggle option. Add your new keyboard shortcut here.
    As for your question about isolation mode keyboard shortcuts, this just means that you can assign a custom keyboard shortcut to this command as well (Select > Isolate Layers).

  • Feature Request, option to relink all unlinked layer masks when transforming multiple layers at once.

    As a professional PS artist who works on files with sometimes hundreds of layers, I often need to transform many layers or groups at once. It is a nightmare to find that after the transformation, a mask did not get included in the transformation, (especially when the file is many gigs large, and the transformation took 15 minutes). Sometimes, a mask is accidentally unlinked, but more commonly I unlink it temporarily, but forget to relink it. There is currently no way that I'm aware of to find these pesky unlinked layers, other than going through every single one. What would work great is to have a popup asking if you would like to relink all unlinked layers, whenever you're transforming multiple layers that include one or more unlinked masks. Or else have an option in the layers palette to either select or relink all unlinked layered masks. Hope this makes sense. Cheers!

    Michael,
    It looks like you are right! Thank you for your help.
    I still have a small concern. I looked at the documentation and it reads,
    "The configuration settings for a cache instance are stored in the USER_SDO_CACHED_MAPS metadata view. You should normally not manipulate this view directly, but should instead use the MapViewer administration tool, which uses this view to configure map cache instances."
    But, I tried inserting records into USER_SDO_CACHED_MAPS and it works, and I can't really see any reason not to directly insert records into this table, so...
    Perhaps that warning is there simply because potentially you could screw things up tinkering with the table directly.
    Cheers!
    John

  • Custom keyboard shortcuts and editing multiple layers in Flash CS4

    Hi, all -
    CS3 -> CS4 transition newb here who's getting increasingly frustrated with the new motion tweens; however, for this project, I'm working in a 3D space and require using them, so I'm dealing with this bit by painful bit. I found the tip about Split Motion, but first question: how do you apply Split Motion across several layers at the same time? I have six different tweens, and in CS3, I used to be able to shift-click or click-drag across frames and apply a command to all of them (for example, hit F5 to add frames), but Split Motion is requiring me to right-click on each and every layer. This is really laborious, and I worry about future animations that might be more complex.
    Similarly, I tend to add custom keyboard shortcuts to each of my Flash versions for commands I use frequently and don't want to right-click a menu for (such as "add motion tween") - however, I can't seem to find where to create a custom shortcut for either that, or Split Motion.
    Any and all help would be appreciated as I muddle through this. Honestly, guys, I WANT to like the new version and there's so many added features, but it's hampering my workflow so bad I want to pummel it with sticks.

    Hey there,
    I definitely hear you about Split Motion. There is an enhancement request for supporting multiple layers, and adding it as a keyboard shortcut. The first one is tricky, but the second one is not. I think there was hope that splitting motions wouldn't be necessary much (especially since you have to be careful when doing so when eases are involved), which is why the eventual need for more functionality related to split motion was realized a bit late in the schedule.
    Now regarding other operations, such as you mentioned F5 to insert frames - that and other operations (inserting certain types of property keyframes, F6, and so on) work just fine.
    You can apply a shortcut to Create Motion Tween in the custom keyboard shortcut dialog.  Not all operations in the program are available though (most context menu items aren't), which is why unfortunately why we don't see Split Motion yet.
    It might be possible to avoid Split Motion though with another workflow. What are you using the feature for?  Just curious in case I can help.
    Jen.

  • How to Apply adjustment layers to multiple layers that have different blending modes ...

    How to Apply adjustment layers to multiple layers that have different blending modes  and keep the colours the same as the adjusment done?
    I work in Animation painting Backgrounds.  My files are sometimes upwards to 200+ layers.
    I will use adjustment layers to quickly balance colours and constrast on top of those many many layers.
    The only way that I know of how to apply adjustment layers it to every single layer  ( by applying I mean I need to get rid of the adjustment layers because we cant use them in production but i need the new colours be applied to all layers underneath ) in a psd is to manually do it By duplicating the adjusment layer 200+ times and  then merging each layer to one of those adjustment layers so that that layer can take the adjustment layers effect permanently.
    The issue is that Within Those 200 layers I have some layers set to Multiply or OVERLAY.    IT obviously wont apply the adjustment layer properly to those layers because those layer blend mode affect the layers under them. The colour wont be the same anymore in the spots that had the multiply blended mode.
    HEres an example of a simple File.  to show what i mean.
    https://dl.dropboxusercontent.com/u/3408266/ball%20layers.jpg
    https://dl.dropboxusercontent.com/u/3408266/ball.psd
    I have 2 adjustment layers up top.  I need to get rid of them by applying them to each layer! I cannot merge any of the layers. We need all those layers for production.
    I can apply the adjustment layers manually and this works GREAT for all Layers set to normal.  THey take on the colour change just FINE.
    However, The issue is that layer 6 and layer 4 are both set to mutiply and this screws up the colour once i apply the adjustment layers to each layer manually...
    How can i apply my adjustment layers to a file like this with some layers being set to multiply while keeping the layers exactly the same configuration  and The new colour taking efffect exactly how i looks before i apply the adjustment layers?
    Now the simple solution is to merge the multiply layers to the layer that it affects HOWEVER I NEED those multiply layers to be seperate! 
    I'm assuming what I want to do is impossible? Hope this isnt confusing.  As far as i know its impossible to do what I want it to do.  but just wanted to ask and see.
    I would REALLY REALLY love to talk to a adobe programmer/ technician/pro working at adobe about this.  Theres just no way to get in touch with anyone... =(
    any thoughts ?

    Sure... if you want to put it that way. Either way its not the desirable outcome. 
    its just frustrating that theres no way to apply adjustment layers to hundreds of layers while keeping them in the same configuration ( blendmodes,  layer order ,  without merging)  while keeping the same end result.
    works great if all your layers are set to normal though..    But I really need to keep shadow layers seperately and be able to adjust on the fly aswell as apply those adjusment to all my layers.
    I suppose that just isnt possible.   I understand the math required for this would be tremendous/ complicated if something like this would ever be implemented.  Would be nice if adobe could come up with some solution to this.  Its really a huge issue in my work flow and theres no alternatives.    How else can I adjust colours to 100+ layers  with a few clicks that lets me play around the the adjustment until im happy with the outcome.    Really wish i could adjust and the quickly apply that adjustment to all my layers regardless of blend mode.   LIke If the Layers with blendmode could somehow take the properties of the adjustment layer and keep adjusting those layers undereathe on top of that blended mode that its doing...   

Maybe you are looking for