Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

[UXP Script] How to get Image Size Presets?

Community Beginner ,
Sep 10, 2024 Sep 10, 2024

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?

AndreNguyen_0-1725953618315.png

 


Please help!

TOPICS
Actions and scripting
155
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Aug 14, 2025 Aug 14, 2025

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 15, 2025 Aug 15, 2025

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

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2025 Aug 15, 2025
LATEST

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). 

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