avoid issue where htmlimage can't load 16bit pngs