<commit_before># PhotoshopScripts

Doing mundane tasks in Photoshop can be cumbersome. I have added Helper Scripts for Photoshop CS6 and newer versions.

## PowerPngCssExport.jsx

**Install Directions:**
1.Download Script
2.Place in your Scripts folder where you have your Photoshop installed. For example: on the Mac it's at /Applications/Adobe Photoshop CS6/Presets/Scripts
3.Make sure you restart Photoshop after copying the script

**What PowerPngCssExport Does:**
1. Merges all visible layers
2. Allows user to select output transparent PNG file name
3. Visible layers are merged and exported as transparent PNG
4. Generates CSS markup for selection/layer(s) and displays in dialog box
5. CSS markup is also copied to the clipboard for easy pasting into your CSS file
6. All actions in Photoshop history are erased (no need to worry about stepping back to clean up).

**To Use:**
1. Open your PSD file
2. Only show layers you want merged & exported
3. Optional: use selection tool to crop or expand selection area
4. Select the Photoshop file menu: File->Scripts->Power PNG Export<commit_msg>Added newline breaks.<commit_after># PhotoshopScripts

Doing mundane tasks in Photoshop can be cumbersome. I have added Helper Scripts for Photoshop CS6 and newer versions.

## PowerPngCssExport.jsx

**Install Directions:**
1. Download Script<br>
2. Place in your Scripts folder where you have your Photoshop installed. For example: on the Mac it's at /Applications/Adobe Photoshop CS6/Presets/Scripts<br>
3. Make sure you restart Photoshop after copying the script<br/>

**What PowerPngCssExport Does:**
1. Merges all visible layers
2. Allows user to select output transparent PNG file name
3. Visible layers are merged and exported as transparent PNG
4. Generates CSS markup for selection/layer(s) and displays in dialog box
5. CSS markup is also copied to the clipboard for easy pasting into your CSS file
6. All actions in Photoshop history are erased (no need to worry about stepping back to clean up).

**To Use:**
1. Open your PSD file
2. Only show layers you want merged & exported
3. Optional: use selection tool to crop or expand selection area
4. Select the Photoshop file menu: File->Scripts->Power PNG Export
{'fraction_non_alphanumeric': 0.05500450856627592, 'fraction_numerical': 0.013525698827772768, 'mean_word_length': 4.575376884422111, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3413202', 'n_tokens_mistral': 631, 'n_tokens_neox': 566, 'n_words': 332}