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

Can PDF page argument (PDFbox, etc) be used to produce a page specific info.json? #359

Closed
DiegoPino opened this issue Mar 30, 2020 · 2 comments
Labels
Milestone

Comments

@DiegoPino
Copy link
Contributor

Hi @adolski this is question, not a bug report or feature request.

Its there a way (planned? existing?) to ask cantaloupe for a info.json for a specific ?page argument?

Right now we can access each page via your extension extension (thanks, so useful) but i can not get the processor to generate a info.json for a specific page, i always get the first page.

I don't seem to find anything that makes me think URI Get arguments are passed to the processor or used in the Image id here https://github.com/cantaloupe-project/cantaloupe/blob/release/4.1/src/main/java/edu/illinois/library/cantaloupe/cache/InfoService.java

Just a question. We can probably live without getting the sizes for each page, but could be useful for other use cases when using/passing an argument (whatever it is) is required/accepted by the processor to do its job and could change the output. Thanks

@DiegoPino DiegoPino changed the title Can PDF page argument (PDFbox, etc) be used to produce a specific page info.json Can PDF page argument (PDFbox, etc) be used to produce a page specific info.json? Mar 30, 2020
@adolski
Copy link
Contributor

adolski commented Apr 1, 2020

Hi @DiegoPino,

This actually is a bug. I will push a fix soon for inclusion in 4.1.6.

@adolski adolski added this to the 4.1.6 milestone Apr 1, 2020
@adolski adolski added the bug label Apr 1, 2020
@DiegoPino
Copy link
Contributor Author

@adolski thank you so much 👍 Hope all is well there. Stay safe and thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants