We don’t currently have anything to read that format, however, if I understood it right, it does not look too difficult to read.
What you want too look at with this sort of thing is how does the system interact with the image. For example, does the system receive the image via an AXI Stream interface? In this case you can have the file reader in your test code and then pass that as a burst transaction to the interface. The AXI stream burst interface uses a FIFO and data can read and then immediately be pushed into the FIFO.
If you need more help, I would need to know more details of the system.