File creation time stays the same on Windows for at least JPEG format
See original GitHub issueI have a Windows 7 x64 machine, and if I use toFile to output a JPEG that already exists it does overwrite the file but it leaves the modification date the same (which is very confusing).
However, if I am outputting a dz tile format using a compressed zip file the modification time does get updated when overwriting.
Interestingly, the operation appears to silently fail if an uncompressed tile format folder exists. For example, if I give the toFile command a path of c:\test\image1.dz and there is already a folder at c:\test\image1_files the command will silently fail (with no error) and will not modify the c:\test\image1.dzi file. If I delete the c:\test\image1_files folder first, the operation succeeds (and also updates the modification time of the c:\test\image1.dzi file.
Issue Analytics
- State:
- Created 6 years ago
- Comments:25 (4 by maintainers)

Top Related StackOverflow Question
OK, libvips issue for this: https://github.com/jcupitt/libvips/issues/729
@lovell I guess you can close.
Let’s move this discussion to the libvips issue.
https://github.com/jcupitt/libvips/issues/729
At least it’s changing now.