Hotter 发表于 2020-6-30 22:05:04

[Question] Whats is the max file size of ICL?

Hi, how large ICL files can be?
I have uploaded 32.icl ~3mb and it was ok. But when I tried to move most of the pictures to 40.icl ~3mb pictures seem to baceme corrupted. Is there a difference between file names and sizes?

zhangying 发表于 2020-7-1 08:49:19

Hello, when naming an ICL file, you need to calculate the range occupied by the icon library strictly. Otherwise, it may cause the conflict of the icon range position and cause the display exception. For example: 48_ Icon. ICL file 1.23mb size, calculation formula: file size * 1024 / 256 = the interval value, 1.23 * 1024 / 256 = 4.92, that is to say, it takes 48, 49, 50, 51, 52 these five font intervals. As long as it is not divisible and occupies one more byte, it must be calculated as a font interval. Therefore, the next Icon Library naming needs to start at 53

578xiangni 发表于 2020-7-1 08:50:40

HI ,IntheFLASH ,thesingle fontspaceis256KB.Whenasingleiconlibraryoccupiedmorethan256KB,thespacemust becalculatedstrictly,otherwiseresult-inthedisplayexception. E.g. : ICL file size: 1.23MB, Calculation formula: file size *1024/256= the interval value,1.23*1024/256=4.92, that is, the occupation of 48, 49, 50, 51, 52 these 5 word library intervals,As long as it is not divisible, take-up one more byte must countasainterval.Therefore,thenext iconlibrarynaming needstostartat53

zhangying 发表于 2020-7-1 09:05:16

Hello,You can refer to the attachment.
页: [1]
查看完整版本: [Question] Whats is the max file size of ICL?