Hi Greg,
It seems there was a header change introduced last year to the image format (additional spaces to the resolution) that causes some problems with other radiance tools, plus it seems to be inconsistent.
I have quite complex scripts running a new method for annual glare simulations and it was running on head releases from 2016 and 2021. Now that I used the current release it failed and it took me one day to find out that actually pgblur is producing “sometimes” (not always) a wrong x-resolution in the header (output resolution differ from input), and it seems to be related to a different header that comes from newer versions from rtrace. Our guess here is that pgblur was not updated when the change was introduced?
Further, we saw that rtrace produces the “new spaces” in the header after the number, whereas pfilt introduces the spaces before the number… So the parsing in some of the c-shell scripts that read out the header would probably fail (e.g. in pacuity.csh normpat.csh pgblur.csh vlpic.csh ).
example:
getinfo -d test.hdr
test.hdr: -Y 55 +X 52
pfilt test.hdr |getinfo -d
-Y 55 +X 52
pgblur -r 4 test.hdr |getinfo -d
-Y 55 +X 26
If needed I can send the test.hdr, which I was not able to upload here, even it has only 55x52 pixels.
Could you check (and fix) that problem ?
Thank you!
best
Jan