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

Save for web save/change default percentage of output image size.

Explorer ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

Is it possible to edit the default settings in 'save for web' or use a script to always open the dialog with a specific percentage?

 

Thank you in advance.

TOPICS
Actions and scripting

Views

1.4K

Translate

Translate

Report

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
Advocate ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

What do you mean by specific percentage
be clearer about what you want
so we can help you better

Votes

Translate

Translate

Report

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
Explorer ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

It defaults to 100%, so you have to change it to whatever else every single time

Votes

Translate

Translate

Report

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
Advocate ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

Once you have opened the save for web window put the settings you want and then save them as shown in the figure

 

Schermata 2019-10-11 alle 16.24.24.png

Votes

Translate

Translate

Report

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
Explorer ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

I did that, but it only saves the image format, like PNG, dithering, transparency, etc..

Votes

Translate

Translate

Report

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
Advocate ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

See if this is good for you

var exportOptionsSaveForWeb = new ExportOptionsSaveForWeb();
exportOptionsSaveForWeb.format = SaveDocumentType.JPEG;
exportOptionsSaveForWeb.includeProfile = false;
exportOptionsSaveForWeb.interlaced = false;
exportOptionsSaveForWeb.optimized = true;
exportOptionsSaveForWeb.quality = 60;

 

var target = new File('~/Desktop/Save WEB.jpg');
var doc = app.activeDocument;
doc.exportDocument(target, ExportType.SAVEFORWEB, exportOptionsSaveForWeb);

Votes

Translate

Translate

Report

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
Explorer ,
Oct 11, 2019 Oct 11, 2019

Copy link to clipboard

Copied

Hey, thanks. That script looks like it completes the process all the way through saving the file though. Please correct me if I'm wrong.

 

I need the dialog to have a default percentage of 200% or 300% so I can just press Preview... to test my animations. I ended up creating an AppleScript that does that with a press of a button on my wacom.

 

I appreciate your help. Thank you.

Votes

Translate

Translate

Report

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 ,
Oct 13, 2019 Oct 13, 2019

Copy link to clipboard

Copied

The question is ambiguous... I have read this exchange a couple of times, however, I am still not sure which of the following two % options is the topic of discussion (A or B):

whichone.png

 

Votes

Translate

Translate

Report

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
New Here ,
Jun 27, 2021 Jun 27, 2021

Copy link to clipboard

Copied

LATEST

For me, I'd love the A% to default to 'fit in view'. It used to be that, but somehow I managed to change it to 100%...
If anyone can suggest how to revert it back to 'fit in view' as default I'd be really grateful.
Many thanks

 

Votes

Translate

Translate

Report

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