-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support .svg formats #256
Comments
@limeniye thanks for the report. It's indeed something that is not working properly anymore, likely because assets are not excluded properly. @pedrojesus-work @dansiegel can you take a look? |
We should provide a succinct way to exclude a folder from being processed by Resizetizer and have such a folder even included by default in the template - e.g. have a |
@limeniye transfered here as the issue is caused by Resizetizer |
Also I have one more question: |
@limeniye, I could use the <Image
Height="50"
HorizontalAlignment="Center"
Source="ms-appx:///UnoApp77/Svg/tikal.svg"
Stretch="Uniform" /> The thing, is that on old templates we've a instruction on csproj that make all I'll confirm if we've something like that on Uno.Sdk, but I think so. |
updated sample that works: But I found an issue, right now we just lookup for asset's name inside the |
From @Youssef1313:
fyi @pedrojesus-work, cf. related changes in Uno -> https://github.com/unoplatform/uno/pull/16558/files |
@pedrojesus-work, I have the following problem: As you can see the .svg file, inside of /Svg/ folder is displaying well. |
@limeniye it should be, can you try the latest dev package? Anyway @dansiegel will move this forward |
@pedrojesus-work, Unfortunately, images inside of subfolders ( |
@limeniye when this is merged to Uno this should help as well it seems that on the Uno targets we aren't actually including Svg's as Content even though we do have the exclude for the UnoImage. |
@dansiegel I think we should match for Resizetizer here the latest changes @Youssef1313 made in the Uno repo to set |
Attached discussion:
unoplatform/uno#16456
The problem
In previous version of Uno.Resizetizer I had a good quality pictures via .svg format for WinUI.
After the packages update I had to change the .svg to .png (because the .svg format doesn't work now for me)
When I have changed the formats to .png -- the quality of pictures were downgraded.
What I have tried
I have tried to move the image file to the
/Svg/
folder but it didn't display.Attached files
SvgIssue.zip
For which platform
Windows (WinAppSDK)
The text was updated successfully, but these errors were encountered: