grep -i 'defineColor' /workspace/scratch/scribus_api.txt; grep -o 'LOCALSCX="[^"]*"\|LOCALSCY="[^"]*"\|PFILE="[^"]*"\|PRFILE="[^"]*"\|EMBEDDED="[^"]*"\|IRENDER="[^"]*"' /workspace/scratch/test.sla; python - <<'PY'
from pypdf import PdfReader
r=PdfReader('/workspace/scratch/test.pdf');print(r.trailer['/Root']['/OutputIntents'][0].get_object());print(r.xmp_metadata.get_element('http://www.npes.org/pdfx/ns/id/','GTS_PDFXVersion'))
PY