You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caring about file size on internet pages it might be a good idea to compress images lossless when uploading them to Wikimedia Commons. As described on this Google site: https://web.dev/use-imagemin-to-compress-images it is fine to compress images losslessly.
Current State
Images are not uploaded compressed.
Expected State
Images should be uploaded compressed. This can be achieved with imagemin (https://github.com/imagemin/) for example. I do not know if there is a Python solution/wrapper which could be applied here.
The process would be:
Selection of files
Retrieve files from Google Drive
Compressing of images
Upload to Wikimedia Commons
The text was updated successfully, but these errors were encountered:
@tonythomas01 I was planning to use picopt package. It is similar to imagemin. Or else, I can use Pillow to reduce the quality of the image. Which approach should I take?
Description
Caring about file size on internet pages it might be a good idea to compress images lossless when uploading them to Wikimedia Commons. As described on this Google site: https://web.dev/use-imagemin-to-compress-images it is fine to compress images losslessly.
Current State
Images are not uploaded compressed.
Expected State
Images should be uploaded compressed. This can be achieved with
imagemin
(https://github.com/imagemin/) for example. I do not know if there is a Python solution/wrapper which could be applied here.The process would be:
The text was updated successfully, but these errors were encountered: