Skip to content

Support .lottie files in LottieGen. - #376

Merged
simeoncran merged 3 commits into
masterfrom
LottieGen.Lottie
Oct 26, 2020
Merged

simeoncran merged 3 commits into
masterfrom
LottieGen.Lottie

Conversation

@simeoncran

Copy link
Copy Markdown
Contributor

See https://dotlottie.io for file details.
LottieGen will now read .lottie files as well as .json files.

See https://dotlottie.io for file details.
LottieGen will now read .lottie files as well as .json files.
@simeoncran
simeoncran requested a review from a team as a code owner October 25, 2020 18:53
@simeoncran
simeoncran marked this pull request as draft October 25, 2020 18:53
@simeoncran
simeoncran marked this pull request as ready for review October 26, 2020 17:11
Comment thread LottieGen/FileProcessor.cs Outdated
using Microsoft.Toolkit.Uwp.UI.Lottie.DotLottie;

/// <summary>
/// Processes a file containing an animation and produces various generated outputs.

@simeoncran simeoncran Oct 26, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can contain more than one animation. #Closed

timestamp: _timestamp);

case ".json":
default:

@derobinsMSFT derobinsMSFT Oct 26, 2020 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's not an error to have a file that doesn't end in .json or .lottie? #ByDesign

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, on purpose. Nothing requires JSON files to be .json. However .lottie files do need to be named with .lottie.


In reply to: 512253491 [](ancestors = 512253491)

@derobinsMSFT derobinsMSFT left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

:shipit:

@simeoncran
simeoncran merged commit 0589774 into master Oct 26, 2020
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.

2 participants