Re: Image manipulation code: unit testing approach

2010-08-19 Thread Dominic Watson

Perfect, thanks guys :)

Dominic

On 18 August 2010 21:18, Alan Rother  wrote:
>
> You should have a set of baseline images that you know the source of. Things
> you made in Photoshop using your digital camera, that you can validate the
> color space and dimensions of.
>
> I would also collect random images from around the web from various sources
> such as a Google Image search, Flickr, Picasa and such. This will give you
> the random element that tends to come in from user generated content...
>
> The more random the better, in fact using a random URL generator and
> grabbing the first image would be a good idea.
>
> Here are some common things I've seen that CAN break image processing:
>
>   - Wrong color space: ie CMYK
>   - Bad formatting in the image exif data
>   - embedded color profiles
>
>
> =]
>
> On Wed, Aug 18, 2010 at 12:46 PM, Pete Freitag  wrote:
>
>>
>> Hi Dominic,
>>
>> I think when it comes to image files you will want to have some local
>> test files, because you can potentially run into issues with the way
>> different image editors save files. If you generate all your test
>> image files through your test code, then your test environment may not
>> represent real world scenario (unless you generate all the images used
>> in your system).
>>
>> --
>> Pete Freitag
>> http://foundeo.com/ - ColdFusion Consulting & Products
>> http://petefreitag.com/ - My Blog
>> http://hackmycf.com - Is your ColdFusion Server Secure?
>>
>>
>>
>> On Wed, Aug 18, 2010 at 12:00 PM, Dominic Watson
>>  wrote:
>> >
>> > I'm writing a small utility to perform some image resizing with
>> > options such as 'limitFileSize', 'maintainAspectRatio', etc. and I'd
>> > like to write unit tests for this (something I'm new to). How would
>> > any of you l33t unit testers go about this? i.e. How would you source
>> > the images for the unit test? Have demo files local to the test
>> > scripts? Create the test images using cfimage within the test script?
>> > Any other ideas?
>> >
>> > TIA
>> >
>> > Dominic
>> >
>> >
>>
>>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336387
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Image manipulation code: unit testing approach

2010-08-18 Thread Alan Rother

You should have a set of baseline images that you know the source of. Things
you made in Photoshop using your digital camera, that you can validate the
color space and dimensions of.

I would also collect random images from around the web from various sources
such as a Google Image search, Flickr, Picasa and such. This will give you
the random element that tends to come in from user generated content...

The more random the better, in fact using a random URL generator and
grabbing the first image would be a good idea.

Here are some common things I've seen that CAN break image processing:

   - Wrong color space: ie CMYK
   - Bad formatting in the image exif data
   - embedded color profiles


=]

On Wed, Aug 18, 2010 at 12:46 PM, Pete Freitag  wrote:

>
> Hi Dominic,
>
> I think when it comes to image files you will want to have some local
> test files, because you can potentially run into issues with the way
> different image editors save files. If you generate all your test
> image files through your test code, then your test environment may not
> represent real world scenario (unless you generate all the images used
> in your system).
>
> --
> Pete Freitag
> http://foundeo.com/ - ColdFusion Consulting & Products
> http://petefreitag.com/ - My Blog
> http://hackmycf.com - Is your ColdFusion Server Secure?
>
>
>
> On Wed, Aug 18, 2010 at 12:00 PM, Dominic Watson
>  wrote:
> >
> > I'm writing a small utility to perform some image resizing with
> > options such as 'limitFileSize', 'maintainAspectRatio', etc. and I'd
> > like to write unit tests for this (something I'm new to). How would
> > any of you l33t unit testers go about this? i.e. How would you source
> > the images for the unit test? Have demo files local to the test
> > scripts? Create the test images using cfimage within the test script?
> > Any other ideas?
> >
> > TIA
> >
> > Dominic
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336361
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Image manipulation code: unit testing approach

2010-08-18 Thread Pete Freitag

Hi Dominic,

I think when it comes to image files you will want to have some local
test files, because you can potentially run into issues with the way
different image editors save files. If you generate all your test
image files through your test code, then your test environment may not
represent real world scenario (unless you generate all the images used
in your system).

--
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?



On Wed, Aug 18, 2010 at 12:00 PM, Dominic Watson
 wrote:
>
> I'm writing a small utility to perform some image resizing with
> options such as 'limitFileSize', 'maintainAspectRatio', etc. and I'd
> like to write unit tests for this (something I'm new to). How would
> any of you l33t unit testers go about this? i.e. How would you source
> the images for the unit test? Have demo files local to the test
> scripts? Create the test images using cfimage within the test script?
> Any other ideas?
>
> TIA
>
> Dominic
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336360
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Image Manipulation Problems with CF8/Win7

2009-05-26 Thread Ryan Letulle

cool, i also have a win 2003 vps but cf7 & also a centos railo setup.
--
Ryan



On Tue, May 26, 2009 at 8:45 PM, Rick Faircloth wrote:

>
> Hi, Ryan...
>
> No my production server is a VPS with Win 2003 Server and CF 8.
>
> In my previous post, I'm referring to my dev setup.
>
>
> On Tue, May 26, 2009 at 7:41 PM, Ryan Letulle  wrote:
>
> >
> > Rick,
> > Out of curiosity: you were running production cf on xp and now you are
> > trying to do the same on win 7?
> >
> > --
> > Ryan
> >
> >
> >
> > On Tue, May 26, 2009 at 6:37 PM, Rick Faircloth <
> r...@whitestonemedia.com
> > >wrote:
> >
> > >
> > > Just let me start with saying that I'm loving using Windows 7...stable,
> > > slick, *all* my software runs
> > > so much better than in XP (never did used Vista...skipped that
> > > party)...however...
> > >
> > > One issue is really getting on my nerds...whenever I try to run the
> same
> > > code that I've used for
> > > years and just recently before switching over to Windows 7 for
> uploading
> > a
> > > new image, creating
> > > the various version I need, then deleting the original image, I get
> > errors
> > > that CF can't delete
> > > the image for some "unknown reason."  Someone using Win 7 came up with
> a
> > > workaround...putting
> > > the image name in a database then running a scheduled task to delete
> > later.
> > > It works, but that is
> > > a lot of extra coding, processing, etc.  I was willing to go that
> route,
> > if
> > > necessary, but...
> > >
> > > Now, I run into the fact that I can't immediately rename a file I just
> > > uploaded.  I'm thinking this is the same
> > > basic issue as with deleting...Windows 7, perhaps with CF 8, is somehow
> > > locking down the file for
> > > a period of time (it usually with release control after a little time
> > > passes...seconds to minutes)
> > > until it allows the file to be deleted or changed.
> > >
> > > Saving an original, *unused* file's name to a db for scheduled deletion
> > > would work...a lot of trouble, but it would work.
> > > Preventing me from renaming a file immediately is a no-go.  (Perhaps I
> > can
> > > copy the file and then rename the
> > > copy)
> > >
> > > Is there anyone testing or working on Windows 7 that has run into these
> > > issues (basically one issue) and
> > > figured out what's going on and if there is a solution?  It's not a
> > problem
> > > with the code code...it's the same exact code
> > > I was previously running on XP and CF 8...only the OS has changed.
> > >
> > > I couldn't find anything on Google or other search engines, etc., that
> > > addresses this.
> > >
> > > Anyone have any ideas?
> > >
> > > Thanks,
> > >
> > > Rick
> > >
> > > --
> > >
> > >
> >
> --
> > > "Ninety percent of the politicians give the other ten percent a bad
> > > reputation."  Henry Kissinger
> > >
> > >
> > >
> >
> >
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322813
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image Manipulation Problems with CF8/Win7

2009-05-26 Thread Rick Faircloth

Hi, Ryan...

No my production server is a VPS with Win 2003 Server and CF 8.

In my previous post, I'm referring to my dev setup.


On Tue, May 26, 2009 at 7:41 PM, Ryan Letulle  wrote:

>
> Rick,
> Out of curiosity: you were running production cf on xp and now you are
> trying to do the same on win 7?
>
> --
> Ryan
>
>
>
> On Tue, May 26, 2009 at 6:37 PM, Rick Faircloth  >wrote:
>
> >
> > Just let me start with saying that I'm loving using Windows 7...stable,
> > slick, *all* my software runs
> > so much better than in XP (never did used Vista...skipped that
> > party)...however...
> >
> > One issue is really getting on my nerds...whenever I try to run the same
> > code that I've used for
> > years and just recently before switching over to Windows 7 for uploading
> a
> > new image, creating
> > the various version I need, then deleting the original image, I get
> errors
> > that CF can't delete
> > the image for some "unknown reason."  Someone using Win 7 came up with a
> > workaround...putting
> > the image name in a database then running a scheduled task to delete
> later.
> > It works, but that is
> > a lot of extra coding, processing, etc.  I was willing to go that route,
> if
> > necessary, but...
> >
> > Now, I run into the fact that I can't immediately rename a file I just
> > uploaded.  I'm thinking this is the same
> > basic issue as with deleting...Windows 7, perhaps with CF 8, is somehow
> > locking down the file for
> > a period of time (it usually with release control after a little time
> > passes...seconds to minutes)
> > until it allows the file to be deleted or changed.
> >
> > Saving an original, *unused* file's name to a db for scheduled deletion
> > would work...a lot of trouble, but it would work.
> > Preventing me from renaming a file immediately is a no-go.  (Perhaps I
> can
> > copy the file and then rename the
> > copy)
> >
> > Is there anyone testing or working on Windows 7 that has run into these
> > issues (basically one issue) and
> > figured out what's going on and if there is a solution?  It's not a
> problem
> > with the code code...it's the same exact code
> > I was previously running on XP and CF 8...only the OS has changed.
> >
> > I couldn't find anything on Google or other search engines, etc., that
> > addresses this.
> >
> > Anyone have any ideas?
> >
> > Thanks,
> >
> > Rick
> >
> > --
> >
> >
> --
> > "Ninety percent of the politicians give the other ten percent a bad
> > reputation."  Henry Kissinger
> >
> >
> >
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image Manipulation Problems with CF8/Win7

2009-05-26 Thread Ryan Letulle

Rick,
Out of curiosity: you were running production cf on xp and now you are
trying to do the same on win 7?

--
Ryan



On Tue, May 26, 2009 at 6:37 PM, Rick Faircloth wrote:

>
> Just let me start with saying that I'm loving using Windows 7...stable,
> slick, *all* my software runs
> so much better than in XP (never did used Vista...skipped that
> party)...however...
>
> One issue is really getting on my nerds...whenever I try to run the same
> code that I've used for
> years and just recently before switching over to Windows 7 for uploading a
> new image, creating
> the various version I need, then deleting the original image, I get errors
> that CF can't delete
> the image for some "unknown reason."  Someone using Win 7 came up with a
> workaround...putting
> the image name in a database then running a scheduled task to delete later.
> It works, but that is
> a lot of extra coding, processing, etc.  I was willing to go that route, if
> necessary, but...
>
> Now, I run into the fact that I can't immediately rename a file I just
> uploaded.  I'm thinking this is the same
> basic issue as with deleting...Windows 7, perhaps with CF 8, is somehow
> locking down the file for
> a period of time (it usually with release control after a little time
> passes...seconds to minutes)
> until it allows the file to be deleted or changed.
>
> Saving an original, *unused* file's name to a db for scheduled deletion
> would work...a lot of trouble, but it would work.
> Preventing me from renaming a file immediately is a no-go.  (Perhaps I can
> copy the file and then rename the
> copy)
>
> Is there anyone testing or working on Windows 7 that has run into these
> issues (basically one issue) and
> figured out what's going on and if there is a solution?  It's not a problem
> with the code code...it's the same exact code
> I was previously running on XP and CF 8...only the OS has changed.
>
> I couldn't find anything on Google or other search engines, etc., that
> addresses this.
>
> Anyone have any ideas?
>
> Thanks,
>
> Rick
>
> --
>
> --
> "Ninety percent of the politicians give the other ten percent a bad
> reputation."  Henry Kissinger
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322810
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-02 Thread Christopher Jordan
Thanks Jordan, I'll check it out.

Chris

Jordan Michaels wrote:
> It's an excellent set of image manipulation libraries written in C. You
> can read all about it here:
>
> http://www.libgd.org/
>
> Hope this helps!
>
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> Blue Dragon Alliance Member
> [EMAIL PROTECTED]
>
>
> Christopher Jordan wrote:
>   
>> Jordan, what are GD libraries?
>>
>> Chris
>>
>> Jordan Michaels wrote:
>> 
>>> On Linux boxes where image quality is important, I use command-line PHP
>>> to access GD libraries and resize images. It's the best image quality
>>> I've ever seen from a dynamic web application.
>>>
>>> Warm regards,
>>> Jordan Michaels
>>> Vivio Technologies
>>> http://www.viviotech.net/
>>> Blue Dragon Alliance Member
>>> [EMAIL PROTECTED]
>>>
>>>
>>> Casey Dougall wrote:
>>>   
>>>   
 If on a windows box, word on the street is, using a ASP component like
 aspimage, through coldfusions CreatObject creates the best image. I haven't
 had he time to check into this though.

 Casey



 
 
>> 
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271370
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-02 Thread Rick Root
On 3/2/07, Jordan Michaels <[EMAIL PROTECTED]> wrote:
>
> Sure thing. I've made the code available here:
>
> http://www.viviotech.net/tags/create_thumb.php.txt
>
> I wrote it to be called from the command-line using CFEXECUTE.


Years ago, before I had CFMX, I'd written a Perl script that would generate
thumbnails using the GD libraries as long as access to the perl script
was restricted via some kind of authentication or something, you could
actually just call the perl script via a hidden IFRAME, img tag or even
CFHTTP - and not have to rely on CFEXECUTE even, which never seemed to work
well for me!  You could probably do the same thing with a php script.

Rick


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271369
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-02 Thread Jordan Michaels
Sure thing. I've made the code available here:

http://www.viviotech.net/tags/create_thumb.php.txt

I wrote it to be called from the command-line using CFEXECUTE.

It doesn't process very large images though, and I've never taken the
time to debug that unfortunately.

Use this code as you see fit. ;)


Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]


