Hi,
 I have only done # 1 & 4 on your list, but here is what i have been using

 <cfset myImage = CreateObject("Component","Image")>
                 <!---open the image to resize --->
                <cfset 
myImage.readImage("D:\Inetpub\terminalfusion\olympus24\testImages\#cffile.serverFile#")
>
                 <!---resize the image to a specific width and height --->
                
                <cfif myImage.getWidth() gt myImage.getHeight()>
                        <cfset myImage.scalePixels(189, 143) >
                <cfelse>
                        <cfset myImage.scalePixels(143, 189) >
                </cfif>
                <!--- output the image in JPG format --->
                <cfset 
myImage.writeImage("D:\Inetpub\terminalfusion\olympus24\testImages\#cffile.serverFile#",
"jpg") >

On 6/26/06, Ken <[EMAIL PROTECTED]> wrote:
> Hi. I am having a hard time using the Alagad Image component to achieve this:
>
> After uploading the image, I want to:
>
> 1. Resize image if width or height is GT 700, then I run ScaletoFit Method.
>
> 2. Paste this image onto a background image.
>
> 3. Paste a logo watermark
>
> 4. Write image to disk.
>
> I can see in my debug info that it is running those methods. But when
> I write to disk, none of the above things show up.
>
> Does anybody have any code to share. Maybe I can get some hints as to
> what I am missing here.
>
> Thanks.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244835
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to