Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Images by reference #2567

Open
BilalBinAli opened this issue Sep 12, 2024 · 0 comments
Open

Using Images by reference #2567

BilalBinAli opened this issue Sep 12, 2024 · 0 comments

Comments

@BilalBinAli
Copy link

BilalBinAli commented Sep 12, 2024

Image files are expensive in terms of the memory which they consume. If you include a lot of images in your document then the total file size of the database increases greatly. And one huge problem with Cherrytree is that it does not allow you to reference an already included image. A lot of the times you will be using images which are used multiple times in a document, such as images for warning signs or Notes or images for icon signs. But as of now Cherrytree does not allow you to reference a previously used image therefore every time you reuse that image, Cherrytree creates a new image for that instance of an already defined image. And this increases the size of the file greatly.

So what i would like to do is, to request a feature from you. Which is the ability to use images by reference rather then defining (or redefining them in this case) whenever they are used. Although its a very simple feature and I am sure that it will not require a huge effort on your part to implement this feature but the rewards will be huge if this feature is included in the coming release of CherryTree. Just imagine you can yourself then define any set of symbols you want and then use them in your project without the file size increasing exponentially.

I feel that this feature will increase the readability of the databases created with Cherrytree manifolds without seemingly having any adverse effects

So thank you for your time if you read this article and i really hope that you feel this feature will be worth your time to implement it in the coming release of Cherrytree. Thanks in advance

PS : I will donate some money to Cherrytree if this feature finds its way into Cherrytree in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant