Distributing Photoshop "New Document" presets in JSON

Sharing a quick “AHA!” moment. I was looking for a way to standardize “New Document” settings for all our photoshop users ( color depth, color space, etc ). Came across these files:
“New Doc Sizes.json” and “MRU New Doc Sizes.json” in C:\Users<user>\AppData\Roaming\Adobe\Adobe Photoshop CC \Adobe Photoshop CC Settings\

{
    "presets": [
        {
            "name": "SoAndSo Studios - Marketing: Email Header",
            "group": "user",
            "width": 760.0,
            "height": 343.0,
            "units": "pixelsUnit",
            "profile": "Adobe RGB (1998)",
            "resolution": 72.0,
            "resolutionUnits": "inchesUnit",
            "depth": 16,
            "scale": 1.0,
            "mode": "RGB",
            "fill": "transparent",
            "guides": [],
            "artboards": [],
            "lastUsedTime": 1556894251453
        },
        {
            "name": "HDTV 1080p",
            "group": "video",
            "width": 1920.0,
            "height": 1080.0,
            "units": "pixelsUnit",
            "profile": "none",
            "resolution": "screen",
            "depth": 8,
            "scale": 1.0,
            "mode": "RGB",
            "fill": "white",
            "guides": [
                {
                    "direction": "h",
                    "coordinate": 5.0
                },
                {
                    "direction": "h",
                    "coordinate": 10.0
                },
                {
                    "direction": "h",
                    "coordinate": 90.0
                },
                {
                    "direction": "h",
                    "coordinate": 95.0
                },
                {
                    "direction": "v",
                    "coordinate": 5.0
                },
                {
                    "direction": "v",
                    "coordinate": 10.0
                },
                {
                    "direction": "v",
                    "coordinate": 90.0
                },
                {
                    "direction": "v",
                    "coordinate": 95.0
                }
            ],
            "artboards": [],
            "lastUsedTime": 1555088026088
        },
        {
            "name": "iPhone X",
            "group": "mobile",
            "width": 1125.0,
            "height": 2436.0,
            "units": "pixelsUnit",
            "profile": "none",
            "resolution": 72.0,
            "resolutionUnits": "inchesUnit",
            "depth": 8,
            "scale": 1.0,
            "mode": "RGB",
            "fill": "white",
            "guides": [],
            "artboards": [
                {
                    "top": 0,
                    "left": 0,
                    "bottom": 2436,
                    "right": 1125
                }
            ],
            "lastUsedTime": 1551198002169
        },
        {
            "name": "Default Photoshop Size",
            "group": "default",
            "width": 7.0,
            "height": 5.0,
            "units": "inchesUnit",
            "profile": "default",
            "resolution": 300.0,
            "resolutionUnits": "inchesUnit",
            "depth": 8,
            "scale": 1.0,
            "mode": "RGB",
            "fill": "white",
            "guides": [],
            "artboards": [],
            "lastUsedTime": 1549985447307
        }
    ]
}

Things learned (so far):

If you save a custom New Document preset, it shows up in there. You can add manually or save/edit the JSON after the fact…

It’s loaded into memory on startup and saved on shutdown, so manual edits must be made when Photoshop is closed or they get clobbered.

You can specify guides by percentage of width and height.

You can change the “Default Photoshop Size” node and it will override the default default… yo dawg.

This is in the user’s app data and not the program’s installation directory so no special permissions requirements for read/write. Copy over the file or parse/edit directly from a .jsx script if you wanted.

5 Likes

Nice find! I never really thought about having default presets for PS stuff but I can see how it would be helpful to get new people on the same page (without having to have them make each preset etc.)

1 Like