|  |  | 
 |  |  | import com.xzx.gc.common.utils.SpringUtil;
 | 
 |  |  | import com.xzx.gc.common.utils.gdmap.GdMapUtil;
 | 
 |  |  | import com.xzx.gc.common.utils.gdmap.GdTraceUtil;
 | 
 |  |  | import com.xzx.gc.common.utils.image.GraphicsUtils;
 | 
 |  |  | import com.xzx.gc.entity.*;
 | 
 |  |  | import com.xzx.gc.model.order.FenceDto;
 | 
 |  |  | import com.xzx.gc.model.user.AccountVo;
 | 
 |  |  | 
 |  |  | 
 | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  |     @Autowired
 | 
 |  |  |     private GraphicsUtils graphicsUtils;
 | 
 |  |  | 
 | 
 |  |  |     @Test
 | 
 |  |  |     public void haibaoTest() {
 | 
 |  |  |         String imageName = "/test.jpg";
 | 
 |  |  |         String path = "/Users/helius/Desktop/acode.jpg";
 | 
 |  |  |         String avatar = "https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132";
 | 
 |  |  |         String backgroundUrl = "/Users/helius/Desktop/user_share_poster_bg.png";
 | 
 |  |  | 
 | 
 |  |  |         graphicsUtils.generatePoster(imageName, path, avatar, backgroundUrl, "15200889645", 100, 340, 57, 94, 230, 160, 40);    }
 | 
 |  |  | 
 | 
 |  |  | }
 |