Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.7.1 #37

Merged
merged 14 commits into from
Nov 19, 2024
Merged

Release 0.7.1 #37

merged 14 commits into from
Nov 19, 2024

Conversation

ricaun
Copy link
Member

@ricaun ricaun commented Nov 19, 2024

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.

Copy link
Member Author

@ricaun ricaun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@ricaun ricaun merged commit 3e9dc27 into master Nov 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant