get my python module "bitplanelib.py" at
https://github.com/jotd666/amiga68ktools.git
It is able to convert amiga bitplanes to PNG and the other way round. I'm using it for all my arcade conversions.
Try to dump a simple PNG to amiga bitplanes, then you can analyze the output data format