https://bugs.documentfoundation.org/show_bug.cgi?id=148211
Bug ID: 148211 Summary: WRITER: Image cropping properties does not work when source image is a linked (not embedded) PDF Product: LibreOffice Version: 7.2.6.2 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: joaopauloag-freedesk...@yahoo.com.br Description: When inserting images (by linking or embedding), we can choose from a variety of formats, including PDF. By going to the inserted image properties, we can crop the image shown without cropping the image file by itself. However, if the inserted image is a PDF file that was linked and not embedded into the document, the cropping properties just mess the images show and it is not possible to crop properly the image. Steps to Reproduce: 1. Create a new text document and insert by linking/embedding an image with the PDF format attached on this bug report; 2. Open the shortcut menu on the PDF image, go to Properties, Crop, and change the crop top and bottom values so the image shows only the "PDF" text and not the paper sheet (don't need to be perfect, just to see what will happen next); 3. Save the text document; 4. Reopen the text document; 5. Go to the image properties to change the crop settings there, for example remove the top and bottom crop (reset to zero). Actual Results: If the step 1 was chosen to link the PDF image, the end result is a distorted image. Expected Results: The PDF image should not be distorted, no matter what inserting method was chosen on the step 1 (linking or embedding). Reproducible: Always User Profile Reset: Yes Additional Info: I found that when LibreOffice saves a text document with a PDF image embedded, the file inside is changed to PNG instead to being kept as a PDF or changed to a vector format as SVG. So maybe this bug happens because of the image filter making a conversion error. Also, as PDFs can be converted to SVGs in a visually identical image, even if the metadata or embedded text is lost, maybe this bug can be fixed by changing the way LibreOffice interacts with inserted (linked or embedded) PDFs. -- You are receiving this mail because: You are the assignee for the bug.