I’ve only used mnist data with Python and Keras. But funny enough same question has been asked before and you can find there how to use mnist with processing.
thanks for this, I figured out how to read the data, I was just wandering if a specific benefit to using the ubyte format over a traditional image format?