smalot / smalot/pdfparser

Image position relative to pages (Or text if possible)

Open
#694 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs more info PDF required to demonstrate issue
Dominant language
PHP
Stars
2.7k
Forks
579
Avg merge
2m
Merged PRs (30d)
1

Description

I cannot get the images in relation to the page it exists in
when I used getobjectbytype on a page instance it returned an error
I think I should be able to identify what page the image lies in

also any solution to get the positon of an image within the page in relative to the text

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported getobjectbytype error on a page instance and inspect the existing page and image extraction entry points. Determine whether the library exposes page membership and image coordinates relative to page text; done means documenting or implementing a defined, testable result for both requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.