Skip to content

0.7.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Nov 21:12
3e9dc27

Features

  • Support tiff files for icon.

Updated

  • Update GetBitmapFrame to round width that is changed by dpi.
  • Add GetBitmapFrameByWidthAndDpi to get optimal frame by dpi and width.
  • Add GetSystemDpi to get the system dpi on the fly.
  • Add SystemDpi to store the system dpi value.
  • Update GetBitmapFrameByWidthAndDpi to round dpi frame value.
  • Update Width to Math.Round to improve order by Width.
  • Update GetBitmapFrameByWidthAndDpi to public.
  • Update GetBitmapFrameByWidthAndDpi to return last Width.
  • Update UriToBitmapFrame to use GetBitmapFrameByWidthAndDpi with int.MaxValue.

Example

  • Add Cube-Grey-Light.tiff and Cube-Grey-Dark.tiff in AppTheme.

Tests

  • Add ResourceTiffTests with Cube.tiff with multiple dpi and scales.