Announcement

Collapse
No announcement yet.

Is it possible to detect if the image file is deleted in other app?

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

    Is it possible to detect if the image file is deleted in other app?

    # Background
    Hi, new to this app and thank you for the work

    # What I have and Done
    - I have a file

    > C:\Temp\abc.jpg

    - Open the file in IrfanView

    - Delete this file in File Explorer

    - AltTab back to IrfanView and the image is still shown

    # What I expect
    - Detect the loss of file and close window/move to the next(preferred)
    eg. VSCode

    - popup a window to ask if user need to keep the image shown
    eg. Notepad++

    # Thank you for your time!

    #2
    When a file is open in IrfanView it is a bitmap in RAM and can be saved elsewhere in different formats with or without image processing. Deleting the file on disk should have no effect; just like doing the same using any other program.

    You can get the behaviour that you want by deleting the file from within IrfanView, without the trouble of Alt+Tab. See Settings, File-handling, Jump to the next file after deleting/moving.

    There is also an option to warn before deleting files (if activated in Recycle Bin settings).
    Before you post ... Edit your profile • IrfanView 4.67 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpRiot.dllMore SkinsFastStone CaptureUploads

    Comment


      #3
      Originally posted by Bhikkhu Pesala View Post
      When a file is open in IrfanView it is a bitmap in RAM and can be saved elsewhere in different formats with or without image processing. Deleting the file on disk should have no effect; just like doing the same using any other program.
      Hi, thank you for your answer. Will try to work around somehow

      Comment

      Working...
      X