Announcement

Collapse
No announcement yet.

batch processing and subdirectory tree

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    batch processing and subdirectory tree

    Hello,

    Introduction
    Irfanview has an excellent function for batch processing images from a source folder and its subfolders, and putting the results into a target folder, including the original folder/subfolder structure. However, this function contains a bug.

    Short bug description
    However, if the source folder is not located in the root directory, but in a directory tree, Irfanview will create in the target folder the entire tree structure above the target folder, not just its subfolders.

    Problems caused by this bug:
    Extremely long pathnames, easily exceeding maximum allowed pathname length for CDROM or DVD archives, computer-to-computer copy operations etc.


    Example / receipe to reproduce the problem :

    Original tree structure:
    C:\projects\2007\november\my-project\

    Operation: Batch conversion e.g. to 500x500 pixels.
    Options used:
    - Look in Folder: C:\projects\2007\november\my-project\large
    (Folder "large" contains image subfolders e.g. folder1, folder2, folder3 etc)
    - Batch Dialog: Include Subdirectories (for 'Add All')
    - Target Folder: C:\projects\2007\november\my-project\500x500
    - Advanced Batch Dialog: Create Subdirectories in Destination Folder
    - Advanced Batch Dialog: Resize, H 500 W 500

    Expected result:
    target folder C:\projects\2007\november\my-project\500x500
    contains image subfolders folder1, folder2, folder3

    Real result (irfanview 4.10):
    Irfanview re-creates the entire directory tree from source folder up to the root folder .
    The resulting tree structure is:

    C:\projects\2007\november\my-project\500x500\projects\2007\november\my-project\large
    with subfolders folder1, folder2, folder3

    irfanview version: 4.10
    OS: Win XP SP2

    Thanks in advance!
    Jan-Evert Zondag
    Last edited by ardito; 14.12.2007, 09:46 AM. Reason: clarification of long term problems caused by the bug
Working...
X