BUG
RASTERMARKERSYMBOL shows an extra border if the original *.gif has a border defined. This is a known issue.
This is a limitation of scaling the image, when placing the RASTERMARKERSYMBOL in the coordinates exactly matching the point.
Note:
If the GIF image has 2 black pixels as the border, removing one row and column of black pixels fixes the problem.
Get help from ArcGIS experts
Download the Esri Support App