What's the value of 'theRatio' ? -- http://alan.blog-city.com/
-----Original Message----- From: Stan Winchester <[email protected]> Sender: [email protected] Date: Sat, 4 Dec 2010 17:09:28 To: <[email protected]> Reply-To: [email protected] Subject: Re: [OpenBD] ImageCopy() errors Alan, Thanks, I got 1.5 running, and the name parameter now works for ImageCopy(). I am having trouble getting the image to resize. Below is the code used, and attached is a dump of the results. According to the dump I would think the image should now be 600X360, but it is still 1660X1052. What am I doing wrong? imageParams.name = thisImage; imageParams.x = 0; imageParams.y = 0; imageParams.width = val(maxSize); imageParams.height = (val(maxSize) * theRatio); newImage = ImageCopy(ArgumentCollection=imageParams); Thanks, Stan On Sat, Dec 4, 2010 at 2:17 AM, Alan Williamson (aw2.0 cloud experts) <[email protected]> wrote: > Stan, can you move to the 1.5 nightly download please? > > The core-functions support "ArgumentCollection" from 1.5 onwards, and we are > in the process of moving the remaining ones over. Also 1.5 has got the > full range of ImageXX() functions available: > > http://www.openbluedragon.org/manual/?/function/category/image > > I have changed though, the name of the image parameter, to 'name' to match > other alternative CF engines. > > http://www.openbluedragon.org/manual/?/function/imagecopy > > > hope this helps > > a > -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
