bbox line on image almost solved for bitmap images