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

Lua image size #9343

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Lua image size #9343

merged 2 commits into from
Apr 16, 2024

Conversation

tarleb
Copy link
Collaborator

@tarleb tarleb commented Jan 17, 2024

Adds a new Lua module pandoc.image that provides basic image querying functions.

@tarleb tarleb marked this pull request as draft January 17, 2024 11:23
@tarleb
Copy link
Collaborator Author

tarleb commented Jan 17, 2024

This is based on suggestions by @cscheid.

@jgm
Copy link
Owner

jgm commented Feb 5, 2024

This looks fine to me -- do you want to make it a non-draft so I can merge it?

My main reservation about such changes is just a general one -- it's more code that has to be changed if we ever change the ImageSize API. But if there are sufficient tests, we will be reminded about the need to make these changes if/when necessary.

The module provides basic querying functions for image properties.
@tarleb tarleb marked this pull request as ready for review April 16, 2024 16:23
@tarleb
Copy link
Collaborator Author

tarleb commented Apr 16, 2024

I've fixed the docs and added another test. Should be good to go now.

@jgm jgm merged commit 5f937ea into jgm:main Apr 16, 2024
9 of 12 checks passed
@tarleb tarleb deleted the lua-image-size branch April 17, 2024 17:41
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