Hopding / pdf-lib

Create and modify PDF documents in any JavaScript environment
https://pdf-lib.js.org
MIT License
7.02k stars 676 forks source link

How can we add set auto dimension of image in pdf #1539

Open mohitsharma88 opened 1 year ago

mohitsharma88 commented 1 year ago

Describe your idea

We need to add a set auto-dimension method, so it can be displayed without height and width

How could this be implemented?

You can get any image and fix the dimension using it image will be converted into fixed-size a

What problem are you trying to solve?

We are facing an issue regarding the display of logos. We have over 100 companies, each with different logos, each in various extensions and sizes. We need to display them in our PDF, which is proving to be challenging due to the varying sizes and formats of the logos.

Why does this matter to you?

We are facing an issue regarding the display of logos. We have over 100 companies, each with different logos, each in various extensions and sizes. We need to display them in our PDF, which is proving to be challenging due to the varying sizes and formats of the logos.

Would others find this helpful?

i dont know

Are you interested in implementing your proposal?

Yes

Why are you submitting a proposal?

i think pdf lib support team support us

Additional Notes

No response