I am trying to create a database for Bangla digits like MNIST so that anyone can use this database with code they use for MNIST. But I don't understand the MNIST format or how to create this type database from .jpg images.
http://yann.lecun.com/exdb/mnist/