ZSoft .pcx files have lots of possible header combinations depending on the version and other attributes. because it's quite a small header I've added all 40 possible versions based on https://en.wikipedia.org/wiki/PCX. This will provide (hopefully) 100% confidence against any .pcx file you'll come across.
I've extended the naming to cover the various types, equally happy to remove/amend the stuff in ( ) if you feel it's too much.
ZSoft .pcx files have lots of possible header combinations depending on the version and other attributes. because it's quite a small header I've added all 40 possible versions based on https://en.wikipedia.org/wiki/PCX. This will provide (hopefully) 100% confidence against any .pcx file you'll come across.
I've extended the naming to cover the various types, equally happy to remove/amend the stuff in
( )
if you feel it's too much.