Vector Layer rasterization

Hello,
I am trying to "rasterize vector layer mask" by a script.
For this, I need to identify current layer is vector layer or not.
I need to do rasterize operation, if layer is a vector layer only.
How do I directly get this?
Thanks

Hello,
Thanks for your kindly reply.
If I am correct, a layer will be a vector layer if we specify a "vector mask".
We rather consider a "layer mask" if we do pixel based operation such as paint brush.
I tested both layer.kind and key "hasVectorMask".
But I feel like return values are inconsistent among different versions of PS.
Even rectangle shape layers are identified as a NORMAL by layer kind.
Key "hasVectorMask" seems ok but it is returning 0 in PS 5.1 and PS 6 for rectangle shape layers.
I created TC with rectangle shape layers. Please see below test case and its results of specific layers.
BUGLayerMask cc.psd - Google Drive
I wonder, why PS giving different values for same PSD ?

Similar Messages

  • How do I use "Trim Paths" after "Create Shapes from Vector Layer" on a strokes only layer?

    Hello,
    Adobe After Effects CC
    2014.0.2
    Version 13.0.2.3
    I have imported an illustrator file that was created in Illustrator CC 18.0.0. The file contains the outline of a logo. It is the logo with the fill set to none and the stroke set to 1px.
    I drag the logo_strokes.ai file onto the composition, right click, and click Create Shapes from Vector Layer.
    A new layer is created and in the Contents "drop down", a Fill 1 layer is created.
    When I select the Contents "drop down" and click Add / Trim Paths, a Trim Paths 1 layer is created.
    When I animate Trim Paths 1, it appears to animate the Fill layer, not the stroke.
    How do I get it to animate just the stroke, and not show a fill at all?
    Thank you.

    Thanks,
    I am reading and watching tutorials. Still stuck on that one point.
    Here are the images of the After Effects layers. The illustrator layer is the top layer.

  • Mapviewer 12c Generates Error When Displaying a Pre-Defined Vector Layer

    I have a predefined vector layer which I want to display using Mapviewer 12c. However, when I try to display the vector layer, I get an Java Null Pointer error. If I run the exact same code using a Mapviewer 11g (v11.1.1.7.3) environment, the map displays correctly with no errors.
    Is anyone experiencing similar problems with Mapviewer 12c?
    My environment consists of the following:
    1) Server OS: Linux x86_64 (RedHat Enterprise 5.11)
    2) Oracle Weblogic Server 12c
    3) I Manually Deployed an Exploded MapViewer EAR Folder in WebLogic Server
    http://[host]:[port]/mapviewer/omserver?getv=t
    Accessing this URL immediately resulted in the expected response text string:
    Ver12.1.3_B140430.1010
    4) I can successfully access the Weblogic Admin Console (http://[host]:[port]/console) and confirm the Weblogic is running, and that Mapviewer has been successfully deployed and running as well. I can also access the Mapviewer Admin Console (http://[host]:[port]/mapviewer)
    5) Mapviewer 12c has been configured to use the latest Java 7 JDK (i.e. Java 7 Update 75).
    The error I receive when attempting to display the predefined vector layer is:
    [2015-02-17T11:52:40.294-05:00] [AdminServer] [WARNING] [] [oracle.mapviewer.ws] [host: icdevapp004.info-control.com]
                [nwaddr: 192.168.157.210] [tid: 34] [userId: ] [ecid: 6f92f10c-b237-4f4d-b683-3d7ae3f903f3-0000001c,0] [APP: mapviewer] java.lang.NullPointerException[[
         at oracle.lbs.dataserver.MapDataServlet.doPost(MapDataServlet.java:235)
         at oracle.lbs.dataserver.MapDataServlet.doGet(MapDataServlet.java:155)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
         at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
         at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    Here is a sample of the code I am using to display the map.
    test12c_2.html
    yard1_12c.js
    var baseURL = "http://192.168.157.210:7003/mapviewer";
    var vDataSource = 'logitdv1';
    var map = {};
    var vlayer = {};
    function showMap(){
        OM.gv.setResourcePath(baseURL+"/jslib/v2");           
        map = new OM.Map(
            document.getElementById('map'),
                mapviewerURL: baseURL,
                universe: new OM.universe.ElocationUniverse()
    // OpenStreet Maps
        var tileLayer = new OM.layer.OSMTileLayer("OSMLayer1");
        map.addLayer(tileLayer);
        vlayer = new OM.layer.VectorLayer("UserGeo",
                infoWindow: false,
                def:{
                    type: OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource: vDataSource,
                    theme: 'damco_perimeter',
                    loadOnDemand: false,
                    url: baseURL
        map.addLayer(vlayer);
        vlayer.zoomToTheme();
        map.init();
    Message was edited by: Wayne Blumstengel
    - Added attachment test12c_2.html

    I installed the Latest OracleMaps HTML5 (V2) API Update - March 2015 (http://download.oracle.com/otn/other/mapviewer/11g_ps6_3/oraclemapsv2_11_1_1_7_3_1.zip) and the issue seems to have been resolved with this update.
    I deployed the 11.1.1.7.3.1 update against my v12.1.3 mapviewer installation (as per the instructions in the readme file), and the prefined vector layer now displays correctly using Mapviewer 12c.

  • Templated vector layer

    Hi All, Templated vector layer is not working for me. (I mean the demo apps C15 and C16) The vector layer, customers  doesn't show up. I checked the theme in mapbuilder and it works fine there. Mapviewer: 11.1.1.7.1 OS: Windows 7 SP1 - 64-bit DB: Oracle Release 11.2.0.1.0 32-bit Browser: Chrome,Firefox, IE

    This is a bug in the demo code (not in the parametrized vector layer support). The referenced style (M.SMALL CIRCLE) is missing in the user_sdo_styles view for mvdemo.
    The solution is any one of the following:
    - Add a style called "M.SMALL CIRCLE"
    - Modify the theme definitions to use M.CIRCLE or M.STAR or some other existing style instead.
    - Modify the demo code to use one of those (m.circle or m.star) styles instead. To do that add the following lines of code after the VectorLayer is created,
    OM.style.StyleStore.getServerSideStyle("mvdemo", "m.circle", {url:baseURL, callback:
                                                              function(aStyle){layer.setRenderingStyle(aStyle);}});
    after
    layer = new OM.layer.VectorLayer("layer1", {def:{type:OM.layer.VectorLayer.TYPE_PREDEFINED,
    and click on RUN.

  • Vector SmartObjects: using as vector layer mask

    Hello,
    I have pasted a vector graphic from AI CS3 to PSP CS3 as SmartObject. Is it possible to use this vector graphic (without rasterizing) as the vector layer mask? If so, how to do this?

    I don't think this is possible. You will have to copy&paste the outline path once more and then assign it as a mask.
    Mylenium

  • After Effects Import Vector Continuously Rasterize not working

    Hello.
    I'm trying to import a vector into After Effects and it's not working the way I need. Yes I have Continuously Rasterize turned on. No the original Illustrator file does not have any effects on it. I've tried png, eps, psd, and ai files. Same issue.
    1. This is what the original AI vector file looks like:
    2. This is what it looks like in AE with Continuously Rasterize turned on, zoomed in at 400%. It's crappy.
    3. And this is what it looks like in AE zoomed in at 100%, but I've scaled the image up to about 200%.
    But I can't use the huge scale vector for my project because it is too big for my comp. Can somebody help? My brain hurts.
    I do realize that it looks crappy within the AE viewer, but even after I export it in HD, it still looks crappy.
    Basically, I just want a nice clean final picture to look good in my comp.
    Hey thanks for anybody who can help. Huge karma waves coming your way.

    When posting questions like this just a screenshot of the result is almost useless in diagnosing the problem. A better screenshot would include the Comp Window and timeline with the layer in question selected and all the changed properties revealed by pressing the U key twice. Also, since this was an imported file that is in question, if the footage item is selected in the Project panel then we can get an idea of the format, size, and other properties of the original file that may be causing problems.
    You should not have to buy anything to get properly created vector files ti work perfectly in your composition. When you said zoomed in at 400%, if you meant scale factor and not scale of the layer then the behavior is normal, expected, and exactly what should be happening. Zoom Factor set to 400% means the comp window is using 16 screen pixels for every comp pixel. Zoom Factor set to 1600% means a single image pixel is displayed as a 16 X 16 block of screen pixels - so things are going to look pixelated when they are not. The only way to judge quality is to look at the composition window with the Zoom factor set to 100%. This is exactly the way Photoshop works.
    Here's what I mean. A single Illustrator layer selected, scaled to 5174% and perfectly rasterized in a comp with the Zoom Factor at 100% scale. Note the layer size in the project panel. Everything we need to know to diagnose a problem.

  • Why do my vector files rasterize when I make a contact sheet in Bridge? How can I change quality?

    I am trying to make multiple vector files (Adobe Illustrator) into a PDF contact sheet. In doing this through the Output function of Bridge, the vector files are rasterized into a fuzzy, low resolution versions. I'm able to change the quality of the PDF itself; however, that does not affect how the vector files are rasterized. I can't seem to find any way to change this. I can make a contact sheet in InDesign or rasterize these things myself in Photoshop, but I thought Bridge was suppose to help "bridge" some of these functions and save some time. Has anyone found a workaround or some hidden quality box that I'm missing?

    Read this one, has screenshots of directories where you should be.  http://forums.adobe.com/message/6032961#6032961?tstart=0#6032961

  • Selecting Shape/Vector Layer is auto displaying path in canvas - It shouldn't

    When i click on a layer (in layer palette), it is auto showing the path on the canvas.  It didn't do this in CS5. 
    I am able to turn off "Target Path" in the View > Show > Target Path menu option. But that is only temporary. 
    The path should only display on the canvas when i click on the path (on the canvas) with a vector tool.
    Basically, i want the CS5 behavior. :-)

    Thanks for the feedback.
    This request has been discussed in depth in several other threads.
    It's a painpoint we're aware of and the changes for it will not make it for the CS6 release.
    There are ways to work with it, such as what Noel has suggested with the Esc key, you can also use the Enter key (with a vector tool selected) to hide the boundary line, or as you have suggested as well. CMD/Ctrl + H to show/hide toggle.

  • Vector layer effects not showing up in comp

    I'm working on my first After Effects project and would really appreciate any help.
    Everything was working fine and now none of the transformations or effects I add to the layers of newly added vector files want to work.
    They are visible when I open up the comp for the vector file, but they aren't rendering in the main comp.
    Any ideas on what could be wrong? I probably disabled something by accident
    Thanks!

    Nobody can tell you anything without proper system info or other technical details like what version of AE or for that matter what kind of "vector layers", comp details and so on. you are throwing around a lot of vague statements.
    Mylenium

  • Twisting a Layer, Vector Layer and/or Text Layer?

    Hello everyone,
    I'm stuck and could use a hand.
    Here at work, I have the entire CS5 Master Suite at my disposal.
    Although I'm familiar with the Adobe Suite, I'm having a hard time figuring out the best/most efficient way to do this effect:
    Now, my boss would like concept designs of our logo (let's say it reads "That One Guy") on our white mannequin,
    which we use to shoot articles of clothing.
    I would like to show her a design with many instances of the "That One Guy" logo twisted/wrapped (like as if I wrapped a string around my finger or curled a balloon string) atop the mannequin's head to create like an afro or long dreads look.
    The layer doesn't have to have any extrusion/3D.
    I mean... it CAN, but if it's just flat AND is twisting/wrapping... that's cool too.
    I would like to be able to twist the layer, and then bend it so it looks like it's actually hanging off the mannequins head.
    Here's an example. Not much bend on each of her strands, but you get the idea: http://www.probeauty-supply.com/images/Afro-Curl_1b-330076.jpg
    What program would allow me to accomplish this best?
    Photoshop? Illustrator?
    Any help would be highly appreciated and would serve me well in the future =)
    Thanks, everyone.
    _Chris

    You can do this type of manipulation in Illustrator. You have to do four things: 1) create your artwork, in this case your text "That One Guy" 2) Change your art work into a symbol 3)  Create a 3D shape, say a cylinder at some angle, onto which you will map your artwork (now a symbol)  and 4) hide the 3D shape.
    A couple of comments: If you are new to Illustrator you probably do not want to do this as your first project. While the steps are few you have to know your way around Illustrator to get it done in a reasonable time and have it look right. Even if you managed to do it I suspect that a small number of letters wrapped around something is going to be very difficult to read/recognize. You might try sketching your idea out on paper (TO SCALE) along with the mannequin to see if the notion still feels good to you and the boss before investing a lot of time at the computer.
    An alternative that you might consider that can be done in Photoshop is to create a series of curly paths ( like hair or rising smoke) and use the type on a path tool to make the text follow those paths.  Here also you probably would want to use say a continuously repeating version of your logo text instead of just the three words.  The work for this approach is significantly less and is easier than what you asked for and should be much more readable.
    Good luck,
    Paulo

  • Did photoshop elements 13 bring back the ability to open/edit vectors? (rasterize)

    I upgraded from PSE6 when I bought my new computer for one reason- to open and edit vectors for my graphic designers, since my magazine is largely illustrated using vectors (but the company is small, and totally iOS based so the full version of PS or Illustrator is not an option). Then I find out, after installing it, that it (11) doesn't have the capacity to do the ONE THING I need. I wish I had known ahead of time. So, did they bring it back with 13? I can't find it in any of the descriptions..
    Thanks!

    You are probably choosing the obvious file rather than the correct file as the PSE editor. The actual editor is hidden away inside the Support Files folder. The PSE file at the top level of the PSE folder in Applications is just an alias for the welcome screen and what you're describing is exactly what happens when you choose that. You want this one:

  • "Vector mapped" layer in an open PS file?

    A client has asked me to send a file with the type on a separate layer which he refers to as "vector mapped". I know that I can lay in an AI type layer and save the file as an open .PSD file, or lay it in as a vector smart object and send it as an open TIFF file (along with the original AI file), but the client is using CS2 and can't deal with VSOs. The way around it, of course, is via a layered AI file with a placed image, but what is he referring to with hte term "vector map"?

    Mike, thanks for taking a look. I still have a problem with it. "the unflattened AI or PS file with live type" doesn't work for me in PS, as a .PSD file. The type always winds up rasterized. Does the term "Live type" mean something in particular? I can't use a vector SO because the client is using CS2. In the end, what worked (I think) is a  2-layer AI file with a placed image. I sent him 9 different versions, 4 PS, saved as .PSD files, and 5 AI versions, a couple of which worked. None of the PS files worked. Unless the term "Live type" actually refers to some accessible tool in the apps, I see no way to save a PS file with a copied-and pasted type layer that will remain a vector layer after the file is saved. What am I missing?
    (Later) I figured out what I was missing. I was able to get Illustrator type into a .PSD file as a layer, leave it there, close the file with the layers unflattened, then reopen it and edit the still-vector type layer. It stayed in vector mode. I did it using two maneuvers no one on the forum has mentioned so far. 
    Thanks for the help, guys.

  • Please bring color back to vector shapes in Layer Palette with no-thumbnails.

    Please bring the color box back to vector shapes!
    I am one not to use images in my layer palette, and in CS5 this was a breeze, but now the icons are different, there is no white box on the icons anymore (which really helps when scanning, and differentiating from folders), and I can't preview the color of the vector shape that I created in Photoshop. Vector shapes are a big part of my work. Before it would show a box with the color, now it shows nothing. The linking vector box is not neccesarily important as long as when I click it, the points become live.
    Also the dividing lines for layers is not strong enough, doesn't have to be white, but at least gray. Black is definately not helping to divide the layers. And for nested layers, having the dividing line go half way to the edge really helps alot.
    I noticed that a lot is different about the "no-thumbnails" version of the layer palette, and some I can live with, some changes I cannot. But being able to preview the color of a vector shapes is important for me, and seeing the white box behind the icon really helps when scaning a lot of layers. I've attached a comparison, also I have attached an image of how my layer palette looks on a daily basis from CS5 and CS6, I also opened the folder, and matched the palettes so you can see what I mean. Those little things really make a difference when scanning up and down 50-100 layers.
    Even though setting the layer palette to no images may be a rarity among photoshop users, it's something that I value in photoshop, especially since my documents have hundreds of layers.

    I think it was a fair assessment given the circumastances of the answer you provided, Jeanne. Also, another thing is that posting under an "employee" account, you are speaking for the company. You are representing the company whether it is your intention or not. Even if you explictly state that what you say is your personal opinion, people might have mixed feelings about what you say and mistake it for a belief that the whole company shares. So be careful with that, just as a note for the future.
    But anyway, as for the issue at hand... That still doesn't give us anything other than "we won't do it." And again, I advise you to look through the post I referenced to. There are some very easy solutions there that help make the layers palette much easier to scan and work with. It's not too difficult to fix this and as already said above, you're already working on a fix for the thumbnails themselves anyway.
    The solution to this problem could be as easy as this (I can provide another graphic for the darker UI settings, if you want):
    What you do is:
    Display a bigger thumbnail of the layer icon (yes, that will use up more space in the no-thumbnail view, but that's not a huge problem compared to what you have now)
    Clearly display the content of the layer (in this case, both layers are gradients, but it could also just have a solid color fill)
    Lighten the color of unselected layer's names (to make the properties of the layer itself stand out better),
    Make the layer thumbnail itself (if it's a vector layer) toggle the path outline on and off and
    Bring back the separation line from CS5, which indicated the layer's position in the grouping hierarchy.
    If you do that, you've already solved quite a lot of the scannability and readability problems. In the future, you could improve the iconography to be better optimized for quick scanning, to make them stand out better (give them more depth) and so on, but for now, this should be enough to make things better for most people. And also, this will not take up too much development time. You've already got the logic of the separation lines from CS5, for example. Shouldn't be too much of a problem to implement in CS6. I'm not going to speak for the other things, because I don't know too much of the internal workings of the program, but it shouldn't be too much of an issue.
    Trust me, this change will make a world of difference. People will love this even if they don't understand that it's there or why they love it.
    Would you like me to provide detailed wireframes and documentation, so your designers don't have to worry their heads about this one? Just asking, because this is a change that should really be pushed through, no matter what.
    Cheers,
    Riho Kroll

  • Created Vector Smart Object layer from Ad Illust. to PS, can't see it, why?

    I am creating a postcard for mail out and I am new to the CS5 group of products.  I followed tutorial to drag an Adobe Illustrator file into Photoshop creating a vector smart object layer of my logo and saved it.  I closed the file and re-opened it thinking I would see my logo where I placed it but all I can see is the "X" box that allows you to adjust the size of the object.  Could anybody tell me the step to get the object to appear in my Photoshop file?  When I click on the vector layer it takes me back to AI so I believe they are connected the way they are supposed to be.  Thank  you in advance for the help.  If I am way off could you explain how?

    I want to thank you for your responses and help. 
    I inadvertently figured out what I was doing wrong while talking with a friend.  I didn't understand what layers really were and that they stacked on top of each other.  When I placed the vector smart object I left it's position under another layer which was blocking it or my logo so that even though the resize box was showing up the logo or vector smart image was under the other layer.  Once I clicked and dragged it's layer to the top of the layers the image was visable and the postcard done.  Yeah!
    Thanks again.

  • Write On ffx with continuous rasterize???

    Hey Smart Folks,
    So I have this project constructed entirely with .ai vector only files, and most of the layers have the Write On effect applied. When I turn on continuously rasterize it freaks out what is visible on the layer, and creates an almost scribble-y mask effect. Turn it off, back to normal, but of course the output looks too soft...
    Any suggestions? I could really use a hand!
    Thanks!!

    So you applied the Write-On effect to vector layers?  Is that correct? 
    Write-On is a BITMAPPED effect, even on a vector layer.  If you're scaling up the vector layers, things are going to look bad.
    I'd scale up the layers in Illustrator to make them a little bigger than what you need, and THEN use Write-On.

Maybe you are looking for