Images: Resize and Copy
Images: Resize and Copy
RealWorld Graphics logo    
Not logged in.  
IndexSoftwareGraphicsArticlesDiscussMore...

Login/Register
Forum List
Announcements
Icons and Cursors
Images
3D graphics
Win32 C/C++/VB
.NET C#/C++/VB
Tips and tricks
General discussion
User List
Search this site using Google

Windows Vista icons

Find out how Vista icons differ from XP icons.

See how RealWorld Icon Editor handles Vista icons.

I wish there were ...

Back to forum Images

Resize and Copy

2006-11-06Author: donbwalker
I don’t see an example for the command line photoresize that does:

Resize all images in a folder to max 90pix wide with aspect the same (create a thumbnail) and put them in another directory lower than the current one.

PhotoresizeW90.exe –o does not seem to do anything.



The file PhotoresizeW90.exe resides in the same folder as the larger images and the sub folder is called \thumbs which is a subfolder off of that one.


I created a batch file that runs the photoresizeW90.exe –o

Thanks for any help.


2006-11-06Author: Vlasta
The -o switch just prevents the final message (and allows customizing the output), but maybe you forgot to specify the actual files. Beside the options, the command line must also specify the files or folders to resize.

I presume, that using . (dot) to indicate that you want to resize images in the current folder should be enough. But it may interfere with your second requirement - putting the images into a subdirectory. The -c switch puts the files into current directory instead of to the directory with source images. If you make the thumbs directory current and then resize all images in parent directory using .. , it should work. The -r switch should also be present to prevent the tool to also attempt to resize images in the thumbs folder.

To sum it up, if you have a .bat file, it should look like this:

cd thumbs
PhotoResizeW90.exe -o -c -r ..

thumbs subdirectory must already exist and the directory with images must be the current directory of the process.

Hope that helps


Post Reply

Please login or register before posting.

Message text:


Back to forum Images

Copyright © 2005-2007 RealWorld Graphics. Contact: info@rw-designer.com.