Open mrlacey opened 4 years ago
@fabiant3 fyi
How would this be different from the asset generator built into visual studio for UWP apps? (Package > Visual Assets > Asset Generator) I always just specify an SVG and have it generate all the required sizes. This was added to solve this specific problem as far as I recall.
Must be related https://github.com/microsoft/ProjectReunion/issues/132
How would this be different from the asset generator built into visual studio for UWP apps? (Package > Visual Assets > Asset Generator) I always just specify an SVG and have it generate all the required sizes. This was added to solve this specific problem as far as I recall.
The current asset generator creates all the files so they exist on disk and are part of the project. MAUI/Resizetizer only generates them at build time. This keeps the project smaller and means that any new file sizes that are needed in the future can be created automatically.
Generating at build time -- or even better just using an SVG in the package -- sounds like a great idea.
This looks like an issue for Project Reunion. Closing as this seems a dupe of https://github.com/microsoft/ProjectReunion/issues/132 I'll be happy to reopen if that is not the case.
This looks like an issue for Project Reunion. Closing as this seems a dupe of https://github.com/microsoft/ProjectReunion/issues/132 I'll be happy to reopen if that is not the case.
That issue has been moved to this repo as it directly relates to WinUI. By closing this in favor of #3561, does that mean you're confirming support for SVG is coming? The linked issue says it is dependent upon other work in the shell but there is no public indication that this is coming.
Even if SVG support was added, SVGs may not be appropriate for all images. Suggesting that support for the use of SVGs means this isn't relevant implies that WinUI will be switching to exclusively using SVGs. Is this the case?
Not doing this means more work for developers using WinUI3 and ignoring related, similar advances in MAUI that are designed to make development easier.
This looks like an issue for Project Reunion. Closing as this seems a dupe of https://github.com/microsoft/ProjectReunion/issues/132 I'll be happy to reopen if that is not the case.
That issue has been moved to this repo as it directly relates to WinUI. By closing this in favor of #3561, does that mean you're confirming support for SVG is coming? The linked issue says it is dependent upon other work in the shell but there is no public indication that this is coming.
Even if SVG support was added, SVGs may not be appropriate for all images. Suggesting that support for the use of SVGs means this isn't relevant implies that WinUI will be switching to exclusively using SVGs. Is this the case?
Not doing this means more work for developers using WinUI3 and ignoring related, similar advances in MAUI that are designed to make development easier.
I will go ahead and leave the issue open as it seems this one does not exclusively limit images to SVG as the other issue does. Unfortunately, we are unable to commit to this work right now and would have to look into it after WinUI 3.0. It seems more people are in favor of SVG support from the previous issue. I am curious to know if SVG support would work for your particular use case? If not, could you provide some more insight as to why?
Proposal: Automatically generate all needed images from one source
Summary
Where multiple images are needed for store assets, splash screens, tiles, etc. it would be great if the project only needed one (source) image and would automatically generate all the different needed ones from that.
Rationale
Scope
Important Notes
Open Questions