Search found 3 matches

by KOLjkA
Thu May 31, 2018 10:36 am
Forum: Photoshop Scripting - General Discussion
Topic: Predicted file size
Replies: 4
Views: 9724

Re: Predicted file size

My script for re-save files #target photoshop app.bringToFront(); var originalRulerUnits = app.preferences.rulerUnits; app.preferences.rulerUnits = Units.PIXELS; var inFolder = Folder.selectDialog(); var ListFileInFolder = inFolder.getFiles("*.jpg"); // list of files as object // order of ...
by KOLjkA
Thu May 10, 2018 7:50 am
Forum: Photoshop Scripting - General Discussion
Topic: Predicted file size
Replies: 4
Views: 9724

Re: Predicted file size

txuku wrote:Bonjour
I use this script:
Hi
This script is the same as my. We created file, write and then check file size. If size is bigger we change jpg quality.

In the Save As menu Photoshop can calculate file size without saving. Can we get this size before saving?
by KOLjkA
Mon May 07, 2018 8:18 pm
Forum: Photoshop Scripting - General Discussion
Topic: Predicted file size
Replies: 4
Views: 9724

Predicted file size

Hi there. How can I get predicted file size using Save As menu? I want to get it using script without saving jpg. I wrote script for iteration of jpg quality from 12 to .... required size, and now want to optimaze it. Can somebody help me? http://i.piccy.info/i9/e1d6ce50867dafe671f36afa865a9dc9/1525...