是否可以將PHP圖像大小調整代碼添加到我的Coldfusion頁面?當通過php而不是coldfusion重新調整大小時,圖像看起來更加清晰(即使我使用coldfusion的imageResize「highestquality」選項)。PHP/Coldfusion圖像調整大小
<cfftp action="PUTFILE"
server="#ATTRIBUTES.FtpServer#"
username="#ATTRIBUTES.FtpUsername#"
password="#ATTRIBUTES.FtpPassword#"
stoponerror="No"
localfile="#ATTRIBUTES.LOCALIMAGEFILE#"
remotefile="#Filename_Temp#"
transfermode="BINARY"
connection="DOCMGR"
retrycount="1"
timeout="60"
passive="Yes">
<!-- Add php resize image code here -->
[這是否幫助?(http://stackoverflow.com/questions/3085765/how-to-call-a-php-function-within-script-tag-from-coldfusion-9)**注* *我沒有閱讀整個內容,但標題和問題與您的看起來很相似 – Matt 2012-08-06 14:50:09
如果您使用ImageMagick和cfexecute:http://www.imagemagick.org/script/index.php,會更容易。 – Henry 2012-08-07 23:24:12
imageMagick> Java的JAI庫 – 2012-08-09 14:12:05