substitute thumbnail png with canvas
use thumbnail canvas buffer