Now the wrapper allows to set raw and mono pixel formats with any mode.