Forum Replies Created

  • Unless I am very wrong the Hue/Saturation layer does not do what I want.

    I want to be able to specify separate Hue, Saturation and Luminance ranges that isolate the part of the image that any arbitrary adjustment will applied to. The place I would look for this is in the mask panel of a layer, where right now I can refine the mask using color range, edge finding and edge blur, you know?

    The Hue/Saturation layer allows only to specify one of the ranges I want and can only directly apply its own corrections. I need something more flexible…
    “Select color range” is much closer to what I need, but with the eyedropper tool I can only sample Hue, Saturation and Luminance at the same time with no option to separately modify the ranges by hand (or at all, once you accepted the selection)

    Adobe Creative Cloud
    Working on a regular basis with Premiere Pro, After Effects and Photoshop.

  • Hi, as Dan said you cannot use sampleImage directly in a script. I ended up using a construct like the one below…
    Note that I am only sampling one channel (the alpha channel in this case). There is a color effect control which can store all the channels at once…

    var mySlider = selectedLayer.Effects.addProperty("Slider Control");
    var h_x = 10;
    var h_y = 10;
    //...
    for (j = 0; j < selectedLayer.height + h_y; j += h_y){
    for (i = 0; i < selectedLayer.width + h_x; i += h_x){
    var expr = "Math.round(255 * sampleImage([" + i + "," + j + "], [" + sampleRadius + "," + sampleRadius + "])[3])";
    mySlider.property(1).expressionEnabled = true;
    mySlider.property(1).expression = expr;
    var res = mySlider(1).value;
    //do stuff
    }
    }

    Adobe Master Collection CS6 on Windows 7 at work and CS 5.5 on OS X at home.
    Working on a regular basis with Premiere Pro, After Effects, Audition and Photoshop.

  • Hi Sam,

    generally if you only need ten seconds of animation what I would do is render those with After Effects, and then composit that clip with the jpg Image in a Premiere Pro sequence. I’m not sure how effective After Effects handles still images…

    But to answer your question with another question (and an important one!): What Bitrate settings did you use? I suspect they were way too high – that would explain the file size! 😉

    Nils

    Adobe Master Collection CS6 on Windows 7 at work and CS 5.5 on OS X at home.
    Working on a regular basis with Premiere Pro, After Effects, Audition and Photoshop.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy