PS You said “Running falsecolor.exe with the given command line (both, with and without -lw) works fine on my machine”. Actually I’m having problems if I use -lw 0, If I omit the flag or I give it a non-zero value it works for me too.
Hi Mattia, I still can’t replicate the error you are seeing with -lw 0. Works fine for me. In the screenshot you posted, are slab.hdr and scol.hdr valid HDR images that you can open with your HDR viewer?
These files are indeed messed up. They are 1x1 (single pixel) images with CR-LF sequences that should be just linefeeds. I am not sure how they are being created. Are you sure you are using the latest version of psign, and not some problematic version? Unfortunately, I can’t really debug your problem from here, unless someone else can help you reproduce it.
Hi @Greg_Ward, I could recreate the error on my machine. From what I can see in the source code when -lw is less than 20 it is set to 0 to ignore the legend:
Which then means that it tries to create a dummy color scale from some two images that it expects to be in the temp folder. scolpic and slabpic - which it fails to find and that’s why it raises the issue:
When I run the command with a larger value for -lw I can see that the temp folder with all the temp files are created. I can also see all the images being created by running the falsecolor command with no argument while it is waiting for the stdin to provide an input.
PS: I think between the time that the images are created and when you try to read them the temp folder is being deleted so the command cannot find the files when it looks for them.