[TYPO3] rounded.corners

Steven Hewett shewett at sitescience.co.uk
Mon Mar 10 13:36:56 CET 2008


ImageMagick commands have changed slightly between versions. I am have used
IM-6.2.4 with rounded_corners. I first got similar commands working from the
command line and then ended up editing class.ux_tslib_content.php in the
extension. The 'compose over' part seemed to be important but this may well
be different for IMv4.
Steve Hewett
			//perform transformation
			if (file_exists($cornerNE)) {
				$cmd =
t3lib_div::imageMagickCommand('composite', '-compose over -gravity NorthEast
'.$cornerNE .' '.$info[3].' '.$newfile);
				exec($cmd);
			}
			if (file_exists($cornerNW)) {
				$cmd =
t3lib_div::imageMagickCommand('composite', '-compose over -gravity NorthWest
'.$cornerNW .' '.$newfile .' '.$newfile);
				exec($cmd);
			}
			if (file_exists($cornerSE)) {
				$cmd =
t3lib_div::imageMagickCommand('composite', '-compose over -gravity SouthEast
'.$cornerSE .' '.$newfile .' '.$newfile);
				exec($cmd);
			}
			if (file_exists($cornerSW)) {
				$cmd =
t3lib_div::imageMagickCommand('composite', '-compose over -gravity SouthWest
'.$cornerSW .' '.$newfile .' '.$newfile);
				exec($cmd);
			}
-----Original Message-----
From: Othmar Voser [mailto:info at om-v.com] 
Sent: 09 March 2008 15:40
To: typo3-english at lists.netfielders.de
Subject: [TYPO3] rounded.corners

Hi, I am trying to use the extension rounded.corners. Unfortunately it 
does not work. The original picture will be replaced by a white square. 
The name will be changed to the original filename with the extension 
"-rounded". I was trying to change in the install-section the word 
"combine" with "composite", but without success. I am working with Typo 
4.1.5 and IM 4.2.9. Any suggestions? Thanks a lot.




More information about the TYPO3-english mailing list