Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
It would be of some use a feature to define the color to be used for transparency in GIF images. The image system handles GIF images with transparent color already set, but currently does not have the possibility to change it or to set a transparent color for full opaque images.
There are image toolkit operations to provide that in the Textimage module, that could be moved here, and an ImageEffect on its own created to use them.
Proposed resolution
Provide patch and test coverage.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2667562-3.patch | 14.82 KB | mondrake |
Comments
Comment #2
mondrakeComment #3
mondrakeHere's the idea, with tests.
Comment #4
Dragan Eror CreditAttribution: Dragan Eror at Examiner.com commentedCode looks very clean and module works perfectly! Awesome job @mondrake, thank you very much!
Comment #6
slashrsm CreditAttribution: slashrsm at Examiner.com commentedCommitted. Thank you both!