C++ parser for tiny image dataset using Magick libraries