在fastreport v4.7.5版本中,有一个功能是,把资源文件中图像转换为TImageList中,其中一个函数frxAssignImages(Bitmap: TBitmap; dx, dy: Integer; ImgList1: TImageList; ImgList2: TImageList = nil);有一个bug
此函数有这样一句:
Done := y > Bitmap.Height;
这句语句会导致把图像中的最后一行图标在TImageList中重复。
改为下面即可:
Done := y >= Bitmap.Height;