Revert use of autoload
Hi, I'm using this module on OpenBSD in an environment that uses its pledge mechanism to restrict the functionality of the program for increased security when parsing untrusted images.
The 0.4.0 release of gd2-ffij changed the behavior to autoload classes at runtime, which breaks my application because it's not allowed to read additional files once pledge has been called. The previous release used require so the entirety of the gd2-ffij module was loaded by the time my application called pledge to lock things down.
Could this use of autoload be reverted to go back to require each dependency up front?
Interesting, I wasn’t aware of this issue. Perhaps a middle ground solution could be used — what about a heavy load file that could be required that would load up everything as before in addition to auto loading for those who don’t want everything loaded at once?
Sure, that would be fine by me. Either way so I don't have to maintain a forked repo :)