Rick Root wrote:
> Jordan, would you mind sharing that code?  I'd love to see it.
> 
> Rick
> 
> 
> On 3/1/07, Jordan Michaels <[EMAIL PROTECTED]> wrote:
>> On Linux boxes where image quality is important, I use command-line PHP
>> to access GD libraries and resize images. It's the best image quality
>> I've ever seen from a dynamic web application.
>>
>> Warm regards,
>> Jordan Michaels
>> Vivio Technologies
>> http://www.viviotech.net/
>> Blue Dragon Alliance Member
>> [EMAIL PROTECTED]
>>
>>
>> Casey Dougall wrote:
>>> If on a windows box, word on the street is, using a ASP component like
>>> aspimage, through coldfusions CreatObject creates the best image. I
>> haven't
>>> had he time to check into this though.
>>>
>>> Casey
>>>
>>>
>>>
>>
> 
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271367
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-02 Thread Jordan Michaels
It's an excellent set of image manipulation libraries written in C. You
can read all about it here:

http://www.libgd.org/

Hope this helps!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]


Christopher Jordan wrote:
> Jordan, what are GD libraries?
> 
> Chris
> 
> Jordan Michaels wrote:
>> On Linux boxes where image quality is important, I use command-line PHP
>> to access GD libraries and resize images. It's the best image quality
>> I've ever seen from a dynamic web application.
>>
>> Warm regards,
>> Jordan Michaels
>> Vivio Technologies
>> http://www.viviotech.net/
>> Blue Dragon Alliance Member
>> [EMAIL PROTECTED]
>>
>>
>> Casey Dougall wrote:
>>   
>>> If on a windows box, word on the street is, using a ASP component like
>>> aspimage, through coldfusions CreatObject creates the best image. I haven't
>>> had he time to check into this though.
>>>
>>> Casey
>>>
>>>
>>>
>>> 
>>
> 
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271366
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Rick Root
Jordan, would you mind sharing that code?  I'd love to see it.

Rick


On 3/1/07, Jordan Michaels <[EMAIL PROTECTED]> wrote:
>
> On Linux boxes where image quality is important, I use command-line PHP
> to access GD libraries and resize images. It's the best image quality
> I've ever seen from a dynamic web application.
>
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> Blue Dragon Alliance Member
> [EMAIL PROTECTED]
>
>
> Casey Dougall wrote:
> > If on a windows box, word on the street is, using a ASP component like
> > aspimage, through coldfusions CreatObject creates the best image. I
> haven't
> > had he time to check into this though.
> >
> > Casey
> >
> >
> >
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271236
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Rick Root
I get what I consider to be "Acceptible" results using ImageCFC for blogs,
personal sites, etc - particularly if you play with the settings, and apply
a slight blur after resizing.

But smooth background colors and gradients - like the blue sky on the images
I'm about to link to - are still a little grainy.

http://www.opensourcecf.com/imagecfc/example2.html

I don't think the results here are as bad as the ones published earlier for
imageCFC (I thought the efflare ones looked "blurry" but there were
definately artifacts in the imagecfc versions)

Rick


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271234
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Christopher Jordan
Jordan, what are GD libraries?

Chris

Jordan Michaels wrote:
> On Linux boxes where image quality is important, I use command-line PHP
> to access GD libraries and resize images. It's the best image quality
> I've ever seen from a dynamic web application.
>
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> Blue Dragon Alliance Member
> [EMAIL PROTECTED]
>
>
> Casey Dougall wrote:
>   
>> If on a windows box, word on the street is, using a ASP component like
>> aspimage, through coldfusions CreatObject creates the best image. I haven't
>> had he time to check into this though.
>>
>> Casey
>>
>>
>>
>> 
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271233
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Jordan Michaels
On Linux boxes where image quality is important, I use command-line PHP
to access GD libraries and resize images. It's the best image quality
I've ever seen from a dynamic web application.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]


Casey Dougall wrote:
> If on a windows box, word on the street is, using a ASP component like
> aspimage, through coldfusions CreatObject creates the best image. I haven't
> had he time to check into this though.
> 
> Casey
> 
> 
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271232
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Christopher Jordan
I figured any onscreen tools to accomplish these tasks would have to be 
written, I was just thinking of allowing my user to upload a single 
image and the program would take care of creating the thumbnail from the 
larger upload. I'm guess that this is pretty standard for an image 
gallery type site with an admin type app that allows the user to update 
the images, right?

Chris

Alan Rother wrote:
> As far as cropping, resizing, rotating and such, they have the same
> features. Image flare is pretty darn easy to use, although it has it's own
> language and syntax you have to get used to...
>
> They both can also put text on the image, but ImageFlare BLOWS IT AWAY.
>
> We use it at work in our CMS to generate high quality nav elements
> dynamically and they look like they are right out of Photoshop.
>
> Now, you will have to build your own tools for managing how people resize,
> crop and rotate images. These tools are all backend and provide no front end
> or GUI support whatsoever.
>
>   

-- 
http://cjordan.info


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271231
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Christopher Jordan
I see the "over sharpness" you're talking about Alan, and I see the 
blurriness of the Flare pics, but it's varies from image to image.

