cobalamin / obsidian-remarkable

Integrates the reMarkable tablet into an Obsidian workflow by letting users quickly capture and insert their drawings.
325 stars 22 forks source link

Add a more powerful postprocessor script #14

Open 404Wolf opened 3 months ago

404Wolf commented 3 months ago

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 commented 3 months ago

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.