Skip to content

Wrong image rotation on some files with add-image and sign tools #217

Closed
@paspo

Description

@paspo

In some pdf files, when I put an image with the add-image or the sign tool, I obtain a PDF with the desired image but in a different position, with wrong dimensions and wrong rotation (always 90° ccw).

I can resolve this issue by:

  • opening the original file with LibreOffice Draw and exporting it in PDF without modifications
  • using the pdf repair tool on the original file

There's clearly something wrong with the original files, but I don't have enough data ATM.
I can safely say that this has nothing to do with PDF version (some files are 1.3, others are 1.7 ...)
I can also exclude the image file format: the problem arises with jpegs, pngs...

Even if I understand that the problem is in the "somewhat broken" input files, I think that there's the possibility that solving this issue can lead to a more robust processing.

I can provide some example files to any contributor asking for it, but not publicly; DM if interested.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingFront EndIssues or pull requests related to front-end developmentgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions