Shouldnt need custom validation here, imagemagick does it
No need for cpp api