Question
CF8: CFIMAGE and CFFILE upload
I am uploading a decently large image (3-4mb) via CFFILE.
<cffile action="upload"
filefield="file"
destination="#ExpandPath('\')#gallery\images"
nameconflict="makeunique"/>
Using the CF Function ImageRead, I am reading that file back into memory to do a ImageScaleToFit to create a thumbnail.
The problem is, ImageRead is SO SLOW! Is there anyway to read the image directly from the fileField of the upload instead of writing it to disk and then re-reading it back into memory?
<cffile action="upload"
filefield="file"
destination="#ExpandPath('\')#gallery\images"
nameconflict="makeunique"/>
Using the CF Function ImageRead, I am reading that file back into memory to do a ImageScaleToFit to create a thumbnail.
The problem is, ImageRead is SO SLOW! Is there anyway to read the image directly from the fileField of the upload instead of writing it to disk and then re-reading it back into memory?