¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Question on #consolecommands


 

Oristo,
The color fringing wasn't readily apparent to me until I saw the photo attachment from Rich Messeder where his color fringing is easily distinguishable when zoomed in. You are correct that your current script does not exhibit color fringing (attachments: foo_1a = earliest script, foo_1b = current script).

Also for me in your current script,
b = b[:153600]
x = struct.unpack("<76800H", b)
Does not give me the same result as:
x = struct.unpack(">76800H", b[:153600])

The first two statements return an image with no fringing but the screen colors are wrong (see foo_2x attachments). The other statement returns an image with no fringing and correct screen colors (see foo_1b). The two code snippets look the same to me so I'm not sure why the screen colors differ.
------------
P.S.
Rich Messeder,
The fringing is correctable in code but wasn't even noticeable on my screen grab until I zoomed in.

Regards,

- Herb

Join [email protected] to automatically receive all group messages.