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

Offset and crop image file via Rust #708

Closed
swfsql opened this issue Feb 11, 2018 · 2 comments
Closed

Offset and crop image file via Rust #708

swfsql opened this issue Feb 11, 2018 · 2 comments

Comments

@swfsql
Copy link
Contributor

swfsql commented Feb 11, 2018

The image offsetting and cropping is done via tex primitives. This means the output pdf file is bigger than necessary.
It's better if the program does this and replacing the file itself. Then the TeX template will be simpler, and the output file will be smaller.

For now, the actual file size will have to be passed as information to TeX. But after this issue is resolved, we can treat the zero number (for dimensions) as "all of the remaining". This would make the info files simpler.

@swfsql swfsql self-assigned this Feb 11, 2018
@swfsql
Copy link
Contributor Author

swfsql commented Feb 25, 2018

Before closing, needs to deal with the zero dimension (for automatic dimensioning based on the maximum of the required minimum) setting.

@swfsql
Copy link
Contributor Author

swfsql commented Jun 23, 2019

Moved to swfsql/genpdf#34

@swfsql swfsql closed this as completed Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant