aardappel / treesheets

TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
zlib License
2.61k stars 192 forks source link

[feature request] svg, vector or bitmap ? #165

Open mhow2 opened 4 years ago

mhow2 commented 4 years ago

Hi, this tool is really awesome. Thanks ! What about to support export as SVG or bitmap ? So we can zoom-in during a remote presentation for instance. Cheers

aardappel commented 4 years ago

There already is bitmap export. If you want scalable export you could try one of the various html export formats?

You can also do presentations right from TreeSheets, there is a presentation mode that makes the current view as big as possible.

mhow2 commented 4 years ago

There already is bitmap export.

Thank you for the answer. On my side I don't see that export option in the menu ("image" is only for PNG) : image

Presentation from TreeSheets works fine indeed. however, the HTML export doesn't have the same style. In the PNG export you cannot set the resolution (it's fixed). What would you choose to embbed in a webpage that would scale properly without loosing too much quality ?

mhow2 commented 4 years ago

I tested with the latest AppImage as well and didn't find any option to export as bitmap EDIT- I could use the "print to file" method but the output is blank (as well as the preview by the way).

aardappel commented 4 years ago

"bitmap" is another name for an image, and a PNG stores bitmaps.. if instead you are referring specifically to the BMP format, no that is not specifically supported, but every image viewer (e.g. XNView, Gimp) can convert PNG to BMP).

edmundlaugasson commented 4 years ago

Would prefer SVG as it is XML-based and much more capabilities to change. Especially in the light of new Inkscape 1.0 and based on SVG-format, also great presentation tool Sozi. As there is already XML available in TreeSheets - perhaps it would be possible to use it already as a starting point to support XML in an image way - as SVG.

toraritte commented 2 years ago

In case anyone finds this looking for SVG support: my current workaround (based on this SO thread):

  1. File -> Export view as -> HTML (Tables+Styling) ...
  2. Use wkhtmltoimage to convert the HTML to SVG.

The only downside is that the whole output depends on the exported HTML (e.g., layout styles will only render in grid mode). It would be nice to have SVG export to have 1-to-1 fidelity, but it's spec is huge, and it would take an inordinate amount of time to implement it. (To me, at least.)

edit: Related issues: