Skip to main content
Andre Nguyen
Inspiring
September 10, 2024
Question

[UXP Script] How to get Image Size Presets?

  • September 10, 2024
  • 3 replies
  • 219 views

In Photosho’s Image Size function, there is a selection of presets provided by Photoshop, and the user is able to save their own presets. 
How to fetch the user created presets and the Adobe provided ones?

 


Please help!

3 replies

c.pfaffenbichler
Community Expert
Community Expert
August 15, 2025

Not up on UXP Scripting myself, but I suppose one could read the files (on Mac) 

~/Library/Preferences/Adobe Photoshop 2025 Settings/New Doc Sizes.json

(for custom sizes saved up the the last time Photoshop was opened) and 

/Applications/Adobe Photoshop 2025/Adobe Photoshop 2025.app/Contents/Required/Default New Doc Sizes.json

(for the default sizes). 

Inspiring
August 15, 2025

I honestly don't know if it's possible. Anyway, try the appropriate UXP forum.

https://forums.creativeclouddeveloper.com/c/photoshop/63 

Bojan Živković11378569
Community Expert
Community Expert
August 15, 2025

What is your goal? To use presets in scripting? Perhaps @c.pfaffenbichler  @Stephen Marsh  can help you.