FileFormat-Plugin: Writing multi layer image

Hi,
I've another problem with a FileFormat-Plugin.
I want to write multiple layers to a file.
The plugin is correctly supporting format layers and is receiving the "writeLayerStart" event.
There I can see the that PS is giving me the background layer and I'm writing it to the file.
But after that I receive the "writeFinish" event.
All other layers are ignored.
Is there anything I should set in the FormatRecord so PS will give me the next layer?
Thanks in advance,
Christian

thank you for answering...
LayerFormat Example?!
I have only 3dformat, simpleformat and textformat in the format folder of the sdk sample code.
I have taken the simpleformat sample as a start.
Added  FormatLayerSupport { doesSupportFormatLayers }, to the PiPL resource,
added functions for the additional events (layerWriteStart, ...Continue, etc.) and put my write code into the
writeLayerStart function.
It is the code from the simpleformat writeStart function.
So an error is not returned.

Similar Messages

  • When & why to create a "master layer" in CS6 for multi-layer image?

    I would appreciate a link or a brief explanation of"when & why" and "how to use" a master layer when working with a multi-layered image (psd or psb) file in CS6.
    I've done a google search and haven't found anything useful.
    I've seen a couple of tutorials that make use of a "master layer" but I don't understand the "when & why."
    Thanks, Chris Bernhardt

    Yes a composit layer isoften a good work layer.  When creatring them in action particulary if you give the actions to others to use thing can go badly if you just use Shift+Ctrl+Alt+E to create them for actions have no idea as to what the current Photoshop is when they start to play. Some targets will cause Shift+Ctrl+Alt+E  not to work. The action also has not idea where in the stack the current target is. So its best to use three steps to create your composir work layer in actions. Shift+Ctrl+Alt+N Shift+Ctrl+Alt+E Shift+Ctrl+] can be shorten to Shift+Ctrl+Alt+N+E Shift+Ctrl+].
    Shift+Ctrl+Alt+N  Adds new enpth layer above current target without a prompt and becones the current target
    Shift+Ctrl+Alt+E Stamps visible layers into the empty layer just added
    Shift+Ctrl+]      moes the stamped layer to the top of the stack.
    The is a good work layer to doing many things Adding a Layers mask can isolate areas of intrest converting it to a smart object lets you use smart filters on it and also have a filter mask. Smert filtere can be re adjusted later.
    Changing the layr blending mond, opacity, fill and blend if gray can help adjust the effect you creating.
    Taking Noel sharpening adjustment layer few more steps
    Create composit later on top add revail all layer mask convert to smart object layer
    create a edge mask using a channel like a luminous selection that look like a blaack and white version of the image use the find edges filter on thet channel and add a levels adjustment to intensift the edges and load it as a selection usint the invert option.
    Target the smart object layer and use one of the sharpening fiters on it. The edge selection will be added as a filter mask for the smart filter used for sharpening.
    Change the smart object layer blending mode to luminosity so clors are not effected just the intensity and then adjust the blend if gary sliders split the black and white sliders to protect the images deepshadows ahd hightlights.  Paint with Black in the layer to remove ant sharpening not desired.
    to tweak the sharpen adjustment layer

  • Multi-Layered Image reopens as blank layers with no work done.

    Hi!
    My Quick Selection tool was acting weird, so I saved my multi layered image but when I reopened the image, there was no work saved. All that showed up were blank layer after blank layer with the names I had put in. What happened to the amount of work I put in?!!?!?!?!?!? Is there a way to recover alllll my work? Please Help!!!!
    Thanks,
    Lynn

    Thank you both for your answers.
    In the meantime I researched further and found exactly the issue and a workaround. The issue is only with 16 bit psd files and has to do with alpha channels as you both mentioned. Now, I would disagree that this is acceptable behavior Leonie. In my opinion this is a serious bug but anyways.. 
    A workaround is to place an all white alpha channel exactly after the RGB channels and BEFORE any other alpha channel as suggested here:
    https://discussions.apple.com/thread/2708851?start=0&tstart=0
    This is working (contrary to what is said in the above post) but be patient with the previews as they take ages to update.
    Trying to automate this I've made an action to create the alpha channel and used the script manager to run it when a new document is created. Now this does not work because the document is created in Aperture when pressing 'open in external editor' and the event is skipped. I instead had to associate the action with 'open document' which of course means that I will have an alpha channel created every time I open a document..
    I made the action so it names the channel 'bug fix' so I will just have to clean up every now and then.. I may choose to activate the action with a shortcut instead and have to remember every time I create a new document.
    Anyways, a bit of an annoying bug and seems to be around for quite a while. Hopefully Apple is going to fix it at some point.
    Best
    Dionysis

  • How to display multi-channel image in the 'proxy'?

    There're many examples to show how to display composite channels in the 'proxy'. But I don't find any example to show how to display multi-channel image in the 'proxy'. I found that I can use PSPixelOverlay to display alpha channel data like this:
    int nSpotChannel = gChannelCount - 4;
    PSPixelOverlay* overlay = new PSPixelOverlay[nSpotChannel];
    for(int i = 0; i < nSpotChannel; i++){
           if( i != (nSpotChannel - 1) )
                 overlay[i].next = overlay + i + 1;
           else
           overlay[i].next = NULL;
           overlay[i].data = gChannelData + (4 + i) * nPlaneBytes;
           overlay[i].rowBytes = gProxyRect.Width() * gDocDesc->depth / 8;
           overlay[i].colBytes = 1;
           overlay[i].r  = 230;
           overlay[i].g = 161;
           overlay[i].b = 174;
           overlay[i].opacity = 255;
           overlay[i].overlayAlgorithm = kStandardAlphaOverlay;
    pixels.pixelOverlays = overlay;
    Then, Seeing red part, it will trigger a new problem, that is how to get the color value of the alpha channel by plung-in itself? It seems that no channel color value info is in FilterRecord.
    If you have other solution, please tell me. Many thanks!

    This is what I've been doing - was just curious if there was a way to see a more cohesive image.
    If the individual EQ plugins are in fact the answer, is there any way to smooth how the Analyzer displays? The image I posted above, all of the tonal curves are very smooth. The analyzer tool shows a lot of peaks and valleys within the overall curve and it's hard to pinpoint each instrument's "sweet spot." Vocals for example are very hard to spot.
    - Morgan

  • Stitching multi layered images together?

    Is there a way to stitch multiple multi-layer files together?
    I'm using Cinema4D render passes and it puts all the image passes (reflectivity, ambient, specular, etc) into separate layers for easy manipulation.  However, I'm using a tile camera that splits the image into quadrants for faster network rendering.  The downside is that it doesn't re-assemble the images back together.
    Is there a way for Photoshop to glue multi layered images together?

    I have not tried to do this. As Mark stated flatten them first save a copy and merge those.
    Although you could try and report back. Keep in mind that Photoshop needs some overlap to stitch images together. If its just sliced into 4 quadrants just make a Blank file the correct size and dupe all layers and point them at the new file.

  • Multi-layer filter

    It's possible to make a multi-layer filter plugin? The idea is: the user has open a multi-layer document, then execute the plugin and selects N layers of the document in the filter UI,  and when clics "OK", the plugin create a new layer adding every selected layer pixel by pixel.
    LAYER A             LAYER B                      RESULT LAYER
    0 0 5 5 5                1 1 2 1 1                           1 1 7 6 6
    0 0 0 5 5       +       1 1 3 1 1            =             1 1 3 6 6
    0 0 0 0 5                1 2 3 2 1                           1 2 3 1 6
    Any advice?
    Thanks!

    A filter plug-in can read from any layer using the channel ports suite. See the Poor Mans Type Tool example. A filter plug-in can only write to the active layer. You cannot add a layer from a filter plug-in. You would need the auto/filter combo as Chris talks about. See the autofilter/hidden combo example or the format/auto for importing text files example.

  • How to preview the effect of Plugin in the original image,when the modal dialog is open?

    Hi,
    I am writing a plugin to Photoshop CS2, as some plugins, I want to add a “Preview” option for my model dialog. So I want to see the effect of my Plugin in the original image when my model dialog is open.
    Any one know how to do that? How to see the effect in the original image, when the dialog is open?
    Thank you!

    As explained multiple times in your SDK - you cannot do that.

  • Multi-Layer switching & cef

    Does anybody have some usefull links or information regarding CEF/Multi-layer switching? How are these features interacting with each other? Key differences?
    Thank's a lot.
    Florian

    Hi Florian,
    Basically in MLS the first packet to reach the destination rill need to be processed by router as it just maintain the caches and so for second packet it gets wr writed in hardware.
    But in CEF even the first packet is hardware switches as it builds the adjacency table and FIB table. Which not only maintains the routing entried but also the arp entried like binding the mac with ip so that even first packet can be hardware switches.
    Have a look at this white paper for CEF
    http://www.cisco.com/warp/public/cc/pd/iosw/iore/tech/cef_wp.htm
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/12_1e/swconfig/mls.htm
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/12_1e/swconfig/cef.htm#
    HTH
    Ankur

  • Multi-layer/layer3 switch VS. Router

    Multi-Layer Switch or Layer3 switch vs. router; How they are different?
    1.7

    In a router the route calculation and packet processing take place in the software on layer 3. This means that packets need to be moved from the layer 2 hardware interface to layer three and so it takes some time. In a layer 3 Switch Routing calculations takes place at layer 3 in hardware or software, while the actual packet processing takes place at layer 2. The speed gain is accomplished by reducing the amount of features supported and moving as much logic as possible into hardware.

  • PSE13 repeatedly crashing when opening more than one file at a time to layer images. [was: Feeling very frustrated.]

    Just bought Photoshop Elements 13.  I have a Macbook Pro that meets all the requirements.  I have installed and reinstalled the program but it just keeps crashing.  The program will load, when I choose the expert tab and try to open more than one file at a time to layer images it just crashes and says "Photoshop Elements has closed unexpectedly" Can anyone help me please?

    mikeobe wrote:
    OK, kinda slooow here, I hope I'm not trying your patience!? If I understand you correctly, install dummy drivers and then the drivers that came with my printer, Designating NO default printer! Then when I need to use the printer I will have to declare which one each and every time?
    Or, just intall by new printer but do not Delcare it as the Default printer, I guess in this instance there would be NO default printer?
    You may not even have the problem!
    Have you installed the new printer yet?
    There are many more people who don't see it happen than those who do.
    PS: there is always a default printer.

  • Multi-page images?

    Post Author: martorell
    CA Forum: General
    Hi!I try to insert a multipage image (tiff) and CR only shows the first image of file. Is possible show all tiff images? Thanks!!

    Crystal Reports will only be able to retrieve the image and display the first page of the image for each record since there is no functionality to either scroll through pages, to show more than one page of the image for each record or to split the binary data into separate fields each containing a single page of the image.
    One option to workaround this behavior would be to only store images with a single page and if multi-page images are used, break them into single image records and associate them to the corresponding data through database table linking. This way, it would be possible to group on one field and see all of the  associated to that value.
    Example:
    (Group) LocationA
    (record 1) - PicturePage 1
    (record 2) - Picture Page2

  • FileFormat plugin issue

    Hi ,
    I am facing a issue in fileformat plugin in PhotoShop CS6...  i am doing some fuctionalaties on "formatSelectorFilterFile" signal. But in MAC, Photoshop is sending this signal twice. first, when user do File -> open(in PhotoShop CS6) and just select any photoshop file and second when user click on open button. first time PhotoShop is sending signal as MAC tries to open file to show preview in  open dialog box. I am not finding any way so that  I can differntiate between these two condition. actully i don't want first one.
    Thanks in advance
    -Harsh

    I guess the first one was put there for a preview/thumbnail generation (Adobe folks probably know better though).
    In any case, this selector simply asks whether you plugin can handle the filie format and therefore it has to be lightweight, since youy don't really want to introduce delays as the user goes over the file list. If properly implemented as only a test, you shouldn't really care about this selector being invoked multiple times.

  • IPad - view multi-layer PDF?

    On an iPad, how can I view just the text layer of a multi-layer PDF?
    I have a PDF which has 4 layers.  They are all visible at the same time through the Adobe reader app.
    This is un-readable.  How can I select just one layer to view at a time?

    I found a post that Fuji Xerox Docuworks Viewer Light reads PDF layers but I could not verify as it's not sold in the USA App Store.

  • Multi-channel imaging using NI frame grabber

    We have a IMAQ 1408 being controlled by LabVIEW 8.0.
    We wanna setup multi-channel imaging. All the channels work individually. However, when I was trying to show two channels simultaneously, only one channel works, and I got the following error message:
    Error -1074397150 occurred at IMAQ Grab Setup.vi
    Possible reason(s):
    NI-IMAQ: A timeout error occurred while waiting for the specified event. If waiting for an image, verify that all video data is acquired within the timeout period. If waiting for a signal, verify that the signal assertion occurs within the timeout period.
    I sometimes also get another error message asking me to assign different buffer to both channels. I understand that IMAQ 1408 has only one analog to digital converter (ADC) to digitize the incoming video. It can acquire from up to four different cameras, but only from one camera at a time. 
    I don't mind making the frame rate half. So I'm thinking of showing one channel at a time and make the two channels work alternantly. But I need to know how to confige the channels to make this happen.
    Solved!
    Go to Solution.

    Hi Andrew,
    Thanks for the reply! I've read the page. But it doesn't tell me how to assign the buffer.
    Please see attached for my code.
    Here is another error I got from channel 2:
    Error -1074397158 occurred at IMAQ Grab Acquire.vi:10
    Possible reason(s):
    NI-IMAQ: No buffers configured for session.
    Thanks!
    Attachments:
    grab_dual channel 2.vi ‏63 KB
    grab_dual channel 2.jpg ‏41 KB

  • Can I download Elements plugin for Processing RAW images from Sony ILCE6000?

    Can I download Elements plugin for Processing RAW images from Sony ILCE6000?

    If you are using PSE 12 or 13, just go to Help>Updates in the editor.

Maybe you are looking for