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.
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.
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.