Skip to content

How to create the croped formula images? #9

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

Open
wdp-007 opened this issue Oct 11, 2023 · 2 comments
Open

How to create the croped formula images? #9

wdp-007 opened this issue Oct 11, 2023 · 2 comments
Labels

Comments

@wdp-007
Copy link

wdp-007 commented Oct 11, 2023

I have downloaded the formula_images.tar.gz file, but the images are full A4 pages, how can i get the croped formula images?

@Miffyli
Copy link
Owner

Miffyli commented Oct 12, 2023

Heya. I reckon classic image manipulation libraries might have good utilities for these. One potential manual would be to check the last x and y pixel that has non-transparent value, and crop to those xy values (not tested, but I reckon it should work fine).

@wdp-007
Copy link
Author

wdp-007 commented Oct 19, 2023

Thanks for your reply, I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants