Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Animate SVG not PNG

Explorer ,
Sep 22, 2018 Sep 22, 2018

Hi,

Is there no way to animate an SVG as opposed to a PNG in the publish settings? At the moment, a PNG is generated but we need it to scale up and a PNG blurs when you scale it up.

I do see an option to export an SVG but how does one use the SVG instead of the PNG?

Here's my example Gate Logo

Many thanks.

754
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Sep 23, 2018 Sep 23, 2018

I found the problem! My mistake. The assets supplied to us were imported as BMP files so when I exported it, it created the PNG sprite.

The export now, after importing the vector files created an html file and the JS file...super light at 14Kb

Apologies for the run around

Translate
LEGEND ,
Sep 22, 2018 Sep 22, 2018

There are a lot of different publish options. What exactly are you talking about?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 23, 2018 Sep 23, 2018

Hello Clay,

When you see that link, the animation blurs because it is an PNG that is being exported (even though in Animate, I imported a vector file), so I expected that am SVG file would be output to use as the animation element, rather than a PNG sprite.

João I will look at the extension, I just thought it would have been an obvious option since Animate comes from original Flash and vector is what one output.

Granted, it's about optimisation, but I would have liked to see the option to use an SVG over a PNG. I do see an option to export the SVG and it does, I just hoped there was an option automatically use it over the PNG.

Will give your solution a try now, thanks João

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 22, 2018 Sep 22, 2018
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 23, 2018 Sep 23, 2018

I found the problem! My mistake. The assets supplied to us were imported as BMP files so when I exported it, it created the PNG sprite.

The export now, after importing the vector files created an html file and the JS file...super light at 14Kb

Apologies for the run around

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 23, 2018 Sep 23, 2018

OK. No problem.

Have a nice weekend!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 23, 2018 Sep 23, 2018

Thanks João, you too

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 23, 2018 Sep 23, 2018
LATEST

I'm most astonished that anyone in this century thought it was a good idea to save an image as a BMP. You might want to look into replacing whoever did that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines