Skip to content

Commit

Permalink
Minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed Feb 27, 2025
1 parent 3471433 commit 55bdf5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/Images.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pdf.add_output_intent(
"sRGB",
'IEC 61966-2-1:1999',
"http://www.color.org",
iccp_file,
icc_file,
"sRGB2014 (v2)",
)
```
Expand All @@ -211,6 +211,9 @@ The needed profiles and descriptions can be found at [International Color Consor

The ICC profile of the included images are read through the PIL function `Image.info.get("icc_profile)"` and are included in the PDF as objects.

An ICC profile can also be added by using the [`.add_output_intent()` method](https://py-pdf.github.io/fpdf2/fpdf/fpdf.html#fpdf.fpdf.FPDF.add_output_intent),
as described in the previous section.

## Oversized images detection & downscaling ##

If the resulting PDF size is a concern,
Expand Down

0 comments on commit 55bdf5e

Please sign in to comment.