I found the bug in Irfanview where it doesn't work properly on a large number of files

Discussion in 'Digital Photography' started by Annu Pai, Mar 28, 2009.

  1. Annu Pai

    Annu Pai Guest

    I found what the bug is in Irfanview where it doesn't do batch and
    thumbnail operations on file when the folder contains a large number of
    files.

    First, I googled for the problem and saw in these two forums that others
    had the same problem where Irfanview would only operate on a subset of the
    large number of JPEG photos in any one Windows XP folder, even though all
    were selected by the user.

    The problem is you have to let Irfanview DRAW all the thumbnails!

    For example, if you only have a thousand pictures, or even a few hundred,
    in a folder, and you want to auto-rotate all those pictures losslessly, you
    already know the sequence is ...

    1. Open up any one digital photograph in Irfanview
    2. File -> Thumbnails
    3. Options -> Select All
    4. File -> JPEG Lossless Operations -> Lossless Rotation with Selected
    Files

    Even if you follow this process EXACTLY, you will NOT get a lossless
    rotation of all your files if you don't know that Irfanview has a bug where
    even if you've selected all the files in a folder, if you don't WAIT for
    all the thumbnails to draw AFTER you've selected them in step 3 above, then
    Irfanview will only operate on those digital photos whose thumbnails did
    draw at the exact time you hit the button in step 4 above.

    Basically, for large numbers of files in a folder, the bug is you have to
    wait ten, fifteen, maybe twenty minutes for Irfanview to finish drawing all
    the thumbnails. Only then, when step 3 has completed redrawing every single
    thumbnail in the folder (easily hundreds, potentially thousands), only then
    will Irfanview actually operate on all the files that you THOUGHT you
    selected.

    Once we know this bug, others can reproduce it and confirm that the only
    known workaround to this Irfanview drawing bug is to wait for all the
    thumbnails to be redrawn after selection in step 3 above (even thumbnails
    that do not show on the screen due to desktop size limitations).

    Others should confirm this bug before we report it to Irfan himself.
     
    Annu Pai, Mar 28, 2009
    #1
    1. Advertising

  2. Annu Pai wrote:
    > I found what the bug is in Irfanview where it doesn't do batch and
    > thumbnail operations on file when the folder contains a large number
    > of files.

    []
    > Others should confirm this bug before we report it to Irfan himself.


    Annu,

    I found a bug in command-line processing in 4.23, reported it to Irfan,
    and had a fix within a few hours. It was an area he had been working on.

    Splendid service!

    Why not report the problem in the IrfanView forum?
    http://en.irfanview-forum.de/vb/index.php?langid=1

    (I prefer a newgroup, though).

    David
     
    David J Taylor, Mar 28, 2009
    #2
    1. Advertising

  3. Annu Pai

    Roger Hunt Guest

    In article <kbjzl.13667$>, Annu Pai
    <> writes
    >I found what the bug is in Irfanview where it doesn't do batch and
    >thumbnail operations on file when the folder contains a large number of
    >files.
    >
    >First, I googled for the problem and saw in these two forums that others
    >had the same problem where Irfanview would only operate on a subset of the
    >large number of JPEG photos in any one Windows XP folder, even though all
    >were selected by the user.
    >
    >The problem is you have to let Irfanview DRAW all the thumbnails!
    >
    >For example, if you only have a thousand pictures, or even a few hundred,
    >in a folder, and you want to auto-rotate all those pictures losslessly, you
    >already know the sequence is ...
    >
    >1. Open up any one digital photograph in Irfanview
    >2. File -> Thumbnails
    >3. Options -> Select All
    >4. File -> JPEG Lossless Operations -> Lossless Rotation with Selected
    >Files
    >
    >Even if you follow this process EXACTLY, you will NOT get a lossless
    >rotation of all your files if you don't know that Irfanview has a bug where
    >even if you've selected all the files in a folder, if you don't WAIT for
    >all the thumbnails to draw AFTER you've selected them in step 3 above, then
    >Irfanview will only operate on those digital photos whose thumbnails did
    >draw at the exact time you hit the button in step 4 above.
    >
    >Basically, for large numbers of files in a folder, the bug is you have to
    >wait ten, fifteen, maybe twenty minutes for Irfanview to finish drawing all
    >the thumbnails. Only then, when step 3 has completed redrawing every single
    >thumbnail in the folder (easily hundreds, potentially thousands), only then
    >will Irfanview actually operate on all the files that you THOUGHT you
    >selected.
    >
    >Once we know this bug, others can reproduce it and confirm that the only
    >known workaround to this Irfanview drawing bug is to wait for all the
    >thumbnails to be redrawn after selection in step 3 above (even thumbnails
    >that do not show on the screen due to desktop size limitations).
    >
    >Others should confirm this bug before we report it to Irfan himself.


    I'm afraid I don't think I have that number of images on my whole
    system, let alone in one folder, otherwise I would try it.
    I guess at step (3) a message box warning of delay would be better,
    and step (4) disabled until the redrawing done.
    --
    Roger Hunt
     
    Roger Hunt, Mar 28, 2009
    #3
  4. Annu Pai

    Yrrah Guest

    Roger Hunt <>:

    > I'm afraid I don't think I have that number of images on my whole
    > system, let alone in one folder, otherwise I would try it.


    Same here.

    Yrrah

    --
    Some of the best of the best in Freeware
    http://www.pricelesswarehome.org/
     
    Yrrah, Mar 28, 2009
    #4
  5. Annu Pai

    orbro Guest

    Roger Hunt <> wrote in
    news:2$:

    > I'm afraid I don't think I have that number of images on my whole
    > system, let alone in one folder, otherwise I would try it.


    Blimey! I have a thousand pictures of Mrs. Thatcher alone. Not to mention
    my Golda Meir collection, which is to die for.
    -O
     
    orbro, Mar 28, 2009
    #5
  6. Annu Pai

    Roger Hunt Guest

    In article <%7uzl.103630$>, orbro
    <> writes
    >Roger Hunt <> wrote in
    >news:2$:
    >
    >> I'm afraid I don't think I have that number of images on my whole
    >> system, let alone in one folder, otherwise I would try it.

    >
    >Blimey! I have a thousand pictures of Mrs. Thatcher alone.


    How many do you have of her with somebody else in the picture?
    >Not to mention
    >my Golda Meir collection, which is to die for.
    >-O

    I suppose one glimpse would be lethal wouldn't it?
    --
    Roger Hunt
     
    Roger Hunt, Mar 28, 2009
    #6
  7. On Sat, 28 Mar 2009 18:37:47 GMT, orbro wrote:

    > Blimey! I have a thousand pictures of Mrs. Thatcher alone. Not to mention
    > my Golda Meir collection, which is to die for.


    That's one hell of a porn0 collection you've got there...

    --
    You gotta fight, for your right, to party...
    The best of the best in Freeware
    http://www.pricelesswarehome.org/
    Registered Linux User #485718
     
    John Stubbings, Mar 28, 2009
    #7
  8. Annu Pai

    Disco Dancer Guest

    Annu Pai <> wrote in
    news:kbjzl.13667$:

    > Basically, for large numbers of files in a folder, the bug is you have
    > to wait ten, fifteen, maybe twenty minutes for Irfanview to finish
    > drawing all the thumbnail


    isn't it faster to move the selected file and do the batch conversion over
    there?

    --
    Disco Dancer
    'Blame it on the boogie'
     
    Disco Dancer, Mar 28, 2009
    #8
  9. Annu Pai

    Annu Pai Guest

    On Sat, 28 Mar 2009 16:33:52 -0500, Guy wrote:
    > Wait for the count in the Title Bar.
    > Does it not show ####/####?


    Hi Guy,
    This is a GREAT idea! (and it's not obvious unless you already know that
    the operation will fail if you don't wait for this count to laborously
    count to the full number of files in the folder).

    I had not noticed the count in the top-left corner of the title bar.
    That count starts at, say, 1/500 and then counts up (e.g., 2/500, 3/500,
    etc.) until it gets to 500/500 a few minutes later (time is likely
    dependent on file size, machine speed, disk speed, etc.).

    Even though you can run the Irfanview JPEG Lossless Rotation command BEFORE
    the count gets to 500/500, you will only rotate those pictures which have
    been "counted".

    So, as suggested, perhaps Irvanview should gray out the JPG lossless
    operation menu until the "count" is complete.

    In summary, Irvanview JPEG Lossless Operations require all thumbnails to be
    "counted" ... so the workaround is to wait until the title bar shows 100%
    of the photos in the folder as having been "counted" before running any
    JPEG lossless operations.

    I wonder why Irfanview JPEG lossless operations have this "count-down"
    problem while the Irfanview batch operations do not seem to exhibit this
    "count-down" problem???
     
    Annu Pai, Mar 30, 2009
    #9
  10. Annu Pai

    Annu Pai Guest

    On 28 Mar 2009 19:28:26 GMT, Disco Dancer wrote:

    > isn't it faster to move the selected file and do the batch conversion over
    > there


    Irfanview batch conversion, afaik, does not do a LOSSLESS auto-rotation
    based on the EXIF orientation data. (If it did, I'd use it because the
    batch operation process is muuuuuuuuuuch faster than the thumbnail
    operation process).

    It's only the Thumbnail operation that exhibits the countdown problem where
    you have to wait for all thumbnails to redraw (and the count in the title
    bar to progress) before you can successfully run the operation. Otherwise
    the operation only works on those files that did redraw by the time you ran
    the operation.

    Note you can run the operation at any time after selecting the thumbnails,
    but the operation won't work on any of those files, even those selected,
    until the count gets to those files (which could take minutes).
     
    Annu Pai, Mar 30, 2009
    #10
  11. Annu Pai

    Annu Pai Guest

    On Sat, 28 Mar 2009 18:50:27 +0000, John Stubbings wrote:
    > That's one hell of a porn0 collection you've got there...


    On a 4GB card, it's common for me to take over 1,000 photos which I'd want
    Irfanview to automatically rotate and resize for me.

    Irfanview does a GREAT job of auto-rotate and auto-resize .... but the
    auto-rotate never finishes unless you know the trick of waiting a few
    minutes after selecting all the files to see the count get to 500 out of
    500 files.

    The auto-resize does not exhibit this count-down problem and will operate
    on each of the 500 files in sequence without you having to wait for the
    count to get to 500 out of 500.

    Interesting bug. Easy to work around once you know it. Frustrating if you
    don't know this little tidbit.
     
    Annu Pai, Mar 30, 2009
    #11
  12. Annu Pai

    Annu Pai Guest

    On Fri, 27 Mar 2009 23:04:16 -0700, Annu Pai wrote:

    > 1. Open up any one digital photograph in Irfanview
    > 2. File -> Thumbnails
    > 3. Options -> Select All
    > 4. File -> JPEG Lossless Operations -> Lossless Rotation with Selected
    > Files


    I should note Irfanview batch thumbnail auto-rotation will only work if
    your camera creates correct EXIF orientation data.

    THUMBNAIL AUTO-ROTATION EXHIBITS THE COUNT-DOWN BUG:
    0. Open up any one digital photograph in Irfanview
    1. File -> Thumbnails, Options -> Select All
    2. File -> JPEG Lossless Operations -> Lossless Rotation w Selected Files
    3. Auto rotate (according to EXIF orientation, if available)

    BATCH RENAME/RESIZE DOES NOT EXHIBIT THE COUNT-DOWN BUG:
    0. Open up any one digital photograph in Irfanview
    1. File -> Batch Conversion/Rename
    2. Add All
    3. Start Batch

    I wonder why auto-rotation shows this count-down problem while batch rename
    resize works as advertised?
     
    Annu Pai, Mar 30, 2009
    #12
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Danilo Silva
    Replies:
    4
    Views:
    605
    Danilo Silva
    Oct 18, 2003
  2. jacksu
    Replies:
    0
    Views:
    430
    jacksu
    Feb 24, 2004
  3. Scott D. Weber For Unuathorized Thoughts Inc.

    Backing Up Large Files..Or A Large Amount Of Files

    Scott D. Weber For Unuathorized Thoughts Inc., Sep 17, 2003, in forum: Computer Support
    Replies:
    1
    Views:
    1,015
    Joseph
    Sep 19, 2003
  4. Jen

    Stand By option doesn't work properly

    Jen, Sep 9, 2006, in forum: Computer Support
    Replies:
    0
    Views:
    528
  5. Susan
    Replies:
    60
    Views:
    1,823
    Blinky the Shark
    Jul 23, 2008
Loading...

Share This Page