Gustav Brock
Gustav at cactus.dk
Wed Oct 6 11:34:29 CDT 2010
Hi Doug and Joe IrfanView it is ... It can, but when I tested it years ago it couldn't resize a rectangular picture - portrait or landscape - to automatic best fit within a given square. However, today it may be able to do so. /gustav >>> dw-murphy at cox.net 06-10-2010 18:03 >>> Joe, Take a look at Infranview. I use it for batch processing. Have not run it from code but believe it is possible. ---- Joe O'Connell <joeo at appoli.com> wrote: > I am developing an A2003 application for a division of a construction > company that installs guardrails on highways. They have long term > contracts with the Department of Transportation to fix/repair/replace > guardrails that have been damaged. Part of the documentation that is > required is to provide a "before" and an "after" picture for all > repairs. > > The application lets the user browse the memory card for the pictures > and then copies them to the computer's disk. The original size of the > pictures is 5-6mb. Not only will a lot of disk space be required to > store the pictures, but pictures of this size take a lot of time to be > scaled for forms and reports. Due to the number of pictures processed > each day, it is not feasible for the user to manually resize the > pictures before uploading. What I would like to do is to resize the > pictures during this transfer process to about 10% of their original > size. > > Any suggestions or code snippets to resize the pictures are greatly > appreciated. > > Joe O'Connell