Detect area of a PNG that is not transparent with HTML

JavascriptWeb DevelopmentFront End Scripts

To detect an area of a PNG that is not transparent:

  •  You need to first get the buffer
  •  You need to get 32-bits reference of that buffer
  •  Scan 0 widths to find x1 edge
  •  Scan width 0 to find x2 edge
  •  Height to find the y1 edge
  •  Height 0 to find the y2 edge
raja
Published on 10-Apr-2018 12:37:07
Advertisements