Skip to content
العربية
XiKey™DESKTOP
Downloads

Learn

Black-and-white line art

Tested on Windows x64 in Alpha, in XiKey PDF Pro. The newer tools were tested on Windows x64. The macOS and Linux packages were checked only for start-up, version, licence files and reading sample PDFs; platform-specific problems are possible. During Alpha, all editions remain open until 31 December 2026.

Preview before converting

  1. Open an unsigned PDF without security restrictions, then go to a representative page.
  2. Find Black-and-white line art in tools or command search.
  3. Compare Before and After in the preview of the current page. Adjust Line detail and Keep text solid and wait for the preview to refresh. Inspect small Arabic dots and marks carefully.
  4. Choose Whole document, Current page or Page range. The preview still shows the current page; it is not proof that every other page will look the same.
  5. Select Convert, save to a new file, then reopen it and inspect representative pages and searchable text.

What changes and what stays

The colouring-book style conversion keeps digital text and drawings as vectors, with text still searchable. Large supported coloured fills become outlines. White text on a dark background becomes black on white. Embedded pictures become lossless black-and-white images: the prepared black-and-white image is compressed without further loss, but the conversion deliberately removes colour and tone.

Text extraction was identical in all 27 files in the integration test set. That is a measured corpus result, not a guarantee for every PDF. This tool does not promise a smaller file.

Limits

Whole scanned pages stay unchanged for now; scan clean-up is planned. Unsupported artwork, including unsafe transparency, masks and colour effects, can also remain unchanged. A whole page can therefore look identical before and after. Check the preview instead of assuming that every colour will disappear. The showcase brochure and annual report captures demonstrate this preservation limit.

Photos cannot always become meaningful outlines, and tiny Arabic details need visual review. Keep text solid helps picture content; live digital text remains vector regardless. This is not a print-production colour-management or Preflight tool.

Command line

Both examples were run successfully on public showcase files with the integrated Windows x64 development CLI. The brochure has two pages, so its range is 1-2. Put the inputs in samples/, create out/, and use fresh output names.

xipdf-cli lineart \
  samples/brochure-bilingual.pdf \
  -o out/brochure-lineart.pdf \
  --detail 50 \
  --pages 1-2 \
  --json
xipdf-cli lineart \
  samples/annual-report-ar.pdf \
  -o out/report-lineart.pdf \
  --detail 50 \
  --no-solid-text \
  --pages 1-3 \
  --json

--detail accepts 0–100 (default 50). --no-solid-text disables the raster solid-detail option. --pages accepts page lists and ranges; omit it for the whole document. Existing output files are refused. --json reports sizes, converted pages, embedded images, retained objects and scanned pages. The two showcase examples retained unsupported artwork without changing the files, which is a successful safe conversion rather than evidence of a visual change. See the command-line guide.