|  | |
07-09-2008, 11:41 AM
|
#1 (permalink)
|
True Techie Join Date: Nov 2003 Location: Minneapolis, MN Posts: 157
| Script to resize photos dropped in a folder? At an old job, we had a folder that ran a script that would crunch down photos that were dropped in and output three versions: 150 px, 300 px, and 500 px...72 DPI. We called it the "Prep for Web" folder.
It was completely automated.
How could I do something like that? A premade script would be ideal, but any suggestions are greatly appreciated!
Thanks...
__________________ Gateway Machine - I know...I sold out...if I could do it over I'd have built like I used to 
MS Vista Premium 32-bit
AMD Phenom (9500) Quad-core Processor 2.20 ghz
500GB hard drive
3GB DDR2 RAM
2 Free PCI-E slots x1
1 Free PCI-E x16 |
| |
07-09-2008, 07:08 PM
|
#2 (permalink)
|
Wizard Techie Join Date: Feb 2006 Location: Maine Posts: 3,688
| Re: Script to resize photos dropped in a folder? You can do this a lot of ways, using PHP, JavaScript, Java applet, Flash...etc.
Here's a tutorial I found to do it with PHP: Resize/Thumbnail Images With PHP - Viper Creations
__________________ Need website help? PM me! |
| |
07-09-2008, 10:45 PM
|
#3 (permalink)
|
I am of the highest lvl.. Join Date: Oct 2007 Location: Sydney, Australia Posts: 2,456
| Re: Script to resize photos dropped in a folder? Yeah you need GD library which most Hosts have installed to do this with PHP, if your talking about on your home PC, with normal windows folders, i think you need to actually install PHP on your pc.
__________________ My pick up line is: I know Vernong. Trotter: "Ask all the questions you want... whatever we don't know, we'll make
up something that sounds pretty good."
Antec-User: "I have a display now, but the darn system is crash-bandicoot on stock" |
| |
07-10-2008, 01:20 PM
|
#4 (permalink)
|
T.F's Resident Cool Guy... Join Date: Aug 2006 Posts: 1,625
| Re: Script to resize photos dropped in a folder? If you're talking windows based you'll need some software, as for as i know this can't be done with any programming through the windows gui.
If you're talking hosting it can very much be done with php / javascript
~ Tkey |
| |
07-10-2008, 02:11 PM
|
#5 (permalink)
|
Software Developer Join Date: Mar 2006 Location: Columbus, OH Posts: 569
| Re: Script to resize photos dropped in a folder? Quote: |
as for as i know this can't be done with any programming through the windows gui.
| Actually it can. The simplest way would be to use the FileSystemWatcher in a .Net app or windows service. |
| |
07-10-2008, 02:27 PM
|
#6 (permalink)
|
T.F's Resident Cool Guy... Join Date: Aug 2006 Posts: 1,625
| Re: Script to resize photos dropped in a folder? Any links on this jaeusm ?
You've got me interested
Cheers,
~ Tkey |
| |
07-11-2008, 07:14 AM
|
#7 (permalink)
|
I am of the highest lvl.. Join Date: Oct 2007 Location: Sydney, Australia Posts: 2,456
| Re: Script to resize photos dropped in a folder? Yeah you can do it. Ive seen it done with Python.
__________________ My pick up line is: I know Vernong. Trotter: "Ask all the questions you want... whatever we don't know, we'll make
up something that sounds pretty good."
Antec-User: "I have a display now, but the darn system is crash-bandicoot on stock" |
| |
07-11-2008, 09:17 AM
|
#8 (permalink)
|
Software Developer Join Date: Mar 2006 Location: Columbus, OH Posts: 569
| Re: Script to resize photos dropped in a folder? Quote: |
Any links on this jaeusm ?
| MSDN doc for FileSystemWatcher: FileSystemWatcher Class (System.IO) |
| |
07-11-2008, 06:40 PM
|
#9 (permalink)
|
Wizard Techie Join Date: Feb 2006 Location: Maine Posts: 3,688
| Re: Script to resize photos dropped in a folder? Quote:
Originally Posted by Tkey If you're talking windows based you'll need some software, as for as i know this can't be done with any programming through the windows gui. | What?
Surely C/C++ or Java could do this. Or Perl/Python.
__________________ Need website help? PM me! |
| |
07-12-2008, 07:17 AM
|
#10 (permalink)
|
T.F's Resident Cool Guy... Join Date: Aug 2006 Posts: 1,625
| Re: Script to resize photos dropped in a folder? By windows GUI i ment the folder options available. Coding in a language such as C may make this possiable, but as for changing a few options it isnt.
Sorry, it was my bad |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | How to install xp without the xp cd. | EricB | Windows Operating Systems and Software | 45 | 03-07-2009 06:17 PM | | Free Photos | jay_bo | Web Graphics, Design, Digital Images | 2 | 04-03-2008 07:35 AM | | Home Edition Troubles | ChemicalMonkey | Windows Operating Systems and Software | 34 | 01-20-2008 09:26 PM | | |