Alan Rother wrote:
> No, the columns are right... I dont know why, but yes. The Java images are
> sharper today for some reason... not sure why,
>
>
> The key problem I have is that the often seem over sharpened, to the point
> that you get garbage in some places.
>
>
> Look at the details in my daughter's hair in the second image or the pyramid
> in the third for the Java ones. See how choppy it is and how the fine
> details are all splattered for lack of a better word. Thats what I hate. A
> lot of my images look like that.
>
> That never happens with Flare, but they do look a bit soft in these
> examples...  a little blurry in fact...
>
>
> On 3/1/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>   
>> Alan, any chance you have the columns named wrong?
>>
>> I would have said the third column, currently labeled "Java" was clearer
>> then the second column, "Flare".
>>
>> But I will be the first to admit, I DO NOT have the graphic designer eye
>> for this kind of thing.
>>
>>
>>
>>
>> --
>> Ian Skinner
>> Web Programmer
>> BloodSource
>> www.BloodSource.org
>> Sacramento, CA
>>
>> -
>> | 1 |   |
>> -  Binary Sudoku
>> |   |   |
>> -
>>
>> "C code. C code run. Run code run. Please!"
>> - Cynthia Dunning
>>
>> Confidentiality Notice:  This message including any
>> attachments is for the sole use of the intended
>> recipient(s) and may contain confidential and privileged
>> information. Any unauthorized review, use, disclosure or
>> distribution is prohibited. If you are not the
>> intended recipient, please contact the sender and
>> delete any copies of this message.
>>
>>
>>
>>
>>
>> 
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271230
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
Nathan Strutz and I and toyed with the idea of just building our own image
processing server (entirely based on his C#.net code)

Just to process our family photos and what not.

The code he has written works REALLY well, pretty darn close to Photoshop
type stuff.
-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, AZCFUG.org


~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271226
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Casey Dougall
If on a windows box, word on the street is, using a ASP component like
aspimage, through coldfusions CreatObject creates the best image. I haven't
had he time to check into this though.

Casey


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
As far as cropping, resizing, rotating and such, they have the same
features. Image flare is pretty darn easy to use, although it has it's own
language and syntax you have to get used to...

They both can also put text on the image, but ImageFlare BLOWS IT AWAY.

We use it at work in our CMS to generate high quality nav elements
dynamically and they look like they are right out of Photoshop.

Now, you will have to build your own tools for managing how people resize,
crop and rotate images. These tools are all backend and provide no front end
or GUI support whatsoever.

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271220
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image manipulation

2007-03-01 Thread Ian Skinner
Look at the details in my daughter's hair in the second image or the pyramid in 
the third for the Java ones. See how choppy it is and how the fine details are 
all splattered for lack of a better word. That's what I hate. A lot of my 
images look like that.


I'll take your word for it; that is exactly the thing I do NOT have the eye 
for.  And pay dearly for when I need it.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271218
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
No, the columns are right... I dont know why, but yes. The Java images are
sharper today for some reason... not sure why,


The key problem I have is that the often seem over sharpened, to the point
that you get garbage in some places.


Look at the details in my daughter's hair in the second image or the pyramid
in the third for the Java ones. See how choppy it is and how the fine
details are all splattered for lack of a better word. Thats what I hate. A
lot of my images look like that.

That never happens with Flare, but they do look a bit soft in these
examples...  a little blurry in fact...


On 3/1/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> Alan, any chance you have the columns named wrong?
>
> I would have said the third column, currently labeled "Java" was clearer
> then the second column, "Flare".
>
> But I will be the first to admit, I DO NOT have the graphic designer eye
> for this kind of thing.
>
>
>
>
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> -
> | 1 |   |
> -  Binary Sudoku
> |   |   |
> -
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271217
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image manipulation

2007-03-01 Thread Ian Skinner
Alan, any chance you have the columns named wrong?

I would have said the third column, currently labeled "Java" was clearer then 
the second column, "Flare".

But I will be the first to admit, I DO NOT have the graphic designer eye for 
this kind of thing.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271215
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
Updated the page again, now it includes a Photoshop copy as well.

http://www.RotherFamily.net/compare/ 


Also, if you go to the main site,
http://www.RotherFamily.net

All of those images were made with ImageCFC

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, AZCFUG.org


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271213
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Christopher Jordan
Wow! Thanks for the visual comparison! I can see what you mean. So since 
ImageCFC uses the java base image class, I'll get results similar to the 
images on the far right-hand side of your example page (cute family, 
btw!)? Have I got that right?

As far as the ability to crop, rotate, zoom, err... whatever else it is 
you can do with an imaging API, are there any pros/cons between ImageCFC 
vs. Image Flare?

Alan Rother wrote:
> For me it's all about image quality.
>
> Image Flare produces a much cleaner, sharper image. Any of the Image CFCs
> use the base image class supplied by Java and it's algorithm for producing
> jpgs, well... frankly it sucks. In my experience, I find that the Java based
> tools leave a sharper image but often leaves a lot of artifacts and garbage
> on the images.
>
> I ran some samples in both today and you can see them on my site...
>
> http://www.RotherFamily.net/compare/
>
> In all fairness to the Java apps... I do use them on my own site... I
> have'nt wanted to spend the cash on image flare... I just use it at work.
>
>
>
>
> =]
>
>   

-- 
http://www.cjordan.us



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271214
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Jim Wright
Ian Skinner wrote:
> Sorry. Sounds like it's time to get a new host.
> 

HMS does have ImageCR3 installed on their systems.

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271212
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image manipulation

2007-03-01 Thread Ian Skinner
http://www.RotherFamily.net/compare/


Cool information!!!  Thanks.  Looks like most things in life, you get what you 
pay for!

But I can see where many cases where the first is 'good enough' and for the 
price is hard to beat when it is.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271209
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
Ian,

If your host won't let you use createobject, you cant use any of the Java
based ones.


And if they wont let you use Java, I doubt they'll let you install a CFX
tag.


=]
-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271207
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image manipulation

2007-03-01 Thread Ian Skinner
Sorry. Sounds like it's time to get a new host.

Yes he just did, probably about the same time I sent my follow up answer.

Well it is just for my personal vanity site, so it is not worth a few hundred 
dollars to me to upgrade to a hosting service/plan that would have this.

I just wanted to make sure it was impossible before I gave up.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271206
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
For me it's all about image quality.

Image Flare produces a much cleaner, sharper image. Any of the Image CFCs
use the base image class supplied by Java and it's algorithm for producing
jpgs, well... frankly it sucks. In my experience, I find that the Java based
tools leave a sharper image but often leaves a lot of artifacts and garbage
on the images.

I ran some samples in both today and you can see them on my site...

http://www.RotherFamily.net/compare/

In all fairness to the Java apps... I do use them on my own site... I
have'nt wanted to spend the cash on image flare... I just use it at work.




=]

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271205
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Charlie Griefer
ermm...cfx_imagecr from efflare, being a cfx tag, shouldn't need
either (altho it's been a few years since i've used it...)

On 3/1/07, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> Mark Mandel did respond to your thread. You need one of those two
> commands to be able to do what you want. Sorry. Sounds like it's time to
> get a new host.
>
> Ian Skinner wrote:
> > Since this thread is getting so many good responses, but my earlier one was 
> > overlooked.
> >
> > Can anybody suggest one of these tags that will work well on a hosted 
> > environment where one does not have access to the cfadministrator or the 
> > CreateObject() and  functionality?
> >
> >
> > --
> > Ian Skinner
> > Web Programmer
> > BloodSource
> > www.BloodSource.org
> > Sacramento, CA
> >
> > -
> > | 1 |   |
> > -  Binary Sudoku
> > |   |   |
> > -
> >
> > "C code. C code run. Run code run. Please!"
> > - Cynthia Dunning
> >
> > Confidentiality Notice:  This message including any
> > attachments is for the sole use of the intended
> > recipient(s) and may contain confidential and privileged
> > information. Any unauthorized review, use, disclosure or
> > distribution is prohibited. If you are not the
> > intended recipient, please contact the sender and
> > delete any copies of this message.
> >
> >
> >
> >
> >
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271203
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Christopher Jordan
Mark Mandel did respond to your thread. You need one of those two 
commands to be able to do what you want. Sorry. Sounds like it's time to 
get a new host.

Ian Skinner wrote:
> Since this thread is getting so many good responses, but my earlier one was 
> overlooked.
>
> Can anybody suggest one of these tags that will work well on a hosted 
> environment where one does not have access to the cfadministrator or the 
> CreateObject() and  functionality?
>
>
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> -
> | 1 |   |
> -  Binary Sudoku
> |   |   |
> -
>  
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message. 
>
>
>
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271201
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image manipulation

2007-03-01 Thread Ian Skinner
Since this thread is getting so many good responses, but my earlier one was 
overlooked.

Can anybody suggest one of these tags that will work well on a hosted 
environment where one does not have access to the cfadministrator or the 
CreateObject() and  functionality?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Sudoku
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271194
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Image manipulation

2007-03-01 Thread Dale Fraser
We use Alagad which is quite good.

But CF8 has this built in.

Regards
Dale Fraser
 

http://dale.fraser.id.au/blog/

 
-Original Message-
From: Asim Manzur [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 March 2007 7:53 AM
To: CF-Talk
Subject: Image manipulation

What is the best tool in the market to resize/crop the uploaded images in
coldfusion.

The scnerio will be like the visitor will upload the image and then he/she
should have resize, rotate, crop and the other smiliar kind of functionality
available.

I don't mind buying any commercial CFX, but like to know someone's
experience.

-- 

Regards,
Asim Manzur




~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271192
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Christopher Jordan
Alan,

I'm going to be doing an image gallery type thing soon, and I thought 
I'd use ImageCFC. I'm not willing to purchase a prepackaged CFX, so I 
think ImageCFC is my best choice, but I'm still very curious (since you 
seem to have lots of experience) what pros and cons ImageCFC has versus 
ImageFlare. What didn't you like about it, what didn't it do, or what 
didn't it do well. I'd like to benefit from your experience. :o)

Thanks,
Chris

Alan Rother wrote:
> Great question,
>
>
> I've been playing with image manipulation tools in CF for years now...
> Building gallery applications is my thing.
>
> If you are willing and able to buy and install a CFX tag I would recommend
> ImageFlare or Image CR (Depending on the features you need). Both are made
> by Efflare
>
> http://www.efflare.com
>
>   Nothing I've found works better.  It has a ton of features and produces
> the highest quality jpgs of anything, and I've tied just about all of them
> (ImageMagik, ImageCFC, Alagad's Image CFC and even one I can't mention due
> to a current NDA). Nothing works better.
>
>
>
>
>
>   

-- 
http://www.cjordan.us



~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271190
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Josh Nathanson
Hold up though, do you mean that the person who uploads the image should 
have the ability to resize, rotate, crop etc. through some sort of flash or 
javascript GUI?  Or that you will control those aspects in the CF code?

I'm pretty sure ImageCFC doesn't do that, I don't know about the others.

-- Josh




- Original Message - 
From: "Asim Manzur" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, March 01, 2007 12:53 PM
Subject: Image manipulation


> What is the best tool in the market to resize/crop the uploaded images in
> coldfusion.
>
> The scnerio will be like the visitor will upload the image and then he/she
> should have resize, rotate, crop and the other smiliar kind of 
> functionality
> available.
>
> I don't mind buying any commercial CFX, but like to know someone's
> experience.
>
> -- 
> ...
> Regards,
> Asim Manzur
>
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271189
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Oğuz Demirkapı
If your host has ASPImage COM object, I would also suggest it for 
quality. :)

Here is a page that I created 4 years ago which "still" works with CF & 
ASPImage.

http://motorspor.com/index.cfm?fuseaction=foto.ilk


For NDA note: I am sure it will be better! :)


-- 

~~~

Oğuz Demirkapı

TeraTech Inc. | Senior Developer
405 East Gude Dr Suite 207, Rockville, MD 20850, USA
Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
Web: http://www.teratech.com | E-mail: oguz.demirkapi  teratech.com
Winner in CFDJ awards Best Consulting. Member Team Fusebox.

~~~



~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271187
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Jordan Michaels
+1 for image.cfc. Works great. Easy to use. Completely free.

What more could you want.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]


Ray Champagne wrote:
> Look into ImageCFC.
> 
> -Original Message-
> From: Asim Manzur [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 01, 2007 3:53 PM
> To: CF-Talk
> Subject: Image manipulation
> 
> What is the best tool in the market to resize/crop the uploaded images in
> coldfusion.
> 
> The scnerio will be like the visitor will upload the image and then he/she
> should have resize, rotate, crop and the other smiliar kind of functionality
> available.
> 
> I don't mind buying any commercial CFX, but like to know someone's
> experience.
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271186
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Matt Quackenbush
I'll offer a third 'Yea' for imageCR3 from Efflare.  When stacked up against
the others, well, they just don't compare.  Your server will thank you.


Matt


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271184
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Charlie Griefer
one of the forum regulars over at Easycfm posted an overview of the
various image manipulation options.

http://www.lot-o-nothin.com/cfml/articles/index.cfm/id/3/

FWIW, i'll echo Alan's response.  I haven't used any of the others,
but i have used the efflare custom tag and not only does it work
beautifully, the customer service from efflare is amazing.

On 3/1/07, Alan Rother <[EMAIL PROTECTED]> wrote:
> Great question,
>
>
> I've been playing with image manipulation tools in CF for years now...
> Building gallery applications is my thing.
>
> If you are willing and able to buy and install a CFX tag I would recommend
> ImageFlare or Image CR (Depending on the features you need). Both are made
> by Efflare
>
> http://www.efflare.com
>
>   Nothing I've found works better.  It has a ton of features and produces
> the highest quality jpgs of anything, and I've tied just about all of them
> (ImageMagik, ImageCFC, Alagad's Image CFC and even one I can't mention due
> to a current NDA). Nothing works better.
>
>
>
>
>
> --
> Alan Rother
> Adobe Certified Advanced ColdFusion MX 7 Developer
> Manager, AZCFUG.org
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271180
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2007-03-01 Thread Jim Wright
Asim Manzur wrote:
> What is the best tool in the market to resize/crop the uploaded images in
> coldfusion.
> 
> The scnerio will be like the visitor will upload the image and then he/she
> should have resize, rotate, crop and the other smiliar kind of functionality
> available.
> 
> I don't mind buying any commercial CFX, but like to know someone's
> experience.
> 

If speed is your primary qualifier, Efflare's ImageCR is hard to beat
If price is, Rick Root's imageCFC does a good job.

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271179
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Alan Rother
Great question,


I've been playing with image manipulation tools in CF for years now...
Building gallery applications is my thing.

If you are willing and able to buy and install a CFX tag I would recommend
ImageFlare or Image CR (Depending on the features you need). Both are made
by Efflare

http://www.efflare.com

  Nothing I've found works better.  It has a ton of features and produces
the highest quality jpgs of anything, and I've tied just about all of them
(ImageMagik, ImageCFC, Alagad's Image CFC and even one I can't mention due
to a current NDA). Nothing works better.





-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, AZCFUG.org


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271177
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Oğuz Demirkapı
And thanks that we have a great archive! :)

http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:42585


Asim Manzur wrote:
> What is the best tool in the market to resize/crop the uploaded images in
> coldfusion.
>
> The scnerio will be like the visitor will upload the image and then he/she
> should have resize, rotate, crop and the other smiliar kind of functionality
> available.
>
> I don't mind buying any commercial CFX, but like to know someone's
> experience.
>   
~~~

Oğuz Demirkapı

TeraTech Inc. | Senior Developer
405 East Gude Dr Suite 207, Rockville, MD 20850, USA
Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
Web: http://www.teratech.com | E-mail: oguz.demirkapi  teratech.com
Winner in CFDJ awards Best Consulting. Member Team Fusebox.

~~~



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271176
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2007-03-01 Thread Oğuz Demirkapı
We generally use Alagad image component 
(http://www.alagad.com/index.cfm/name-aic) but I think ImageCFC 
(http://www.opensourcecf.com/imagecfc/) must be enough for most of the job.


Asim Manzur wrote:
> What is the best tool in the market to resize/crop the uploaded images in
> coldfusion.
>
> The scnerio will be like the visitor will upload the image and then he/she
> should have resize, rotate, crop and the other smiliar kind of functionality
> available.
>
> I don't mind buying any commercial CFX, but like to know someone's
> experience.
>
>   


-- 

~~~

Oğuz Demirkapı

TeraTech Inc. | Senior Developer
405 East Gude Dr Suite 207, Rockville, MD 20850, USA
Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
Web: http://www.teratech.com | E-mail: oguz.demirkapi  teratech.com
Winner in CFDJ awards Best Consulting. Member Team Fusebox.

~~~



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271175
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Image manipulation

2007-03-01 Thread Ray Champagne
Look into ImageCFC.

-Original Message-
From: Asim Manzur [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 3:53 PM
To: CF-Talk
Subject: Image manipulation

What is the best tool in the market to resize/crop the uploaded images in
coldfusion.

The scnerio will be like the visitor will upload the image and then he/she
should have resize, rotate, crop and the other smiliar kind of functionality
available.

I don't mind buying any commercial CFX, but like to know someone's
experience.

-- 

Regards,
Asim Manzur




~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271174
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2006-11-10 Thread Rick Root
Jim Wright wrote:
> Rick Root wrote:
>> I'm gonna add a scaleToFit() method too that takes a maximum width and 
>> height and forces your image to fit within that space but still maintain 
>> aspect ratio.
>>
> 
> I have a mod to the resize() method which adds a preserveAspect argument 
> that probably does what the scaleToFit() will do.  If anyone wants that 
> in the meantime, just send me an note.

I forgot, I think you told me about that.  I'll have to dig through my 
email and see if I can find it and maybe I'll just integrate that code.

Though I might still make a "ghost" method called scaleToFit() that just 
calls the resize() method.  (technically, scaleX() and scaleY() are just 
ghost methods to the resize() method as well, they just do the math and 
pass the width and height to the resize method anyway...)

Rick


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259971
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2006-11-10 Thread Jim Wright
Rick Root wrote:
> 
> I'm gonna add a scaleToFit() method too that takes a maximum width and 
> height and forces your image to fit within that space but still maintain 
> aspect ratio.
> 

I have a mod to the resize() method which adds a preserveAspect argument 
that probably does what the scaleToFit() will do.  If anyone wants that 
in the meantime, just send me an note.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259969
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2006-11-10 Thread Doug Brown
Thanks for all the great info folks. Rick that added little feature you are
talking about would be awesome. Look forward to seeing it in action!!



Regards,

Doug B.
- Original Message - 
From: "Rick Root" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Friday, November 10, 2006 4:23 PM
Subject: Re: Image manipulation


> Jordan Michaels wrote:
> >
> > On any image manipulation tags I've seen, you have to calculate the
> > proper proportions in order to keep them.
>
> ImageCFC has a scaleX and scaleY property, so ify ou want to restrict
> your image to 50px high, you'd just use the scaleY() method.  Both
> methods maintain aspect ratio and you don't have to do any calculations
> for the OTHER dimension.
>
> I'm gonna add a scaleToFit() method too that takes a maximum width and
> height and forces your image to fit within that space but still maintain
> aspect ratio.
>
> Rick
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259967
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Image manipulation

2006-11-10 Thread Bobby Hartsfield
ImageCR3 from Efflare.com

It's not free but well worth the cost and better than anything else out
there... free or not.

You do not need to calculate the proportions with imageCR, it will do it for
you.

There is a 'reisze' option that takes the format of 100x50 (width X height)

If you want the WIDTH to be a specific size (say 50px) and the height to
stay proportional you just use resize="50x"

To set the height and let the width be calculated for you... x50

Pretty simple. Not to mention all of the other possibilities with the tag
and the quality of the resulting images.



-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 10, 2006 5:25 PM
To: CF-Talk
Subject: Image manipulation

Is there a CF tag out there that will take a image and reduce it's size
"properly"? Say someone uploads an image that is 100px High X 50px wide, and
I only want images that are say 50px high. Is there something that will
automatically make the image in question 50px high X 25px wide and keep the
right proportions, as to not distort the image?

Regards,


Doug



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259965
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2006-11-10 Thread Jordan Michaels
Rick Root wrote:
> Jordan Michaels wrote:
> 
>>On any image manipulation tags I've seen, you have to calculate the
>>proper proportions in order to keep them.
> 
> 
> ImageCFC has a scaleX and scaleY property, so ify ou want to restrict 
> your image to 50px high, you'd just use the scaleY() method.  Both 
> methods maintain aspect ratio and you don't have to do any calculations 
> for the OTHER dimension.
> 
> I'm gonna add a scaleToFit() method too that takes a maximum width and 
> height and forces your image to fit within that space but still maintain 
> aspect ratio.
> 
> Rick
> 

Nice. I didn't know that about image.cfc Rick. Thanks for pointing it
out. ;)

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259966
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Image manipulation

2006-11-10 Thread Rick Root
Jordan Michaels wrote:
> 
> On any image manipulation tags I've seen, you have to calculate the
> proper proportions in order to keep them.

ImageCFC has a scaleX and scaleY property, so ify ou want to restrict 
your image to 50px high, you'd just use the scaleY() method.  Both 
methods maintain aspect ratio and you don't have to do any calculations 
for the OTHER dimension.

I'm gonna add a scaleToFit() method too that takes a maximum width and 
height and forces your image to fit within that space but still maintain 
aspect ratio.

Rick

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259964
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2006-11-10 Thread Jordan Michaels
Doug Brown wrote:
> Is there a CF tag out there that will take a image and reduce it's size 
> "properly"? Say someone uploads an image that is 100px High X 50px wide, and 
> I only want images that are say 50px high. Is there something that will 
> automatically make the image in question 50px high X 25px wide and keep the 
> right proportions, as to not distort the image?
> 
> Regards,
> 
> 
> Doug
> 

On any image manipulation tags I've seen, you have to calculate the
proper proportions in order to keep them.

Here's some example code when using BlueDragon's CFIMAGE tag:












Hope this helps!

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259960
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation

2006-11-10 Thread Oğuz Demirkapı
Check this:

Image CFC
http://www.opensourcecf.com/imagecfc/


Doug Brown wrote:
> Is there a CF tag out there that will take a image and reduce it's size 
> "properly"? Say someone uploads an image that is 100px High X 50px wide, and 
> I only want images that are say 50px high. Is there something that will 
> automatically make the image in question 50px high X 25px wide and keep the 
> right proportions, as to not distort the image?
>
>
> Regards,
>
>
> Doug
>   
~~~

Oğuz Demirkapı

TeraTech Inc. | Senior Developer
405 East Gude Dr Suite 207, Rockville, MD 20850, USA
Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
Web: http://www.teratech.com | E-mail: oguz.demirkapi  teratech.com
Winner in CFDJ awards Best Consulting. Member Team Fusebox.

~~~


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259958
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Bryan Stevenson
>> hehe...no worries Massimonot a credit/plagiarism issue
>
> Glad to see things clarified (this was the second time here on CF-Talk).
> I really don't want to sound rude, but I take this sort of things very
> seriously.
>
> Best

Yep...sorry about thatI'm so busy right now and was trying to be helpful 
at the same timeso out came the brain dump of what I could recall at the 
time (now I see what I said could have been misconstrued) ;-)

I would take it pretty seriously as well if someone else took credit for my 
work...so again...sorry for the confusionjust trying to help Andy.

For the record CF-TalkersMassimo and I created our code 
independantlyand even though I haven't played with his tag...I'm quite 
sure it's more robust than mine from what I've read (mine is for simple 
image size retrieval and simple resizing of GIF/JPG files).

FYI folksI gave Tony Weeg permission to wrap my 2 methods up in a CFC 
and make it available to dload somewhere (Tony can ya post the link if it's 
up)...for free (and of course leaving my code comments in placewouldn't 
want another issue like this one...hehe).

Personally I'm not in the tag or CFC writing/selling game (not saying 
Massimo is or isn't nor does it matter to me in any way)no time for such 
small returns...but if I have code that will help someonea posting I go 
;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220815
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Massimo Foti
> hehe...no worries Massimonot a credit/plagiarism issue

Glad to see things clarified (this was the second time here on CF-Talk).
I really don't want to sound rude, but I take this sort of things very
seriously.

Best


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220809
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Bryan Stevenson
> Once again Bryan, even if it uses the same Java APIs, it's NOT the same
> code, I published the first version of my CFC back in January 2003, long
> before you.
> You can take a look at the source and see by yourself (and you will also 
> see
> why the image quality is better).

hehe...no worries Massimonot a credit/plagiarism issueand yer tag is 
far more complete then mine (and I wrote mine in 2003 as well FYI...although 
I think it was later in the year)!! ;-)  I was just saying that to help 
Andybecause I was pretty sure the APIs used were the same and that 
should have meant the error was for the same reason (headless system).

All bow before Massimo and his tag...hehe!!!

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220807
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Massimo Foti
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
> I'd also wait on Massimo to be sure it's the same issue...

It's sounds like a problem with the an neadless systems. On the CFC's page
there are links pointing to potential fixes:
http://www.olimpo.ch/tmt/cfc/tmt_img/



> looks the same as what I had dropping my image manip code (same core code
as
> Massimo uses AFAIKthink I may have given it to him too..can't recall)
on
> a headless Linux server.

Once again Bryan, even if it uses the same Java APIs, it's NOT the same
code, I published the first version of my CFC back in January 2003, long
before you.
You can take a look at the source and see by yourself (and you will also see
why the image quality is better).


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220791
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-11 Thread Andy Matthews
Another update. Massimo responded to my email and he provided two sites
which list solutions to this problem:

http://www.doughughes.net/index.cfm/page-blogLink/entryId-29

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19252

In case anyone else is having problems.



-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 3:44 PM
To: CF-Talk
Subject: RE: Image manipulation in coldfusion - error with tmt_img.cfc


Just an update...

I seem to recall reading that these CFCs have issues when the server is set
to run headless. I checked our cfadmin and it appears that headless is one
of the arguments (listed below):

-server -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:MaxPermSi
ze=128m -XX:+UseParallelGC

Is there anything that can be done?



-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 3:38 PM
To: CF-Talk
Subject: Image manipulation in coldfusion - error with tmt_img.cfc


Massimo...

I have a quick question regarding the above CFC. I've set it up and running
on my local dev machine (Win XP, CFMX6.1). It works flawlessly. However,
when I upload the code to my server and run it, I get the following error:

This graphics environment can be used only in the software emulation mode.
null
The error occurred on line 475.

This is line 475 in the cfc file:
var jGraphics2D = arguments.imgBuffer.createGraphics();

I know ZERO Java so I can't diagnose this properly but I would guess that
it's got something to do with the version of Java or JVM running on our
server (some form of Linux and CFMX6.1).

Anyone have ideas?

Thanks in advance for your help.








~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220769
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


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-11 Thread Bryan Stevenson
Well it looks like ya tracked it down before my reply made it through ;-)

Here's what my jvm.config java args look like on the headless machine:

java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS 
-Xbootclasspath/a:{application.home}/lib/webchartsJava2D.jar 
 -Xmx512m -Djava.awt.headless=true -Dsun.io.useCanonCaches=false 
-XX:MaxPermSize=128m 
 -XX:+UseParallelGC

