Dynamically filter images in Drupal 7
问题 I am trying to build a custom module in Drupal 7 that allows a user to upload an image and apply a filter. In particular, I am trying to adjust the contrast. The user can adjust the contrast via an HTML slidecontainer which will adjust the CSS contrast on the image. On submit the contrast value will be sent to the server, and applied to the image via the imagefilter() function in the GD library. My problem is that I cannot replicate the resulting CSS filter with the imagefilter() method in