1
我需要使用CF函數imageNew()的替代方法。我開始使用ImageCFC。但是我找不到一種方法來讀取圖像並使用imageCFC創建圖像對象。它似乎只能從這裏找到的API文檔寫入文件(http://www.opensourcecf.com/imagecfc/docs/imageCFC.cfm)。使用imageCFC我如何創建一個圖像對象?
我的問題是使用imageCFC如何創建一個圖像對象而不寫入文件?
imageCFC = createObject("component","imagecfc.image");
local.img1 = imageCFC.readImage("D:\#arguments.directory#\#arguments.imageName#");
// turn this into an image object here
酷酷的好主意,謝謝。 – Prometheus 2012-04-25 14:17:28