joonaspaakko / Batch-Mockup-Smart-Object-Replacement-photoshop-script

Batch Mockup Smart Object Replacement - Photoshop script - A script that can batch process multiple mockup files and is able to replace multiple smart objects per mockup.
91 stars 23 forks source link

Allow jpeg quality to be configurable #33

Closed nfourteen closed 4 months ago

nfourteen commented 4 months ago

This opens up the quality parameter to config files for JPEG formats to help with file size. To use, add a jpgQuality property to the output config. If it's not set, it will default to the highest quality 12.

output: {
  path: '$/_output',
  format: 'jpg',
  jpgQuality: 8, // number between 1 and 12, optional
  zeroPadding: true
  folders: false,
  filename: '@mockup - $',
}