26 references to Format
PresentationCore (16)
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
715ColorContext colorContext = new ColorContext(frame.Format);
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (3)
534source.Format.Format != PixelFormatEnum.Extended 540PixelFormat duceFormat = BitmapSource.GetClosestDUCEFormat(source.Format, source.Palette); 541bool changeFormat = (source.Format != duceFormat);
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (8)
812int minStride = checked(((sourceRect.Width * Format.BitsPerPixel) + 7) / 8); 905PixelFormat format = Format; 951Guid destFmt = GetClosestDUCEFormat(Format, Palette).Guid; 1297Debug.Assert(destFmt == colorConvertedBitmap.Format); 1604_format = sourceBitmap.Format; 1736return IsCompatibleFormat(Format); 1885guidFormat = bitmapSource.Format.Guid; 1977PixelFormat pfStruct = bitmapSource.Format;
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
305return bitmap.Source.Format;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (3)
859Guid formatGuid = source.Format.Guid; 862if (source.Format.Palettized) 878GetEstimatedSize(source.PixelWidth, source.PixelHeight, source.Format));
PresentationFramework (10)
src\Framework\MS\Internal\AppModel\IconHelper.cs (5)
209if (bitmapSource.Format != PixelFormats.Bgra32 && bitmapSource.Format != PixelFormats.Pbgra32) 217int bpp = bitmapSource.Format.BitsPerPixel; 498int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
src\Framework\System\Windows\Documents\WpfPayload.cs (3)
676if (imageSource1.Format.BitsPerPixel != imageSource2.Format.BitsPerPixel || 686int stride = ((imageSource1.PixelWidth * imageSource1.Format.BitsPerPixel) + 7) / 8;
src\Framework\System\Windows\Standard\Utilities.cs (2)
156int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;