scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Add GitHub action to compress images

Open plata opened this issue 4 years ago • 2 comments

Ensure that app miniatures are small to improve repo sync times.

plata avatar Mar 29 '21 10:03 plata

Will this compress images only once or will this repeat with every push? Should we compress all images or only ones that do not fulfill certain criteria? For example a certain file size threshold

madoar avatar Apr 05 '21 20:04 madoar

Reading https://github.com/marketplace/actions/image-actions#compress-on-demand-or-on-schedule, my understanding is that it should not touch files which are already compressed enough. Not completely sure though. Maybe we also need compressOnly: true.

I don't see a problem compressing all.

plata avatar Apr 07 '21 14:04 plata