Skip to content

Make PDF differences PNG output optional#34

Open
sudohalt wants to merge 6 commits intomarcdacz:masterfrom
sudohalt:sudohalt-patch-1
Open

Make PDF differences PNG output optional#34
sudohalt wants to merge 6 commits intomarcdacz:masterfrom
sudohalt:sudohalt-patch-1

Conversation

@sudohalt
Copy link
Contributor

PDFs that have differences when using the byImage comparison will output a PNG into a data folder. The outputting of PNGs should be optional. An example use case is when running tests you only care if two PDFs are identical, and need a true/false response (but don't need the actual differences). Using byBase64 doesn't work because two PDFs can be identical but have different base64 representations (different creation date or file name for example).

@marcdacz
Copy link
Owner

marcdacz commented Sep 6, 2023

hey @sudohalt thanks for adding this change. before we merge it, can I ask a quick favour to add a README change as well to ensure people knows about this config? thanks in advance

@sudohalt
Copy link
Contributor Author

sudohalt commented Sep 7, 2023

hey @sudohalt thanks for adding this change. before we merge it, can I ask a quick favour to add a README change as well to ensure people knows about this config? thanks in advance

Hey @marcdacz I've updated the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants