Adobe Photoshop has an excellent scripting extension you can download from
their Web site, and I have used it via Windows Scripting Host to resize
images, apply actions to images, and generally do all things Photoshop. The
scripting extension comes with a (fairly) complete DOM that actually gives
you a lot of insight into how particular filters were produced. You can use
javascript or VBA to automate the production of images, and provide numerous
examples of how to script the application. 

That being said, the one time I tried scripting the application via
Coldfusion was catastrophic, and I do not believe this was due to a lack of
skill on my part. I was trying to take all the files in a directory and
resize them by a certain percentage (this is a simple task). Coldfusion 5
ran out of memory, started throwing Pcode errors, and restarted frequently.
I called Abode for support and they were horrified by what I was trying to
do, saying the product was not intended for this use (they don't seem to
like programmers over there).

Eventually, the server itself would lock up almost immediately after calling
the object - so if you were thinking about this for a production environment
you may want to think of demoting it to a secondary server and plan on
having it go out of commission often. Or, put it on a desktop machine and
run it via a scheduled task or cron job (which is what I do these days).

M

-----Original Message-----
From: Pablo Varando [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2003 7:23 PM
To: CF-Talk
Subject: Re: CF and PhotoShop


More then likely he's trying to generate images on the fly...

The only way I could even imagine achieving this would be to see what type
(if any) of COM connections Photoshop has. I use Photoshop extensively, but
have never really tried to integrate the two.

The best thing you can do is to download the OLEView application:
http://www.microsoft.com/com/resources/OVI386.EXE

and install it on the machine that had Photoshop, then see if Photoshop has
COM connections available.. (Not even sure it does, or that it will allow
you to do anything useful..)

If you are not familiar with COM, check out this basic tutorial:
http://www.cfcomet.com/general_COM/OLEView/

Good luck :)
Pablo

----- Original Message -----
From: "Michael T. Tangorre" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 6:17 PM
Subject: Re: CF and PhotoShop


> can i ask why you would want to do this?
>
> ----- Original Message -----
> From: "Owens, Howard" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 4:34 PM
> Subject: CF and PhotoShop
>
>
> > Any of you ever scripted CF to run tasks in PhotoShop?  Can it be 
> > done? CFExecute and all that.  On Win2K?
> >
> > Any pointers on how to do it?
> >
> > H.
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Howard Owens
> > Internet Operations Coordinator
> > InsideVC.com/Ventura County Star
> > [EMAIL PROTECTED]
> > AIM: GoCatGo1956 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to