View Single Post
Old 09-27-2017, 01:37 PM   #3
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by KevinH View Post
IrfanView should have a way to disable creation of unwanted backup _org files. Perhaps a command line switch? Have you asked on the IrFanView support site how to do that?
There is a way to do that,

EDIT-- actually, there isn't.

Click image for larger version

Name:	Sigil_Irfanview.png
Views:	185
Size:	240.3 KB
ID:	159214

Of the three save options, only the second which use the original filename, and creates the backup, will be imported back to the epub. The other options will make a new file that Sigil ignores.

If I could easily find the temp folder these files are in I could delete the backup file. But the location isn't obvious and would take a while to find. This makes it all more hassle than extracting the file and editing and importing back to Sigil.

Now I'm aware of it I can delete any extra files using other tools.

Those who don't use EPUBchek though would have no hint that these backup files even existed in the epub.

I thought it deserved attention: why is Sigil importing the file at all, but not adding to the manifest? And could it happen in other cases with other programs launched by "open with" on image or html files?

-- PPS If I use Irfanview to simply rename the file, when I revert to Sigil, the original filename is still listed in the manifest, but is not there, and the renamed file is in the Images folder of the zip, but is invisible to Sigil. Both these are reported as errors by EPUBcheck. Of course, renaming the file like that is a stupid thing to do, but it illustrates the issue. I guess some operations use the file name; others a file handle.

Last edited by DiapDealer; 09-28-2017 at 06:52 PM. Reason: Restoration of relevant image (thumbnailed to comply with size restrictions))
AlanHK is offline   Reply With Quote