discussions Search Results · repo:mozilla/pdf.js language:JavaScript
Filter by
401 results
(124 ms)401 results
inmozilla/pdf.js (press backspace or delete to remove):
What is the best way to detect the aspect ratio of each page in order to update the CSS accordingly, as apparently the
default behaviour is to stretch the page to match the canvas aspect ratio. Making ...
indreksiitanposted
2 days ago- 0
:
I m extracting images from a PDF, and they are in uint8clampedarray format.
I want to convert the array into base64 format so I can process it later. Here is how I m trying to convert:
function uint8ToBase64Async(uint8array) ...
OtabekEshpulatovposted
25 days ago- 2
:
Hi Team, Thank-you to the community for this wonderful library.
Problem statement:- I am trying to integrate pdfjs-dist with nextjs.
Module details:- pdfjs-dist:- 5.4.394 Nextjs:- 15.5.6 React:- 18.3.1 ...
aditya-padhi-kblposted
18 days ago- 0
:
Is the feature relevant to the Firefox PDF Viewer?
No
Feature description
I’m working on adding a feature to PDF.js that allows serialization and deserialization of PDF annotations for
persistent storage ...
BeingAStudentIsPainfulposted
on Oct 26, 2024- 2
:
Hi there,
I m currently having some issues with a custom comment component based on annotations. I want to annotate the PDF and
based on those annotations add comments. Since I can t figure out how to ...
julian-vd-coasposted
on Oct 8- 1
:
const outlineItem = { action: data.action, attachment: data.attachment, dest: data.dest, url: data.url, unsafeUrl:
data.unsafeUrl, newWindow: data.newWindow, setOCGState: data.setOCGState, title: typeof ...
xalteropsxposted
25 days ago- 0
:
Related: my patch here #18627 and discussion on this issue #14570
Use case: Render-on-demand (i.e. disableStream and disableAutoFetch set, and the server supports ranged requests) on a
large document ...
richard-smith-preservicaposted
on Aug 21, 2024- 7
:
I was wondring if there is any way of extracting from a PDF the boilerplate commands that a PDF viewer would have to
execute in order to show the user a PDF (like draw line from (x1, y1) to (x2,y2)). I ...
DrujbanDusmanposted
on Oct 27- 0
:
The full screen button of PDF.JS cannot be restored to its original state after clicking, and the shortcut keys are also
useless. help!
wchisme2000posted
on Oct 24- 0