Bitmap bmp = new Bitmap(img); int compressionTagIndex = Array.IndexOf(bmp.PropertyIdList, 0x103); PropertyItem compressionTag = bmp.PropertyItems[compressionTagIndex]; byte[] com = compressionTag.Value;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)