300 dpi portrait at default settings
- Input
- grace_hopper.jfif, 1,641,642 bytes, 2400×3000, 300 dpi in the file.
- Output
- 691,428-byte PDF in 0.14 s with one 25 × 31.25 in page; the embedded copy measured 38.9 dB PSNR against the source.
JFIF → PDF wraps one picture in one page, and the page measures pixels divided by dpi, so a 2400×3000 scan becomes 25 × 31.25 inches unless you set dpi.
From real runs
| Element | Result | What happens |
|---|---|---|
| Page size | Changed | The page is laid out at 96 dpi by default and ignores the 300 dpi stored in the file: the 2400×3000 portrait gave a 25 × 31.25 in page, and dpi 300 gave 8 × 10 in. |
| Image compression | Changed | The picture is re-encoded as JPEG inside the PDF at a fixed setting. The portrait PDF was 691,428 bytes and measured 38.9 dB PSNR against the source; the quality option did not change it. |
| Orientation | Kept | Rotation tags are applied before layout, so the orientation-6 phone shot produced an 18.75 × 12.5 in landscape page rather than a sideways portrait one. |
| Text in the picture | Lost | A photographed page stays an image: the PDF has no text layer, so nothing can be selected, searched or copied. |
| EXIF and GPS | Lost | Camera and location tags from the .jfif are not stored anywhere in the PDF. |
| One file, one page | Changed | Each .jfif becomes its own single-page PDF; several pictures are not gathered into one document. |
| CMYK input | Changed | The CMYK test file was converted to RGB before embedding and came out as a 2,987-byte one-inch page. |
The page is laid out at 96 dpi by default and ignores the 300 dpi stored in the file: the 2400×3000 portrait gave a 25 × 31.25 in page, and dpi 300 gave 8 × 10 in.
The picture is re-encoded as JPEG inside the PDF at a fixed setting. The portrait PDF was 691,428 bytes and measured 38.9 dB PSNR against the source; the quality option did not change it.
Rotation tags are applied before layout, so the orientation-6 phone shot produced an 18.75 × 12.5 in landscape page rather than a sideways portrait one.
A photographed page stays an image: the PDF has no text layer, so nothing can be selected, searched or copied.
Camera and location tags from the .jfif are not stored anywhere in the PDF.
Each .jfif becomes its own single-page PDF; several pictures are not gathered into one document.
The CMYK test file was converted to RGB before embedding and came out as a 2,987-byte one-inch page.
We converted our JFIF sample (53 KB) with Image engine on 2026-10-20. It took 14 ms and produced a 36 KB PDF file, 32% smaller than the input. The engine raised 1 warning, listed below.
Input · sample.jfif · 53 KB
54,412 bytes
Output · sample.pdf · 36 KB
PDF 1.4, 1 page, no text layer, 1 image object
A .jfif of a receipt or page becomes an image-only PDF. AI Deep Read accepts JPG and PNG, so convert or rename the .jfif to .jpg and use make-pdf-searchable or phone-photos-to-scanned-pdf when the words must be searchable.
img2pdf
img2pdf photo.jfif -o photo.pdfEmbeds the JPEG data without re-encoding, so there is no second compression; it uses the dpi stored in the file for the page size when there is one.
macOS Preview
Open the .jfif → File → Export as PDFPreview opens .jfif files directly. Use File → Print → Save as PDF instead if you need a paper size such as A4.
The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=jfif&to=pdf.
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.jfif" -F "from=jfif" -F "to=pdf" \
-F 'options={"width":0}' \
--output output.pdf| Key | Applies to | Type | Default |
|---|---|---|---|
| width | Writing PDF | number | 0 |
| height | Writing PDF | number | 0 |
| fit | Writing PDF | contain · cover · fill | contain |
| quality | Writing PDF | number | 90 |
| background | Writing PDF | string | #ffffff |
| stripMetadata | Writing PDF | boolean | true |
The page size is the pixel count divided by dpi, and dpi defaults to 96. A 12-megapixel phone photo laid out at 96 dpi is more than 40 inches wide. Set dpi to 300 for print-sized pages.
There is no paper-size option; the page always matches the picture at the dpi you choose. A scan of 2480×3508 pixels at dpi 300 is exactly A4, and 2550×3300 at dpi 300 is exactly Letter.
No. The PDF contains one picture and no text layer. Searchable text needs the make-pdf-searchable workflow, which reads the words with AI Deep Read.