Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inline PNG support #24

Merged
merged 9 commits into from
Feb 19, 2024
Merged

Add inline PNG support #24

merged 9 commits into from
Feb 19, 2024

Conversation

takis
Copy link
Contributor

@takis takis commented Feb 16, 2024

Hi,

This patch tries to add inline PNG support. See issue #19.

My apologies for sending this pull request again, but I had not created a separate branch for this
change.

With friendly regards,
Takis

@grewn0uille grewn0uille added the feature New feature that should be supported label Feb 16, 2024
@grewn0uille grewn0uille linked an issue Feb 16, 2024 that may be closed by this pull request
@takis
Copy link
Contributor Author

takis commented Feb 16, 2024

After commit 0d3951e the included example now creates PDF's that validate against this online service:
https://www.pdf-online.com/osa/validate.aspx

Both when using compress=True and False.

Copy link
Contributor

@grewn0uille grewn0uille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your PR!

pydyf/__init__.py Outdated Show resolved Hide resolved
pydyf/__init__.py Outdated Show resolved Hide resolved
pydyf/__init__.py Outdated Show resolved Hide resolved
pydyf/__init__.py Outdated Show resolved Hide resolved
pydyf/__init__.py Outdated Show resolved Hide resolved
pydyf/__init__.py Outdated Show resolved Hide resolved
pydyf/__init__.py Outdated Show resolved Hide resolved
@takis
Copy link
Contributor Author

takis commented Feb 16, 2024

Thanks for the review! I'll update the patch soon!

@takis
Copy link
Contributor Author

takis commented Feb 16, 2024

Thanks for the elaborate review! It's my first work involving PDFs, so I'm still learning, and I'm grateful for your patience and advice! 😄

@takis
Copy link
Contributor Author

takis commented Feb 16, 2024

I've implemented all the suggestions and updated the branch.

@takis
Copy link
Contributor Author

takis commented Feb 16, 2024

I've just fixed the merge conflicts.

@grewn0uille grewn0uille merged commit 3552d39 into CourtBouillon:main Feb 19, 2024
5 checks passed
@grewn0uille
Copy link
Contributor

Looks good for me! Thanks :)

@takis takis deleted the issue19 branch February 19, 2024 20:34
@liZe liZe requested review from grewn0uille and liZe and removed request for grewn0uille and liZe February 19, 2024 21:28
grewn0uille

This comment was marked as resolved.

@liZe liZe requested review from liZe and grewn0uille and removed request for grewn0uille and liZe February 19, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature that should be supported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support PNG
2 participants