Download it now!
Bug 92643 - FILEOPEN save PNG with embedded animated GIF to just animated GIF (from PPT to ODP)
Summary: FILEOPEN save PNG with embedded animated GIF to just animated GIF (from PPT t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.4.4.3 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:ppt
Depends on:
Blocks: Images-Animated
  Show dependency treegraph
 
Reported: 2015-07-09 08:01 UTC by Ofir
Modified: 2019-01-14 13:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
PPT with animated GIF embedded in PNG (105.00 KB, application/vnd.ms-powerpoint)
2015-07-09 08:01 UTC, Ofir
Details
ODP still using the custom PNG format (28.62 KB, application/vnd.oasis.opendocument.presentation)
2015-07-09 08:02 UTC, Ofir
Details
Original animated GIF (8.37 KB, image/gif)
2015-07-09 08:02 UTC, Ofir
Details
Custome PNG with embedded animated GIF (15.53 KB, image/png)
2015-07-09 08:03 UTC, Ofir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir 2015-07-09 08:01:11 UTC
Created attachment 117144 [details]
PPT with animated GIF embedded in PNG

PPT has custom PNG format with embedded animated GIF inside it.
The animated GIF starts at msOGMSOFFICE9.0GIF89a in the PNG file.

LO display the PNG and the animated GIF correctly but because this image format isn't supported anywhere else, I suggest to extract the animated GIF from the PNG and save it just to GIF.
There is no reason to keep the PNG wrapper.

Tested with LO stable 4.4.4.3.

See attached a PPT with animated GIF embedded in a PNG image and the ODP converting from PPT still using the custom PNG format instead of the standard GIF.
Comment 1 Ofir 2015-07-09 08:02:01 UTC
Created attachment 117145 [details]
ODP still using the custom PNG format
Comment 2 Ofir 2015-07-09 08:02:21 UTC
Created attachment 117146 [details]
Original animated GIF
Comment 3 Ofir 2015-07-09 08:03:29 UTC
Created attachment 117147 [details]
Custome PNG with embedded animated GIF

The animated GIF is embedded inside the PNG and starts after msOGMSOFFICE9.0GIF89a in the file.
Comment 4 Joel Madero 2015-07-12 16:41:51 UTC
I don't understand this request. Can you just provide clear reproducible steps that are enumerated:

1) Open file;
2) Do Y;
3) Do Z;

Expected: Something awesome;
Observed: Something less awesome;

Also, please describe what you mean by "this image format isn't supported anywhere else." You mean that PNG's aren't supported in LibreOffice? What does it mean "anywhere else." 

Marking as NEEDINFO - once you clarify please set to UNCONFIRMED. Thanks!
Comment 5 Ofir 2015-07-12 18:30:00 UTC
@Joel - When you insert animated GIF in old PowerPoint version (PPT) it creates a PNG with the first frame of the animation and insert the animated GIF inside the PNG as a comment.
If you try to open the PNG in Firefox or Chrome or any other viewer, it will be static and won't animate.
If you extract the animated GIF from the PNG, and view it in Firefox, it will animate.
I'm suggesting to extract the animated GIF from the PNG when importing PPT with such an image, instead of keeping the PNG.
If you'll open the attached PNG in a text viewer you'll see that the original animated GIF starts after 'msOGMSOFFICE9.0GIF89a'.
Extracting the original GIF is simple.

To reproduce:
1. Open the attached PPT in LO.
2. See that the image has animation.
3. Save to ODP.
4. Unzip the ODP.
5. Try to view the PNG from the unzipped folder in firefox: gif/Pictures/10000023000000EB000000F0FBC891C1.png
6. The image is static, you don't see the animation.

Desired result:
1. Open the attached PPT in LO.
2. Save to ODP.
3. Unzip the ODP.
4. Get standard animated GIF.
Comment 6 Ofir 2015-07-12 18:35:29 UTC
To clarify, this works well in LO but if you try to unzip the presentation, access the image and view it in an image viewer, you won't see the animation.
Comment 7 Buovjaga 2015-07-29 16:54:30 UTC
Right-click - Save image also gives PNG as the format.

Ok, I guess we can accept this change (when saving to ODP).

Win 7 Pro 64-bit, Version: 4.4.4.3
Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8
Locale: fi_FI