A side noteI COULD NOT change the settings via CF Admin as there was 
some bug that blew out the jvm.config file (or appeared to have made the 
change but didn't)...so I had to manually change the jvm.config file etc. as 
per my first reply.

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220765
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


RE: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-11 Thread Andy Matthews
Just an update...

I seem to recall reading that these CFCs have issues when the server is set
to run headless. I checked our cfadmin and it appears that headless is one
of the arguments (listed below):

-server -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:MaxPermSi
ze=128m -XX:+UseParallelGC

Is there anything that can be done?



-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005 3:38 PM
To: CF-Talk
Subject: Image manipulation in coldfusion - error with tmt_img.cfc


Massimo...

I have a quick question regarding the above CFC. I've set it up and running
on my local dev machine (Win XP, CFMX6.1). It works flawlessly. However,
when I upload the code to my server and run it, I get the following error:

This graphics environment can be used only in the software emulation mode.
null
The error occurred on line 475.

This is line 475 in the cfc file:
var jGraphics2D = arguments.imgBuffer.createGraphics();

I know ZERO Java so I can't diagnose this properly but I would guess that
it's got something to do with the version of Java or JVM running on our
server (some form of Linux and CFMX6.1).

Anyone have ideas?

Thanks in advance for your help.






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220762
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


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-11 Thread Bryan Stevenson
Andy...is the live server a headless system (no monitor or graphicsjust 
a  box)?  If so there are some arguments in the jvm.config (I think it was 
that file) file that you need to change.

If you can confirm this is your situation I may be able to dig up the 
changes required.  The file needs to be dloaded, modified, uloaded, and CF 
services cycled for this to fly.  This may be difficult in a shared server 
environment.

I'd also wait on Massimo to be sure it's the same issue...but the error 
looks the same as what I had dropping my image manip code (same core code as 
Massimo uses AFAIKthink I may have given it to him too..can't recall) on 
a headless Linux server.

HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220761
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: image manipulation in coldfusion?

2005-10-10 Thread Webmaster at FastTrack On Line
I'm catching up on this thread, but ...

I do think CF should have image manipulation.  I'm not about to go and learn 
Java or anything vaguely "codey" if i can possibly help it, not enough hours 
in the day and I bought CF for the very reason I would never have to learn 
Java!  Programming at that level just isn't for me, I find it tedious.

I have used  http://www.imagemagick.org/script/index.php as a work around 
and it works just fine, and it's free :-)

Jenny




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220531
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-10 Thread Massimo Foti
> I've done that Russ...I'm using Massimo's tmt_img.cfc. It works well. I
> simply stated that I wished MM would include this functionality in
> Coldfusion itself.

Even if I already solved the problem on my own. I too wish MM would include
image manipulation functionality on a future release. It just makes a lot of
sense in my opinion.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220520
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: image manipulation in coldfusion?

2005-10-10 Thread Massimo Foti
> Put it out there Pete. I'd be interesting in seeing what else you added to
> it, There's a few things that I wish tmt_img did differently. All in all,
> it's a great piece of code though. Thank you Massimo.

I have a few things I would add/improve for the next version. Please feel
free to provide feedback here or contact me directly at:
[EMAIL PROTECTED]


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220519
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: image manipulation in coldfusion?

2005-10-10 Thread Massimo Foti
> > That's what I tried to do when
> > I wrote version 2.0 of my CFC and I achieved a huge increase in quality.
>
> Massimo: Just to let you know... I was playing around with your CFC,
> and noticed that on some images (usually horizontally oriented ones),
> bufferedCrop() would throw an "outside of raster" error. I was able to
> fix it by modifying the code to check for crop operations that exceed
> the height of the image.
>
> With that said, thanks for putting the code out there.

Thanks Roger. I am aware of this but I am still not sure on what's the best
way to handle it.
Until now I tried to leave out any form of "logic" from the CFC; in my
vision it only has to perform the basic operations, then it's up to the
developer to wrap any logic around it (see the post about conditional
cropping).

The CFC could check if the crop area exceed image's dimensions and adjust
the cropping area. I still have mixed feelings about this... It will surely
make the CFC more "monkey proof", but I don't want a component that try to
"outsmart" its user. Personally I would again, extend the CFC and add a
"saveCrop" method that just wrap the logic around the base method.

Feedback and opinions on this would be very much appreciated.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com







~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220518
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


Re: image manipulation in coldfusion?

2005-10-10 Thread Massimo Foti
> What I'm looking for is a way to test the size of an image before its
> displayed and then resize it if its width exceeds 250px - if 250px or
> less then it can be left alone.
>
> Not sure if tags like Massimo's support that or not.

My CFC offers all the basic functionality you need for this, but you have to
perform the logic (if exceeds crop, if not let it alone) on your own. In my
opinion the best thing to do would be to extend the CFC and put your logic
there. This would allow you to first, separate the logic from the core
functionality, then it will make easier to update as soon as I will release
an updated version of the CFC since you would not change my code directly.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220517
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: image manipulation in coldfusion?

2005-10-07 Thread Pete Ruckelshaus
OK, most of the meat and potatoes of what I'm doing is in this
cfscript block.  I'm sure that it's possible to encapsulate this in a
much neater fashion, I just chose not to.


/* Set some variables that will make it easier to work with file and
server paths */
filepath = cffile.serverdirectory & "\";
imgname = cffile.serverfile;
fullImgPath = filepath & imgname;
thumbname = cffile.serverfilename & "_thumb." & cffile.serverfileext;
fullThumbPath = filepath & thumbname;

/* Invoke the image CFC */
imgObj = CreateObject("component", "lib.cfc.tmt_img");

imgObj.getDimensions("#fullImgPath#");

/* Set image width and height as variables to make them easier to work 
with */
imgwidth = imgObj.getwidth("#fullImgPath#");
imgheight = imgObj.getheight("#fullImgPath#");

if (imgwidth GT imgheight) {
orientation = "landscape";
} else if (imgwidth LT imgheight) {
orientation = "portrait";
} else {
orientation = "square";
}

resizewidth = imgwidth;
resizethumbwidth = maxthumbdimension;
divide_by_value = (imgheight / imgwidth);

if ((imgwidth GTE maxdimension) AND (imgheight GTE maxdimension) AND
(imgwidth GTE imgheight)) {
resizewidth = maxdimension;
resizethumbwidth = maxthumbdimension;
diagnostics = diagnostics & "Landscape, both dimensions larger 
than max.";
resize = "true";
} else if ((imgwidth GTE maxdimension) AND (imgheight GTE
maxdimension) AND (imgwidth LTE imgheight)) {
resizewidth = (maxdimension / divide_by_value);
resizewidth = round(resizewidth);
resizethumbwidth = (maxthumbdimension / divide_by_value);
resizethumbwidth = round(resizethumbwidth);
diagnostics = diagnostics & "Portrait, both dimensions larger 
than max.";
resize = "true";
} else if ((imgwidth GTE maxdimension) AND (imgheight LTE 
maxdimension)) {
resizewidth = maxdimension;
resizethumbwidth = maxthumbdimension;
diagnostics = diagnostics & "Landscape, width greater than max,
height less than max.";
resize = "true";
} else if ((imgwidth LTE maxdimension) AND (imgheight GTE 
maxdimension)) {
resizewidth = (maxdimension / divide_by_value);
resizewidth = round(resizewidth);
resizethumbwidth = (maxthumbdimension / divide_by_value);
resizethumbwidth = round(resizethumbwidth);
diagnostics = diagnostics & "Portrait, width less than max, 
height
greater than max.";
resize = "true";
} else {
diagnostics = diagnostics & "Both dimensions smaller than max. 
[ELSE]";
resize = "false";
/* Image is smaller than the maxdimension in both dimensions.
It won't resize the image, but what about sizing the 
thumbnail? */
if ((imgwidth GTE maxthumbdimension) AND (imgheight LTE 
maxthumbdimension)) {
/*  */
resizewidth = imgwidth;
resizethumbwidth = maxthumbdimension;
diagnostics = diagnostics & "Landscape, larger than 
thumbmax but
smaller than max.";
resize = "true";
} else if ((imgwidth LTE maxthumbdimension) AND (imgheight GTE
maxthumbdimension)) {
resizewidth = imgwidth;
resizethumbwidth = (maxthumbdimension / 
divide_by_value);
diagnostics = diagnostics & "Portrait, larger than 
thumbmax but
smaller than max.";
resize = "true";
} else {
/* Image smaller than thumbnail in both dimensions.
Don't create new thumbnail. */
diagnostics = diagnostics & "Smaller than thumbmax. 
[ELSE]";
resize = "false";
}
}

/* Doublecheck the portrait/resizewidth = maxthumbdimension bug */
if ((orientation EQ "portrait") AND (resizethumbwidth EQ 
maxthumbdimension)) {
resizethumbwidth = (maxthumbdimension / divide_by_value);
/* diagnostics = diagnostics & "Bug trapped!"; */
}

if (resize EQ "true") {
/* Scale down large images using the resizewidth value */
imgObj.resize(fullImgPath, "#fullImgPath#", resizewidth);
imgObj.resize(fullImgPath, "#fullThumbPath#", resizethumbwidth);
diagnostics = diagnostics & "Resize true, Image and thumbnail 
created.";
} else if ((imgwidth LT maxthumbdimension) AND (

Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Nathan Strutz
On 10/7/05, Russ <[EMAIL PROTECTED]> wrote:
> I believe it goes more like "We don't serve French fries here, but [snip]


Can you equate that to the inclusion of web services in CFMX? You know
they use the apache axis engine. Talk about getting the menu from the
neighbors and tacking it onto your bill, what about Verity? Is that
really a necessity for CF to function.

No, but it sells.

I see the features argument a little differently than you. Let's talk
about the CF platform and its parent, Java, versus the Java platform
and its parent, whatever it was written in, c or assembly or what have
you, i don't know.

CF is compiled through its parent to run on the JRE.
Java is compiled through its parent to run on different OSes.

CF has a loose collection of organized tags and functions, pre-written
code that saves you time by shortcutting and tying together
capabilities of its parent.
Java has the java library, an organized collection of useful objects
that save you time by shortcutting and tying together capabilities of
its parent.

CF exposes its parent by wrapping it in easy-to-use tags & functions.
Java exposes its parent by wrapping it in easy-to-use objects.

Without CF, you would have to write straight Java to get the job done.
Without Java, you would have to write straight assembly or c++ to get
the job done.

CF allows developers to get around the complexities of collections
(java.util.map, java.util.vector) by providing its own (struct,
array).
Java allows developers to get around the complexities of shifting bits
and complex manipulations by providing built-in collection objects.

Let's pretend CF has tags and functions for 50% of everything java
provides, just in the base library. Why would CF provide us with
simplifying collections, manipulating strings, regular expressions, IO
and networking operations, mathematics, database connectivity and XML,
but not provide us with just one more feature, simple image
manipulation?

Just a question to think about. Java already has the functionality
there. It's built into the underlying platform. MM doesn't even have
to shift bits and manually manage memory consumption, it's in Java.
The fact that it hasn't been brought into the CF platform bewilders
me. Maybe they're waiting for a release that they don't have enough
cool, new features in.

-nathan strutz
http://www.dopefly.com/


On 10/7/05, Russ <[EMAIL PROTECTED]> wrote:
> I believe it goes more like "We don't serve French fries here, but here is a
> menu for the place next door, pick what you what, and we'll go and get it
> for you.  We'll even put it on the same bill... you'll never know that it
> was from next door unless we told you."
>
> Now what you are asking is for them to put it on their own menu, but still
> get it from next door without telling you.  I mean, yea, it would be nice,
> since you wouldn't have to look at the menu from the place next door, but I
> think you're just being lazy :-P
>
> Russ

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220437
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


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Bryan Stevenson
Hey Andytell that boss of yours that although you'd like to think you 
know everything in the known universe already...occasionally the task at 
hand requires some learning to ensure the best possible result...he/she can 
cough up for the tag or pay ya a few bucks to leanr something new that can 
be applied to future projects and make them go faster ;-)

People without vison or common sense suck!!

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220417
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
Thanks Bryan...

I'm trying to learn constantly. Learning CF, javascript, Flash, mySQL , etc.
The problem is that it's hard to convince the owner of my company to spring
for Alagad's image component.

So it's not the learning that's the problem. It's the billing of the time
that's the problem.



-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 1:25 PM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!


> Lazy? That's not being lazy. That's using your time to it's fullest
> potential. I can't really bill the time needed to learn Java or search
> Google for ways that I can resize images in ColdFusion.

Ummmit's called part of the jobif you already knew it all you'd be
the perfect developerIMHO if you stop learning you are dead wood (not
directed at you Andyjust a  general statement).

FYI...Googling was exactly how I learned what I needed...and it only took
about an hour to solve the problem ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220409
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


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Bryan Stevenson
> Lazy? That's not being lazy. That's using your time to it's fullest
> potential. I can't really bill the time needed to learn Java or search
> Google for ways that I can resize images in ColdFusion.

Ummmit's called part of the jobif you already knew it all you'd be 
the perfect developerIMHO if you stop learning you are dead wood (not 
directed at you Andyjust a  general statement).

FYI...Googling was exactly how I learned what I needed...and it only took 
about an hour to solve the problem ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220399
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
Lazy? That's not being lazy. That's using your time to it's fullest
potential. I can't really bill the time needed to learn Java or search
Google for ways that I can resize images in ColdFusion.

As for people who say you don't have to know Java, yes I understand. I've
already mentioned I'm using the tmt_img CFC. I'm perfectly happy with it, it
does what I need. I still think it would be great if MM would include this
functionality in Coldfusion. That's all there is to say about it.



-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 12:38 PM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!


I believe it goes more like "We don't serve French fries here, but here is a
menu for the place next door, pick what you what, and we'll go and get it
for you.  We'll even put it on the same bill... you'll never know that it
was from next door unless we told you."

Now what you are asking is for them to put it on their own menu, but still
get it from next door without telling you.  I mean, yea, it would be nice,
since you wouldn't have to look at the menu from the place next door, but I
think you're just being lazy :-P

Russ

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 12:57 PM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!

 >>I tend to agree with other responses.  Image manipulation is available
in the underlying java

Java is not a panacea for CF users nor an excuse for any lack of some
tool in CF.
Many CF developers do not wish to learn and use Java.
Developers who really want to use Java would go JSP instead.
It would be like a restaurant telling you "If you want some French fries
with your steak,
go get them for the Macdo next door" ;-)

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220396
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Rick Root
Andy Matthews wrote:
> Precisely my thoughts Claude. I don't know Java. I don't care to learn Java
> (at this point). I just want a toolset in my favorite language, coldfusion.

but you don't have to know java.  There are numerous CFC implementations
written by people who DO know java.

I use a CFC written by Jim Dew.

Here's how I resize images:


imagePath = "C:\Inetpub\wwwroot\foo.jpg";
newWidth = 50;
newHeight = 50;
image = CreateObject("component","image");
image.readImage("FILE", imagePath)
image.resize(newWidth, newHeight);
image.writeImage(variables.imagePath);


Rick


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220390
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


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Russ
I believe it goes more like "We don't serve French fries here, but here is a
menu for the place next door, pick what you what, and we'll go and get it
for you.  We'll even put it on the same bill... you'll never know that it
was from next door unless we told you."

Now what you are asking is for them to put it on their own menu, but still
get it from next door without telling you.  I mean, yea, it would be nice,
since you wouldn't have to look at the menu from the place next door, but I
think you're just being lazy :-P

Russ

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 12:57 PM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!

 >>I tend to agree with other responses.  Image manipulation is available
in the underlying java

Java is not a panacea for CF users nor an excuse for any lack of some 
tool in CF.
Many CF developers do not wish to learn and use Java.
Developers who really want to use Java would go JSP instead.
It would be like a restaurant telling you "If you want some French fries 
with your steak,
go get them for the Macdo next door" ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220382
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Bryan Stevenson
There are many things that we'd like to see in CF...but with a little effort 
you can write your own.

I mean heywouldn't it be nice if CF came with payment gateway tags?? ;-)

This is the power of CFif it don't come built in...you can build it 
yourself with relative ease.

I might add I wrote both my posted image methods without knowing ANY 
Javajust found some Java code...read it...tried my best to understand it 
(not too hard to read any langauge and get the general idea of what it 
does)converted it to CF code...not hard at all.

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220377
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
I've done that Russ...I'm using Massimo's tmt_img.cfc. It works well. I
simply stated that I wished MM would include this functionality in
Coldfusion itself.



-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 12:11 PM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!


The original message mentioned that image manipulation doesn't come with
php, but as a free community provided plugin.  There has been code posted
many times on this list that does image manipulation.  It is already or can
easily be converted to a cfc.  Now, unless someone has a problem with the
quality that it produces, or the features that it has,  I don't see what
everyone is whining about?  You have been given the code... stick it in a
cfc, and use it... no need to learn java, other people have done it for you.




-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 1:05 PM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!

Precisely my thoughts Claude. I don't know Java. I don't care to learn Java
(at this point). I just want a toolset in my favorite language, coldfusion.



-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:57 AM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!


 >>I tend to agree with other responses.  Image manipulation is available
in the underlying java

Java is not a panacea for CF users nor an excuse for any lack of some
tool in CF.
Many CF developers do not wish to learn and use Java.
Developers who really want to use Java would go JSP instead.
It would be like a restaurant telling you "If you want some French fries
with your steak,
go get them for the Macdo next door" ;-)

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.








~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220376
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


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Russ
The original message mentioned that image manipulation doesn't come with
php, but as a free community provided plugin.  There has been code posted
many times on this list that does image manipulation.  It is already or can
easily be converted to a cfc.  Now, unless someone has a problem with the
quality that it produces, or the features that it has,  I don't see what
everyone is whining about?  You have been given the code... stick it in a
cfc, and use it... no need to learn java, other people have done it for you.




-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 1:05 PM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!

Precisely my thoughts Claude. I don't know Java. I don't care to learn Java
(at this point). I just want a toolset in my favorite language, coldfusion.



-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:57 AM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!


 >>I tend to agree with other responses.  Image manipulation is available
in the underlying java

Java is not a panacea for CF users nor an excuse for any lack of some
tool in CF.
Many CF developers do not wish to learn and use Java.
Developers who really want to use Java would go JSP instead.
It would be like a restaurant telling you "If you want some French fries
with your steak,
go get them for the Macdo next door" ;-)

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220375
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
Precisely my thoughts Claude. I don't know Java. I don't care to learn Java
(at this point). I just want a toolset in my favorite language, coldfusion.



-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:57 AM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!


 >>I tend to agree with other responses.  Image manipulation is available
in the underlying java

Java is not a panacea for CF users nor an excuse for any lack of some
tool in CF.
Many CF developers do not wish to learn and use Java.
Developers who really want to use Java would go JSP instead.
It would be like a restaurant telling you "If you want some French fries
with your steak,
go get them for the Macdo next door" ;-)

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220373
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Claude Schneegans
 >>I tend to agree with other responses.  Image manipulation is available
in the underlying java

Java is not a panacea for CF users nor an excuse for any lack of some 
tool in CF.
Many CF developers do not wish to learn and use Java.
Developers who really want to use Java would go JSP instead.
It would be like a restaurant telling you "If you want some French fries 
with your steak,
go get them for the Macdo next door" ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220371
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


Re: image manipulation in coldfusion?

2005-10-07 Thread Bryan Stevenson
> ImageCR3 does that impeccably. When specifying dimensions for the resize
> you put >250x>100  and it will resize the width down to 250 if greater
> and/or the height down to 100 is greater than 100 with prefect quality
> results.

as does minelook at the scaleBy attributeensures that dimension is 
within given size limit

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220360
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


Re: image manipulation in coldfusion?

2005-10-07 Thread Bryan Stevenson
Well ya weren't following that close KevinI posted CFC methods to check 
image dimensions AND another to re-sizea couplde of CFIFs and those will 
get ya what ya want ;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220359
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
Done.



-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 10:20 AM
To: CF-Talk
Subject: Re: Image manipulation - Why Macromedia?!


On 10/7/05, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I'm not asking CF to provide everything. But this is something that almost
> every needs at one point or another. How many people us cfchart compared
to
> the number of people that would want to manipulate images?
>

http://www.macromedia.com/go/wish

Regards,
Dave.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220357
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
Here here!



-Original Message-
From: Matthew Small [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 10:19 AM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!


I agree, that's a fair question.  CF's whole purpose is "RAD" and inclusion
of things that make development far easier.  CFGRID is one of those things,
CFGRAPH is one, there could easily be CFIMAGE.  All MM/Adobe needs to do is
buy something like the ImageCR product and integrate it.  I imagine it would
be a great reason in favor up upgrading to the next version.

Matthew Small


-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:12 AM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!

I'm not asking CF to provide everything. But this is something that almost
every needs at one point or another. How many people us cfchart compared to
the number of people that would want to manipulate images?



-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 10:08 AM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!


It is available in your own language.  ColdFusion is really java, and there
has been code posted in java to do image manipulation.  Anything that could
be done in java could be done in ColdFusion.  If you need something that
performs better, then you go pay for it.  ColdFusion can't possibly include
everything.

Russ

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:00 AM
To: CF-Talk
Subject: Image manipulation - Why Macromedia?!

Okay...

This is related to my original post about image manipulation, but is NOT
asking about a specific program.

My question is that since SO MANY people look for image manipulation in
their programming language, why don't more developers add this feature into
their language. Even PHP doesn't have this stuff natively (that I know of)
but does allow you to add it in via extra libraries.

So consider this an open letter to Macromedia/Adobe. Why isn't something
which is so desired by so many people added into your language? I could go
and pay $75 for an excellent codebase (Alagad's Image Component) but doesn't
it make sense to include this into the language itself? I just don't
understand it.

Can anyone enlighten me on this?












~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220355
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Rick Root
I tend to agree with other responses.  Image manipulation is available
in the underlying java, and it's not that difficult to implement.  There
are several cfcs out there - some are free - that do image manipulation.

I do admit that it'd be nice to see them implement CFIMAGE like
Bluedragon has done, but it doesn't bother me that much because there
are plenty of cheap and/or free alternatives that aren't difficult to
implement.

Alternatively, generating PDFs and doing reporting from within CF was
always possible before, but only by using costly products or methods
that were extremely difficult to implement (I had integrated
JasperReports with CFMX 6.1.  JasperReports is the open source java
reporting solution that the CFMX7 solution is built on)

Rick

Andy Matthews wrote:
> Okay...
> 
> This is related to my original post about image manipulation, but is NOT
> asking about a specific program.
> 
> My question is that since SO MANY people look for image manipulation in
> their programming language, why don't more developers add this feature into
> their language. Even PHP doesn't have this stuff natively (that I know of)
> but does allow you to add it in via extra libraries.
> 
> So consider this an open letter to Macromedia/Adobe. Why isn't something
> which is so desired by so many people added into your language? I could go
> and pay $75 for an excellent codebase (Alagad's Image Component) but doesn't
> it make sense to include this into the language itself? I just don't
> understand it.
> 
> Can anyone enlighten me on this?
> 
>  andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220354
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Rick Faircloth
Agreed...

Rick


> -Original Message-
> From: Mark Drew [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 07, 2005 11:12 AM
> To: CF-Talk
> Subject: Re: Image manipulation - Why Macromedia?!
> 
> 
> It cant include everything but it does pretty much everything now!
> 
> Also considering that Macromedia will become part of Adobe why not a real
> good set of image manipulation tags (Photoshop image scaling alogarithm
> anyone?)
> 
> I agree with Andy here, ok.. we cant do the most "esoteric" things but we
> can do uploads natively, move files, list directories, ftp things, create
> reports and what not, why not a few image manip tags?
> 
tions & Support: http://www.houseoffusion.com/tiny.cfm/54


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220353
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


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Jordan Michaels
BlueDragon Server includes a CFIMAGE tag which does basic image
manipulation.

-JM



Matthew Small wrote:

>I agree, that's a fair question.  CF's whole purpose is "RAD" and inclusion
>of things that make development far easier.  CFGRID is one of those things,
>CFGRAPH is one, there could easily be CFIMAGE.  All MM/Adobe needs to do is
>buy something like the ImageCR product and integrate it.  I imagine it would
>be a great reason in favor up upgrading to the next version.
> 
>Matthew Small
> 
>
>-Original Message-
>From: Andy Matthews [mailto:[EMAIL PROTECTED] 
>Sent: Friday, October 07, 2005 11:12 AM
>To: CF-Talk
>Subject: RE: Image manipulation - Why Macromedia?!
>
>I'm not asking CF to provide everything. But this is something that almost
>every needs at one point or another. How many people us cfchart compared to
>the number of people that would want to manipulate images?
>
>andy matthews
>web developer
>ICGLink, Inc.
>[EMAIL PROTECTED]
>615.370.1530 x737
>--//->
>
>-Original Message-----
>From: Russ [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 07, 2005 10:08 AM
>To: CF-Talk
>Subject: RE: Image manipulation - Why Macromedia?!
>
>
>It is available in your own language.  ColdFusion is really java, and there
>has been code posted in java to do image manipulation.  Anything that could
>be done in java could be done in ColdFusion.  If you need something that
>performs better, then you go pay for it.  ColdFusion can't possibly include
>everything.
>
>Russ
>
>-Original Message-
>From: Andy Matthews [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 07, 2005 11:00 AM
>To: CF-Talk
>Subject: Image manipulation - Why Macromedia?!
>
>Okay...
>
>This is related to my original post about image manipulation, but is NOT
>asking about a specific program.
>
>My question is that since SO MANY people look for image manipulation in
>their programming language, why don't more developers add this feature into
>their language. Even PHP doesn't have this stuff natively (that I know of)
>but does allow you to add it in via extra libraries.
>
>So consider this an open letter to Macromedia/Adobe. Why isn't something
>which is so desired by so many people added into your language? I could go
>and pay $75 for an excellent codebase (Alagad's Image Component) but doesn't
>it make sense to include this into the language itself? I just don't
>understand it.
>
>Can anyone enlighten me on this?
>
>andy matthews
>web developer
>ICGLink, Inc.
>[EMAIL PROTECTED]
>615.370.1530 x737
>--//->
>
>
>
>
>
>
>
>
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220352
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Dave Carabetta
On 10/7/05, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I'm not asking CF to provide everything. But this is something that almost
> every needs at one point or another. How many people us cfchart compared to
> the number of people that would want to manipulate images?
>

http://www.macromedia.com/go/wish

Regards,
Dave.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220351
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Matthew Small
I agree, that's a fair question.  CF's whole purpose is "RAD" and inclusion
of things that make development far easier.  CFGRID is one of those things,
CFGRAPH is one, there could easily be CFIMAGE.  All MM/Adobe needs to do is
buy something like the ImageCR product and integrate it.  I imagine it would
be a great reason in favor up upgrading to the next version.
 
Matthew Small
 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 11:12 AM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!

I'm not asking CF to provide everything. But this is something that almost
every needs at one point or another. How many people us cfchart compared to
the number of people that would want to manipulate images?



-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 10:08 AM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!


It is available in your own language.  ColdFusion is really java, and there
has been code posted in java to do image manipulation.  Anything that could
be done in java could be done in ColdFusion.  If you need something that
performs better, then you go pay for it.  ColdFusion can't possibly include
everything.

Russ

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:00 AM
To: CF-Talk
Subject: Image manipulation - Why Macromedia?!

Okay...

This is related to my original post about image manipulation, but is NOT
asking about a specific program.

My question is that since SO MANY people look for image manipulation in
their programming language, why don't more developers add this feature into
their language. Even PHP doesn't have this stuff natively (that I know of)
but does allow you to add it in via extra libraries.

So consider this an open letter to Macromedia/Adobe. Why isn't something
which is so desired by so many people added into your language? I could go
and pay $75 for an excellent codebase (Alagad's Image Component) but doesn't
it make sense to include this into the language itself? I just don't
understand it.

Can anyone enlighten me on this?










~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220350
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation - Why Macromedia?!

2005-10-07 Thread Mark Drew
It cant include everything but it does pretty much everything now!

Also considering that Macromedia will become part of Adobe why not a real
good set of image manipulation tags (Photoshop image scaling alogarithm
anyone?)

I agree with Andy here, ok.. we cant do the most "esoteric" things but we
can do uploads natively, move files, list directories, ftp things, create
reports and what not, why not a few image manip tags?

MD

On 07/10/05, Russ <[EMAIL PROTECTED]> wrote:
>
> It is available in your own language. ColdFusion is really java, and there
> has been code posted in java to do image manipulation. Anything that could
> be done in java could be done in ColdFusion. If you need something that
> performs better, then you go pay for it. ColdFusion can't possibly include
> everything.
>
> Russ
>
> -Original Message-
> From: Andy Matthews [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 07, 2005 11:00 AM
> To: CF-Talk
> Subject: Image manipulation - Why Macromedia?!
>
> Okay...
>
> This is related to my original post about image manipulation, but is NOT
> asking about a specific program.
>
> My question is that since SO MANY people look for image manipulation in
> their programming language, why don't more developers add this feature
> into
> their language. Even PHP doesn't have this stuff natively (that I know of)
> but does allow you to add it in via extra libraries.
>
> So consider this an open letter to Macromedia/Adobe. Why isn't something
> which is so desired by so many people added into your language? I could go
> and pay $75 for an excellent codebase (Alagad's Image Component) but
> doesn't
> it make sense to include this into the language itself? I just don't
> understand it.
>
> Can anyone enlighten me on this?
>
>  andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
>
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220349
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


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Andy Matthews
I'm not asking CF to provide everything. But this is something that almost
every needs at one point or another. How many people us cfchart compared to
the number of people that would want to manipulate images?



-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 10:08 AM
To: CF-Talk
Subject: RE: Image manipulation - Why Macromedia?!


It is available in your own language.  ColdFusion is really java, and there
has been code posted in java to do image manipulation.  Anything that could
be done in java could be done in ColdFusion.  If you need something that
performs better, then you go pay for it.  ColdFusion can't possibly include
everything.

Russ

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:00 AM
To: CF-Talk
Subject: Image manipulation - Why Macromedia?!

Okay...

This is related to my original post about image manipulation, but is NOT
asking about a specific program.

My question is that since SO MANY people look for image manipulation in
their programming language, why don't more developers add this feature into
their language. Even PHP doesn't have this stuff natively (that I know of)
but does allow you to add it in via extra libraries.

So consider this an open letter to Macromedia/Adobe. Why isn't something
which is so desired by so many people added into your language? I could go
and pay $75 for an excellent codebase (Alagad's Image Component) but doesn't
it make sense to include this into the language itself? I just don't
understand it.

Can anyone enlighten me on this?








~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220347
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image manipulation - Why Macromedia?!

2005-10-07 Thread Russ
It is available in your own language.  ColdFusion is really java, and there
has been code posted in java to do image manipulation.  Anything that could
be done in java could be done in ColdFusion.  If you need something that
performs better, then you go pay for it.  ColdFusion can't possibly include
everything. 

Russ

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 11:00 AM
To: CF-Talk
Subject: Image manipulation - Why Macromedia?!

Okay...

This is related to my original post about image manipulation, but is NOT
asking about a specific program.

My question is that since SO MANY people look for image manipulation in
their programming language, why don't more developers add this feature into
their language. Even PHP doesn't have this stuff natively (that I know of)
but does allow you to add it in via extra libraries.

So consider this an open letter to Macromedia/Adobe. Why isn't something
which is so desired by so many people added into your language? I could go
and pay $75 for an excellent codebase (Alagad's Image Component) but doesn't
it make sense to include this into the language itself? I just don't
understand it.

Can anyone enlighten me on this?






~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220344
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


RE: image manipulation in coldfusion?

2005-10-07 Thread Andy Matthews
Put it out there Pete. I'd be interesting in seeing what else you added to
it, There's a few things that I wish tmt_img did differently. All in all,
it's a great piece of code though. Thank you Massimo.



-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 6:03 AM
To: CF-Talk
Subject: Re: image manipulation in coldfusion?


It didn't, but I wrote an app on top of tmt_img that does it.  If
you're interested in my code, shoot me an email.  I also extended
tmt_img a bit.

Pete



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220306
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: image manipulation in coldfusion?

2005-10-07 Thread Andy Matthews
Massimo's tag has getHeight and getWidth methods. Call those on an image,
then check accordingly.



-Original Message-
From: Parker, Kevin [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005 11:48 PM
To: CF-Talk
Subject: RE: image manipulation in coldfusion?


Thanks guys - I've been following this with interest as I have a
particular resizing challenge at the moment.

What I'm looking for is a way to test the size of an image before its
displayed and then resize it if its width exceeds 250px - if 250px or
less then it can be left alone.

Not sure if tags like Massimo's support that or not.

Any suggestions please.



++
Kevin Parker
Web Services Consultant
WorkCover Corporation

p: 08 8233 2548
m: 0418 806 166
e: [EMAIL PROTECTED]
w: www.workcover.com

++

-Original Message-
From: Roger B. [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 October 2005 1:53 PM
To: CF-Talk
Subject: Re: image manipulation in coldfusion?

> That's what I tried to do when
> I wrote version 2.0 of my CFC and I achieved a huge increase in
quality.

Massimo: Just to let you know... I was playing around with your CFC, and
noticed that on some images (usually horizontally oriented ones),
bufferedCrop() would throw an "outside of raster" error. I was able to
fix it by modifying the code to check for crop operations that exceed
the height of the image.

With that said, thanks for putting the code out there.

--
Roger Benningfield
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220302
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: image manipulation in coldfusion?

2005-10-07 Thread Pete Ruckelshaus
It didn't, but I wrote an app on top of tmt_img that does it.  If
you're interested in my code, shoot me an email.  I also extended
tmt_img a bit.

Pete

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220296
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


RE: image manipulation in coldfusion?

2005-10-07 Thread Martin Parry
ImageCR3 does that impeccably. When specifying dimensions for the resize
you put >250x>100  and it will resize the width down to 250 if greater
and/or the height down to 100 is greater than 100 with prefect quality
results.

Martin
http://www.beetrootstreet.com

-Original Message-
From: Parker, Kevin [mailto:[EMAIL PROTECTED] 
Sent: 07 October 2005 05:48
To: CF-Talk
Subject: RE: image manipulation in coldfusion?

Thanks guys - I've been following this with interest as I have a
particular resizing challenge at the moment.

What I'm looking for is a way to test the size of an image before its
displayed and then resize it if its width exceeds 250px - if 250px or
less then it can be left alone.

Not sure if tags like Massimo's support that or not.

Any suggestions please. 



++
Kevin Parker
Web Services Consultant
WorkCover Corporation

p: 08 8233 2548
m: 0418 806 166
e: [EMAIL PROTECTED]
w: www.workcover.com

++

-Original Message-
From: Roger B. [mailto:[EMAIL PROTECTED] 
Sent: Friday, 7 October 2005 1:53 PM
To: CF-Talk
Subject: Re: image manipulation in coldfusion?

> That's what I tried to do when
> I wrote version 2.0 of my CFC and I achieved a huge increase in
quality.

Massimo: Just to let you know... I was playing around with your CFC, and
noticed that on some images (usually horizontally oriented ones),
bufferedCrop() would throw an "outside of raster" error. I was able to
fix it by modifying the code to check for crop operations that exceed
the height of the image.

With that said, thanks for putting the code out there.

--
Roger Benningfield
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220288
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


RE: image manipulation in coldfusion?

2005-10-06 Thread Parker, Kevin
Thanks guys - I've been following this with interest as I have a
particular resizing challenge at the moment.

What I'm looking for is a way to test the size of an image before its
displayed and then resize it if its width exceeds 250px - if 250px or
less then it can be left alone.

Not sure if tags like Massimo's support that or not.

Any suggestions please. 



++
Kevin Parker
Web Services Consultant
WorkCover Corporation

p: 08 8233 2548
m: 0418 806 166
e: [EMAIL PROTECTED]
w: www.workcover.com

++

-Original Message-
From: Roger B. [mailto:[EMAIL PROTECTED] 
Sent: Friday, 7 October 2005 1:53 PM
To: CF-Talk
Subject: Re: image manipulation in coldfusion?

> That's what I tried to do when
> I wrote version 2.0 of my CFC and I achieved a huge increase in
quality.

Massimo: Just to let you know... I was playing around with your CFC, and
noticed that on some images (usually horizontally oriented ones),
bufferedCrop() would throw an "outside of raster" error. I was able to
fix it by modifying the code to check for crop operations that exceed
the height of the image.

With that said, thanks for putting the code out there.

--
Roger Benningfield
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220287
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


Re: image manipulation in coldfusion?

2005-10-06 Thread Roger B.
> That's what I tried to do when
> I wrote version 2.0 of my CFC and I achieved a huge increase in quality.

Massimo: Just to let you know... I was playing around with your CFC,
and noticed that on some images (usually horizontally oriented ones),
bufferedCrop() would throw an "outside of raster" error. I was able to
fix it by modifying the code to check for crop operations that exceed
the height of the image.

With that said, thanks for putting the code out there.

--
Roger Benningfield
http://admin.support.journurl.com/
http://admin.mxblogspace.journurl.com/

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220286
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


Re: image manipulation in coldfusion?

2005-10-05 Thread Bryan Stevenson
> I've checked out your code.  It's great.  We just use ImageCR for the 
> broad
> filetype support.

yep...mine is great for good old JPG/GIF manipbut when ya hit the TIFFs 
it gets fuzzyBTW I do have some code to convert multi-page TIFFs to PDF 
(one page per page in TIFF)compliments of the wonderous package iText 
;-)

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220137
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


RE: image manipulation in coldfusion?

2005-10-05 Thread Emmet McGovern
Sorry Bryan ;)

I've checked out your code.  It's great.  We just use ImageCR for the broad
filetype support. 

-e

 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 04, 2005 8:01 PM
To: CF-Talk
Subject: Re: image manipulation in coldfusion?

> We use imageCR3 and love it.  I only wish it was java based so we could 
> use
> it on linux.
>
> -e

Once againmy code is Java based and FREE (not as sophisticated as 
imageCR3but original poster doesn't need the fancy stuff)

OK...I'm done talking to myself ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220136
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: image manipulation in coldfusion?

2005-10-05 Thread Burns, John D
Bryan, 

How is the quality on the resizes for that? I've used some java stuff
like that before and had issues with the quality. Things seemed to come
out a little distorted. From what I can see in the component, it doesn't
seem like there's any kind of argument for the quality. Let me know if
you've had similar experiences. For some of the people I've tried doing
this for, they're artists and bands and people who are a little more
particular about the resize quality so I really need it to be top notch.
Let me know. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 05, 2005 11:36 AM
To: CF-Talk
Subject: Re: image manipulation in coldfusion?

..and for those that care (Tony got his offlist)here's the FREE
code I was on about yesterday.enjoy!!



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220135
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: image manipulation in coldfusion?

2005-10-05 Thread Massimo Foti
> How is the quality on the resizes for that? I've used some java stuff
> like that before and had issues with the quality.

You can use Java for image manipulation and achieve good quality results.
You just have to dig the APIs a little more. That's what I tried to do when
I wrote version 2.0 of my CFC and I achieved a huge increase in quality.

You can get it from here and give it a try (it's free):
http://www.olimpo.ch/tmt/cfc/tmt_img/


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220134
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   3   >