Bug 128560 - libetonyek Keynote Bad image resolution and missing crop
Summary: libetonyek Keynote Bad image resolution and missing crop
Status: NEW
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libetonyek (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: Apple-iWork
  Show dependency treegraph
 
Reported: 2019-11-02 19:33 UTC by Pablo
Modified: 2021-12-13 23:39 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Keynote presentation with cropped image (385.68 KB, application/vnd.apple.keynote)
2019-11-02 19:33 UTC, Pablo
Details
PDF exported from Keynote (276.75 KB, application/pdf)
2019-11-02 19:33 UTC, Pablo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo 2019-11-02 19:33:02 UTC
Description:
The attached Keynote has an image. The image is cropped on the left. In impress the image is not cropped and the resolution is bad.

Steps to Reproduce:
1. Open the attached Keynote presentation.
2. Compare the image resolution and crop to the attached PDF exported from Keynote.

Actual Results:
The image resolution is bad.
The image is not cropped on the left.

Expected Results:
Good image resolution.
Image should be cropped on the left.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.2.2 (x86)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 8; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
Comment 1 Pablo 2019-11-02 19:33:26 UTC
Created attachment 155475 [details]
Keynote presentation with cropped image
Comment 2 Pablo 2019-11-02 19:33:51 UTC
Created attachment 155476 [details]
PDF exported from Keynote
Comment 3 Xisco Faulí 2019-11-04 11:52:02 UTC
The file attached can be open since libetonyek was updated to version 0.1.9 <
https://cgit.freedesktop.org/libreoffice/core/commit/?id=c6e73f3e5bfd5b1cca94f985b5299857d0238ae3
>

@David Tardon, I thought you might be interested in this issue...
Comment 4 osnola 2021-09-21 12:56:17 UTC
I added some code to get some masks in libetonyek that should solve the cropping problem in this document.

As for the resolution of this image, it is a theme image, so KeyNote only stored a low resolution in the .key file. When you ask it to open this file, it will first look to see if a high resolution is present on your computer; then it will try to find it on the internet (probably by trying to connect to an Apple server); finally, it will display a message saying that your computer is not connected to the internet and therefore some images can be displayed in low resolution.

Note: to test this code, you can either recompile a version of libetonyek with the current code, or wait for a release of libetonyek and its integration in LibreOffice.