Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
zesje
zesje
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • zesje
  • zesjezesje
  • Merge Requests
  • !162

Merged
Opened Jun 10, 2019 by Hugo Kerstens@Hugo
  • Report abuse
Report abuse

Check image dimensions for image extraction

This MR:

  • Checks if the dimensions of the image are the same as the dimensions of the page for image extraction using pikepdf.
  • Adds some extra documentation for extract_image_pike
  • Adds tests for the image extraction using pikepdf

When comparing dimensions we only check if the aspect ratio is the same, since that is the only information that is available in the embedded image object. The real size on the page depends on the draw instruction that is not easily available to pikepdf as far as I know.

Edited Jun 10, 2019 by Hugo Kerstens
  • Discussion 3
  • Commits 5
  • Pipelines 3
  • Changes 4
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: zesje/zesje!162

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.