Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Image pre- or post-processing #4724

Open
grinapo opened this issue Feb 23, 2019 · 1 comment
Open

Image pre- or post-processing #4724

grinapo opened this issue Feb 23, 2019 · 1 comment
Labels
A-Media-Repository Uploading, downloading images and video, thumbnailing O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@grinapo
Copy link

grinapo commented Feb 23, 2019

Description:
Did a brief test on the images hosted o nmy homeserver.

  • Using jpegoptim on jpegs generally saved 40-60% of the original size.
  • Converting images to better formats (my test was about WebP but it's just one) resulted 10-20% of the original size (and actually reducing the quality resulted more than 90% savings).
    Images are large, and it's getting bigger every minute. Optimising, mostly without quality loss would be a great saver.
@neilisfragile neilisfragile added z-p2 (Deprecated Label) enhancement labels Feb 26, 2019
@deltabeard
Copy link

I would also like a post-processing capability added to Synapse. Even something as simple as calling a script or application with the file path of the image uploaded to the server given as a parameter would be good.

I'm having a problem where screenshots are being uploaded in lossless PNG format which are very large in size when said images contain many colours (eg. screenshots of gameplay). By adding post-processing, it would allow me to compress these images appropriately.

@DMRobertson DMRobertson added S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. O-Occasional Affects or can be seen by some users regularly or most users rarely A-Media-Repository Uploading, downloading images and video, thumbnailing and removed z-enhancement z-p2 (Deprecated Label) labels Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Media-Repository Uploading, downloading images and video, thumbnailing O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

4 participants