Highlighted

solid colour layer

New Here ,
Nov 13, 2020

Copy link to clipboard

Copied

ive been trying to do the solid colour layer in my photoshop for a college project. but it just flickers on the image and nothing happens. ive unistalled and reinstalled it again but the same thing happens, any ideas how to fix this problem

 

TOPICS
How to, Problem or error, Windows

Views

31

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

solid colour layer

New Here ,
Nov 13, 2020

Copy link to clipboard

Copied

ive been trying to do the solid colour layer in my photoshop for a college project. but it just flickers on the image and nothing happens. ive unistalled and reinstalled it again but the same thing happens, any ideas how to fix this problem

 

TOPICS
How to, Problem or error, Windows

Views

32

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 13, 2020 0
LEGEND ,
Nov 13, 2020

Copy link to clipboard

Copied

Could you please post screenshots with the pertinent Panels (Toolbar, Layers, Channels, Options Bar, …) visible? 

Does turning off »Use Graphics Processor« in the Performance Preferences (Photoshop > Preferences > Performance > Graphic Processor Settings) and restarting Photoshop have any bearing on the issue? 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 13, 2020 0
Adobe Community Professional ,
Nov 13, 2020

Copy link to clipboard

Copied

It's a bug that is being experienced by some with Win 10 and Photoshop 2021:

 

 
 
I scripted a solution until Adobe fixes this issue:
 
// Add Solid Fill Layer via Color Picker GUI.jsx

#target photoshop

if (app.documents.length > 0) {

    getColorpickerColor();

    /* https://community.adobe.com/t5/photoshop/get-photoshop-foreground-color-as-rgb-value/td-p/9402156 */
    var fColor = app.foregroundColor;
    var R = fColor.rgb.red.toFixed(2);
    var G = fColor.rgb.green.toFixed(2);
    var B = fColor.rgb.blue.toFixed(2);

    /* Clean SL Code for SOLIDFILL layer */
    makeFill(R, G, B);
    function makeFill(red, Grn, blue) {
        var c2t = function (s) {
            return app.charIDToTypeID(s);
        };

        var s2t = function (s) {
            return app.stringIDToTypeID(s);
        };

        var descriptor = new ActionDescriptor();
        var descriptor2 = new ActionDescriptor();
        var descriptor3 = new ActionDescriptor();
        var descriptor4 = new ActionDescriptor();
        var reference = new ActionReference();

        reference.putClass(s2t("contentLayer"));
        descriptor.putReference(c2t("null"), reference);
        descriptor4.putDouble(s2t("red"), red);
        descriptor4.putDouble(c2t("Grn "), Grn);
        descriptor4.putDouble(s2t("blue"), blue);
        descriptor3.putObject(s2t("color"), s2t("RGBColor"), descriptor4);
        descriptor2.putObject(s2t("type"), s2t("solidColorLayer"), descriptor3);
        descriptor.putObject(s2t("using"), s2t("contentLayer"), descriptor2);
        executeAction(s2t("make"), descriptor, DialogModes.NO);
    }

    /* https://graphicdesign.stackexchange.com/questions/125917/how-can-i-get-an-rgb-color-using-photoshops-color-picker-instead-of-systemss */
    function getColorpickerColor() {
        if (app.showColorPicker()) {
            return app.foregroundColor;
        }
        else {
            return false;
        }
    }

} else {
    alert('You must have a document open!');
}

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 13, 2020 1