Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/svg images #19

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

rotdrop
Copy link

@rotdrop rotdrop commented Sep 16, 2021

This pull-request addresses the following things on top of #20. The things are only tested with a recent LibreOffice and a text-document. See also issue #16.

  • change the mime-type of replaced images
  • zap all images of multi-image frames, typically this addresses PNG previews for vector-images
  • replace the principal image of multi-image frames with the replacement
  • optionally use ImageMagick to obtain the image size if GD fails. Only if the IMagick extension is available.

It does not seem to be necessary (at least for LO ...) to generate new preview-images, this seems to be performed when LIbreOffice saves the downloaded document. However, previous could be generated using the ImageMagick integration for PHP.

@rotdrop rotdrop force-pushed the feature/svg-images branch from 91375b5 to aea1e76 Compare October 2, 2021 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant