chflags nohidden does not seem to work in macOS Mojave.
It works fine in OS X 10.10.5.
Is it a problem specific to macOS Mojave or is it related to the fact that the volume is a APFS one?
Also I'm not sure to understand why when you open an invisible PNG and export it as-is with Preview.app, the exported image is still invisible. It's supposed to be an export, not a duplicate.