Esempio n. 1
0
            public NativeHeifImageHandle(HeifContext context, uint imageId)
            {
                var instance = NativeMethods.HeifImageHandle_CreateById(HeifContext.GetInstance(context), imageId);

                if (instance == IntPtr.Zero)
                {
                    throw new HeifException("Unable to load heif image handle.");
                }

                this.Instance = instance;
            }