#8343 Improve image thumbnail compression

unreleased
closed
None
General
nobody
2019-12-16
2019-12-12
No

Discussion

  • Dave Brondsema

    Dave Brondsema - 2019-12-12
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2019-12-12

    allura:db/8343

    For PNGs, this just does a stronger gzip under the hood. Real good png compression uses different color palettes, and would be harder to do in PIL and can be more subjective due to lossiness https://stackoverflow.com/a/52391845

    Allura saves thumbnails in the db, so this will apply only to new attachments, or icons w/ sizes never requested before. Could clear those records so they get recreated, but the savings are only a few percent so I don't think its worth it in most cases.

     
  • Kenton Taylor

    Kenton Taylor - 2019-12-16
    • status: review --> closed
     

Log in to post a comment.