As can be seen here https://irfanview-forum.de/forum/pro...xternal-editor the current behavior of opening files in an external editor can be very confusing:
- The external editor does not open at all (without an error message)
- The external editor does open, but without opening the image
- The external editor does open with the file, but without any change made within IrfanView
The reason behind this is that IrfanView only passes on any existing image files, as saved. Most other programs don't work like this: they save the image as presented at that moment to temparary file, then pass it to the external editor.
I propose IrfanView to do the same: if the file has been edited in IrfanView, or isn't saved at all, then save the current image state losslessly, e.g. as PNG, to the user's temporary folder and open that file in the external editor. That way, all of the unexpected behavior described above would be eliminated.
- The external editor does not open at all (without an error message)
- The external editor does open, but without opening the image
- The external editor does open with the file, but without any change made within IrfanView
The reason behind this is that IrfanView only passes on any existing image files, as saved. Most other programs don't work like this: they save the image as presented at that moment to temparary file, then pass it to the external editor.
I propose IrfanView to do the same: if the file has been edited in IrfanView, or isn't saved at all, then save the current image state losslessly, e.g. as PNG, to the user's temporary folder and open that file in the external editor. That way, all of the unexpected behavior described above would be eliminated.