ExportOptionsJPEG both resolution and quality
We can export a JPEG using ExportOptionsJPEG() — but it allows to set only quality, not a resolution.
We can use ImageCaptureOptions() instead to set a resolution — but it won’t allow to set a quality, because seems to be designed for PNG (and substituting a format to JPG gives questionable results).
We need to be able to export JPEG images, controlling both quality and resolution, without using app.doScript() trick — it fails on Cyrillic folder names.
16
votes
![](https://assets.uvcdn.com/pkg/admin/icons/user_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Eric Bryant commented
This would be a great addition to scripting.
-
[Deleted User] commented
Options for exporting a document as a JPEG file, used with the exportFile method. There is no "resolution" property. And "ICC profile" too.