Closed Bug 2032967 Opened 1 month ago Closed 2 days ago

Support merging an image file into a PDF

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
relnote-firefox --- ?
firefox153 --- verified

People

(Reporter: marco, Assigned: calixte)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We now support merging a PDF into another PDF, we can also easily support merging an image into a PDF (so the image becomes a new page in the PDF).

Release Note Request (optional, but appreciated)
[Why is this notable]: A new user visible feature in the PDF viewer.
[Affects Firefox for Android]: No.
[Suggested wording]: It is now possible to add images as new pages within PDFs using the Firefox PDF editor.
[Links (documentation, blog post, etc)]: N/A

relnote-firefox: --- → ?

There are few questions we need to answer before starting:

  • what will be the page dimensions ?
    • images one;
    • pdf ones: if all the pages in the pdf are A4 then it probably make sense to use A4 too, but what does happen when the pdf has some pages with different dimensions.
  • do we want to add some margins ?
  • do we want to apply a compression ? JPEG compression is destructive so it's worth asking. We can use a non-destructive compression. Images can be very big sometimes (for example when coming from a mobile).

Anything else ?

The UI will mainly depends on the answers to these questions.

We could start with the choices that are the simplest to implement:

  • always pdf ones, matching the most frequent page type in the pdf
  • same orientation as the most frequent page orientation in the pdf
  • no margins
  • always JPEG compression (but I imagine most images people will add are JPEG already)

And then gather feedback from users to figure out if they want a small dialog to choose options.

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Depends on: 2043859
Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Note added to our 153 nightly release notes in the Web Platform section with this wording:

It is now possible to add images as new pages within PDFs using the Firefox PDF editor.

I am keeping the relnote-firefox? flag set until we include this note in our final 153 release notes, thanks.

Verified on latest nightly Firefox 153.0a1 (2026.06.02) across platforms.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: