3D gif Exportimage produces a huge file extremely slowly

Arnaud Mortier shared this question 3 months ago
Answered

Hi,

I have been trying to make Exportimage work with the following minimal example:


Open a brand new project

  • Create a slider a with range -5 to 5 by step=1
  • Create a plane z=a*x+y
  • Run ExportImage("filename", "image.gif", "type", "gif", "view", -1, "rotate", 360°, "slider", a, "loop", false, "time", 1000)


To make things as simple as possible, I've asked for a no-loop gif, with 1 second between consecutive frames.


The result is that it then takes Geogebra exactly 60 seconds to build a 6.5MB file. The same occurs if you replace 360° with 0°.


I'm now very scared of what might happen if I were to ask for more frames. Can this process be made more efficient?

Thanks for any ideas.

Best Answer
photo
  • In Chrome, you can try the experimental syntax "type", "webm" to get a faster & smaller export than with animated GIFs

Also reduce the size eg "width":200

Comments (2)

photo
2
  • In Chrome, you can try the experimental syntax "type", "webm" to get a faster & smaller export than with animated GIFs

Also reduce the size eg "width":200

photo
1

The width option is perfect, thank you.

With width=800 and 100 frames, the files is still only 3.5MB large and quite decent to the eye.

photo
© 2020 International GeoGebra Institute