Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Project images are converted to jpegs, don't allow transparent backgrounds #335
This is happening because the :format is hardcoded in the BASE_STYLES constant in the attachments.rb concern. We could change all the small versions to png, I think — or we could explore whether it's possible to have the format simply be jpg if the input is jpg, png if the input is png, etc.
We always override the styles in this line: