Photoshop Scripts

Automate your creative workflow

PNG Assign sRGB

Due to a bug in Photoshop, some PNG files are not saved with the assigned color profile (i.e., when the assigned profile is the same as the current working space). This event-based script assigns the sRGB profile to PNG files upon open (if they don't have an embedded profile).

Download

To download this script, right-click (Ctrl-click on the Mac) on the appropriate version below, and choose "Save Target As".

PNG Assign sRGB
Version: 0.1.0 (May 6, 2024)
Download for: Photoshop Script Photoshop CS6+

Installation

  1. Download the script, and copy it into your "Adobe Photoshop ####/Presets/Scripts/Event Scripts Only" folder
  2. Choose File » Scripts » Scripts Event Manager
  3. Select the Open Document event from the Photoshop Event drop-down
  4. Select PNG Assign sRGB.jsx from the Script drop-down
  5. Press the Add button
  6. Press the Done button

For more information, see the Event-Based Scripts section of the Scripting Photoshop, Part 1 tutorial.

Share this page:

Custom Scripts

Do you need a script to automate your repetitive workflow?
Contact us with the details, and we’ll provide you with a free estimate.

Request Custom Script