예제 #1
0
        public IWICBitmapEncoder CreateEncoder(ContainerFormat format, Guid?guidVendor = null)
        {
            IWICBitmapEncoder encoder = CreateEncoder_(WIC.GetGuid(format), guidVendor);

            encoder._factory = this;
            return(encoder);
        }
예제 #2
0
        public IWICBitmapEncoder CreateEncoder(Guid guidContainerFormat)
        {
            IWICBitmapEncoder encoder = CreateEncoder_(guidContainerFormat, null);

            encoder._factory = this;
            return(encoder);
        }