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 a more powerful postprocessor script #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

404Wolf
Copy link

@404Wolf 404Wolf commented Aug 14, 2024

I wrote a more powerful script for computing a bounding box and cropping. My new script requires passing -c to reSnap, and there currently isn't a way to add extra args, to get the best effect. This is because reSnap automatically does some color adjustments that are very lossy. I'm working on rewriting the plugin to some extent to conform to the newer obsidian API and clean things up a bit, and I'll add the ability to specify arguments.

@404Wolf
Copy link
Author

404Wolf commented Aug 14, 2024

I also didn't change the previous postprocessor, but using assert for use cases like this is unideal, since it's really just meant for development and can get stripped away in prod.

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.

1 participant