5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 902 Views |
-
Image decorator for grayscaling. Please check.

3 March 2011 at 11:19pm
Hello there, I need an image class decorator to show grayscaled images in my template.
Here the code: http://pastie.org/1625698
It looks ok for me, but don't work and returns nothing in template.
Please check if everything fine there in code.
Thanks. -
Re: Image decorator for grayscaling. Please check.

31 March 2011 at 12:16am
Hi Dab,
here is a tutorial on creating greyscale images (as well as rotating them):
http://www.ssbits.com/tutorials/2010/rotating-and-greyscaling-images-using-gd-and-decorators/
Hope that helps,
Aram
-
Re: Image decorator for grayscaling. Please check.

19 November 2012 at 5:46pm Last edited: 19 November 2012 5:47pm
hi @dab
I've created an image utility module that includes greyscaling functionality, as well as a few other useful image related methods. I plan to add to it as and when a new requirements come up.
For more information have a look at Web of Talent - Image Utilities Module or on my github page, Gordon Anderson - GitHub - Image Utilities Module
Cheers
Gordon
| 902 Views | ||
|
Page:
1
|
Go to Top |


