Lorien
Lorien copied to clipboard
Export functionality (svg, png, etc.)
Right now the export functionality essentially acts like a screenshot, only exporting what is visible on the window. I believe most users would prefer the default functionality to be to export the whole canvas, with the corners set to make sure nothing is cut off. They can then use a screenshot tool to take a picture of the visible space on the canvas if they want.
Yeah, the export is currently very barebones and really just a screenshot. Ideally we would have 2 export modes:
- Export the whole canvas as a
svgwhich can be scaled indefinitly just like Lorien files and opened by almost all graphics programs. This would require digging into the format and write an exporter to convert from the internal Lorien format to svg. Seems doable and like a pretty neat feature. - Export parts of the visible screen by draging over the area and exporting it as png (think of it like the crop tool in Krita/Photoshop etc. but for exporting). From a UX/UI perspective this is a lot of work and not as useful as svg. I think Milton did it this way
I implemented a basic svg exporter now (and removed the png exporter). Right now it exports the brush strokes with a uniform thickness and ignores pressure data / stroke width. Have to figure out how to do that, since svg does not support something like that out of the box.
If you want to check it out, you can download the latest build here (scroll down to articfacts)
Not to hijack, but I wanted to make a new issue for this and I think it makes more sense to put here.
Just found this project and like what I'm seeing. Currently I'm OpenBoard and I'd really like to switch but the one big missing feature I'd love to see in Lorien is PDF exports. OpenBoard lets you make new pages in the same document and export each page as a page in a PDF. I don't know if multi-page documents are part of your vision for Lorien, but if they are, I think exporting multiple SVGs as pages in a PDF would be a reasonable next step, and a major upgrade for Lorien as a note-taking app. Thoughts?
For anyone else facing this challenge, you can convert using the imagemagick convert program. It does require the CLI, but it works really well. Perhaps the application could wrap these commands if it detects imagemagick is installed.