Yes - the subfile image is kept in the program's memory. I've also done it using User Spaces for cases where a "reference" type subfile can be shared by multiple users.
The technique is explained here: https://www.itjungle.com/2008/10/08/fhg100808-story01/<https://www.itjungle.com/2008/10/08/fhg100808-story01/> I'm sure I've rewritten that in a more modern style but can't find the reference. That one uses a fixed array size but the technique with dynamic memory is the same.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.