예제 #1
0
        public override void GetTagData(byte[] iccData, int index, ICCHeader header)
        {
            //Count, specifying number of structures in the array (4 bytes)
            NumberCount = (int)HighEndianReader.GetUint32(iccData, index, IsLittleEndian);
            //Positions table for profile identifiers
            PositionTable = new PositionNumber[NumberCount];
            int dataEntryPoint = 0;;

            for (int i = 0; i < NumberCount; i++)
            {
                dataEntryPoint   = index + 4 + 8 * i;
                PositionTable[i] = new PositionNumber(iccData, i, IsLittleEndian);
            }
            //Profile ID (16 bytes)
            dataEntryPoint += 8;
            ProfileID       = HighEndianReader.GetProfileID(iccData, dataEntryPoint);
            dataEntryPoint += 16;
            //Profile description
            ProfileDescription = new MultiLocalizedUnicodeTag()
            {
                IsPlaceHolder = false
            };
            ProfileDescription.GetTagData(iccData, dataEntryPoint, header);
            //ICCTagData t = new ICCTagData();
        }