The image size is too large in the editor. Can it be optimized to a smaller size?
The image size is too large in the editor. Can it be optimized to a smaller size? It looks really weird; I took a very small screenshot, but it's showing up as a very large size in the notes.
Hi @zhouhao-python what version are you using? Also curious what is expected behavior here. Make it resizable, or set max-width?
• App Name: Hyprnote • App Version: 0.0.84 • SHA: f5b702f9156a294652d4e1026daec39cb3027144 • Backends: GgmlBackend { kind: "GPU", name: "Metal", description: "Apple M2", total_memory_mb: 10922, free_memory_mb: 10922 } GgmlBackend { kind: "CPU", name: "CPU", description: "Apple M2", total_memory_mb: 16384, free_memory_mb: 16384 }
I'm glad to receive your reply. The above is the version information I'm using. I understand that users should be able to set the size of images in notes. Additionally, I've done some research ... For the Markdown format, images do not save height and width. SO tiptap uses the HTML format? If it does, how is the fluid rendering achieved for enhanced notes? Should the output from the large model be in Markdown format?
i think we can achieve this by preserving the aspect ratio and resizing via width.
Ok, HTML itself supports saving the width and height of images.
related to https://github.com/fastrepl/hyprnote/issues/969. need to add file handler and store blob.