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

How i can export animated gif by means of jsfl?

New Here ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

Hi all.
How i can export animated gif by means of jsfl?

Is there an analogue fl.getDocumentDOM().exportPNG for File->Export->Export Animated GIF

Views

309

Translate

Translate

Report

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

LEGEND , Feb 07, 2017 Feb 07, 2017

This is theoretically possible, but would require a lot of effort. You'd have to export the frames as a PNG sequence, then use the FLfile API to read in the PNGs as binary data (might not be possible... the docs are vague on this point), then use a JavaScript port of libpng to convert that to raw pixel data, then use a JavaScript-based GIF encoder to compress the image sequence and write it out.

Votes

Translate

Translate
Community Expert ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

not that i see.

Votes

Translate

Translate

Report

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 ,
Feb 07, 2017 Feb 07, 2017

Copy link to clipboard

Copied

LATEST

This is theoretically possible, but would require a lot of effort. You'd have to export the frames as a PNG sequence, then use the FLfile API to read in the PNGs as binary data (might not be possible... the docs are vague on this point), then use a JavaScript port of libpng to convert that to raw pixel data, then use a JavaScript-based GIF encoder to compress the image sequence and write it out.

Votes

Translate

Translate

Report

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