Created attachment 142099 [details]
Writer doc with macro's and images to export
Some images are with a lot of the same pixel color valued do not export correctly
us the macro's in the attached doc to test.
The GraphicExporter using the API is not working with images in a Writer Doc
test also using the attached doc.
(when the image is selected) in the UI) can also reproduce the same behaviour when using the "Save" option .
- when not changing the dimensions it works fine
- change the width from 10cm to 5cm and the image is misformed as with using the API
What is your version of LibreOffice?
Status set to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.
Best regards. JBF
thanks for the interest
My current version is Collabora, but i found the same behaviour in the latest master off LO dev
Its hard to tell why the exporter misformed some images.
- only when changing the dimensions
- mostly with a lot off same mixels in it.
in my second document there are more pictures to test
Created attachment 142128 [details]
Document with more images who goes wrong
The macro's in the documents do work with the latest master LO 6.1 DEV because Tomaz has removed the URL properties.
never te less the testing using the UI is working in all versions
Confirmed, com.sun.star.drawing.GraphicExportFilter indeed doesn't accept a Writer image as an argument for setSourceDocument().
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
tdf#117614 svx: make drawing.GraphicExportFilter work with sw images
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.