[TYPO3] converting image to greyscale

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Tue Jan 30 08:07:54 CET 2007


Amiran Chyb wrote:
> Hi there
> 
> I have an impression that I've seen TS option to convert image to 
> greyscale - is it just my imagination?
> 
> I'd like to do it in tt_news teasers (teaser - b&w, full view - color). 
> I'm sure sombedy's done that or something similiar (i.e. custom img 
> processing) - could you point me the right direction to do that? (maybe 
> some existing ext, user function, abything)
> 


hello Amiran

maybe this could help you

plugin.tt_news{
displayList {
		image {
			stdWrap.cObject = IMAGE
			stdWrap.cObject {
				file = GIFBUILDER
				file {
					format = jpg
					quality = 85
					XY = [10.w],[10.h]

					/*here option for grey*/
					
					10 = IMAGE
					10 {
						file.import = uploads/pics/
						file.import.field = image
						file.import.listNum = 0
					}
				    }
				}
			}
		}
}


--
grtz
Krystian Szymukowicz


More information about the TYPO3-english mailing list