Bug 48085 - Impress EXPORT: exporting animation to GIF performs without animation
Summary: Impress EXPORT: exporting animation to GIF performs without animation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 95063 (view as bug list)
Depends on:
Blocks: Images-Animated Presentation-Export Graphics-Export
  Show dependency treegraph
 
Reported: 2012-03-30 02:51 UTC by sasha.libreoffice
Modified: 2022-11-16 17:48 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
example document with animation (10.39 KB, application/vnd.oasis.opendocument.presentation)
2012-03-30 02:51 UTC, sasha.libreoffice
Details
Presentation with animated gif (150.23 KB, application/vnd.oasis.opendocument.presentation)
2022-08-09 21:34 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sasha.libreoffice 2012-03-30 02:51:42 UTC
Created attachment 59264 [details]
example document with animation

Steps to reproduce:
0. Open attached file
1. Select square there
2. File->Export, select GIF as type, check "Selection" on bottom, enter filename, press Save
3. Open produced GIF image in viewer
Expected: produced picture is with animation, in this example rotation
Actually: picture without animation

Further information:
Help topic "Exporting Animations in GIF Format":
1. Select an animated object on your slide.
2. Choose File - Export.
3. Select GIF - Graphics Interchange Format (.gif) in the File type list.
4. Click the Selection check box to export the selected object, and not the entire slide.
5. Locate where you want to save the animated GIF, enter a name, and then click Save.

As I can see, or it is a bug in program, exporting works wrong. Or it is bug in Help, and in step 1 should added word GIF:
1. Select an animated GIF object on your slide.
And this means just extracting GIF picture from odp file.
Reproduced in 3.3.4 and 3.5.1 on Fedora 64 bit
Comment 1 bfoman (inactive) 2012-08-31 08:20:56 UTC
All this is about exporting animations made following "Creating Animated GIF Images" Help chapter, not "Animating Objects in Presentation Slides".
Comment 2 A (Andy) 2013-02-16 20:35:52 UTC
reproducible with LO 4.0.0.3 (Win7 Home, 64bit)

The LO Online Help says, as mentioned in the bug report, the possibility to export animated GIFs.  The related LO help topic speaks about "Creating Animated GIF Images" in Impress, therefore it seems to me as it is a bug.
Comment 3 Zeki Bildirici 2014-01-12 21:59:25 UTC
Hi,
Reproducible with Version: 4.2.0.1
Build ID: 420m0(Build:1)
Comment 4 Joel Madero 2015-05-02 15:41:54 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2015-06-20 14:06:19 UTC
Repro.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 6 Joel Madero 2015-10-14 18:47:42 UTC
*** Bug 95063 has been marked as a duplicate of this bug. ***
Comment 7 QA Administrators 2016-11-08 11:22:25 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2019-12-03 14:01:33 UTC Comment hidden (obsolete)
Comment 9 Jun Nogata 2020-03-13 02:38:30 UTC
Reproduced in 6.4.

Version: 6.4.1.2
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (C); UI-Language: en-US
Calc: threaded
Comment 10 Danny Sk 2020-05-08 07:24:11 UTC Comment hidden (spam)
Comment 11 QA Administrators 2022-05-09 03:29:20 UTC Comment hidden (obsolete)
Comment 12 Regina Henschel 2022-08-09 21:34:09 UTC
Created attachment 181670 [details]
Presentation with animated gif

The attachment 59264 [details] has a shape with spin-animation. That is only available in presentation mode. So that example works for me.

But exporting of animated gif is indeed broken. Open the file and select the animation (right side). Export it as gif and open the exported file in a browser, for example. There is no animation. The animated image was created with LibreOffice 5.4. The export is broken at least since version version 3.5.

It works in OOo3.2, but it does not work in AOO 4.1. So the error is likely inherited from OOo.
Comment 13 Stéphane Guillou (stragu) 2022-11-16 12:55:55 UTC
Regina, do you mean that exporting animated objects (e.g. a shape with an impress animation like in attachment 59264 [details]) was never supported and is not supposed to?

If that's the case, and only exporting of animated Gifs is possible, the documentation should be clarified, as said in the description (and this bug could be a documentation bug):
https://help.libreoffice.org/7.4/en-US/text/simpress/guide/animated_gif_save.html?&DbPAR=SHARED&System=UNIX

The export of a gif from impress can be done with "context menu > save", which gives me the impression that the selection export was more about exporting impress animations.
Comment 14 Regina Henschel 2022-11-16 17:48:42 UTC
(In reply to Stéphane Guillou (stragu) from comment #13)
> Regina, do you mean that exporting animated objects (e.g. a shape with an
> impress animation like in attachment 59264 [details]) was never supported
> and is not supposed to?

That animation is a smil-animation and different from animated gif. I think, it was never supposed to be exported as animated gif. If you export the whole slide (not only the selected shape) to SVG, then the smil-animation is correctly exported as smil-animantion. It would be an enhancement to work too for a selection and it would be an enhanced that export to gif produces an animated gif.

> 
> If that's the case, and only exporting of animated Gifs is possible, the
> documentation should be clarified, as said in the description (and this bug
> could be a documentation bug):
> https://help.libreoffice.org/7.4/en-US/text/simpress/guide/animated_gif_save.
> html?&DbPAR=SHARED&System=UNIX

Yes, the documentation should say, that this is only about animated gifs, which were created with the tool at Insert > Media > Animated Image.

> 
> The export of a gif from impress can be done with "context menu > save",
> which gives me the impression that the selection export was more about
> exporting impress animations.

Good to know that Save from context menu works. But that is new, it should work with File > Export as well. It had worked in the past.

So here are two problems:
1. Improve the documentation. In addition to the above mentioned improvement it should point to Save from context menu, at least as long as File > Export is not fixed.
2. Fix File > Export for animated gif.