Comments (1)
I think the current handling/treatment of pasted images is in general absolutely fine. You suggest:
If the pasted picture exceeds the width and length of the current editor, it will be reduced to 70% and 80% of the editor.
However this makes no sense, due to the fact that width/length of the editor is entirely dependent on the current size of the application window, to whatever the user has resized it to using their window manager. I think what you're asking is that the image display could have a feature where it automatically dynamically resizes (in memory, not the actual stored image data) the displayed image such that it is scaled to some percentage of the editor width, say 80%, as you suggest. If so, I suppose that could be added as a preference toggle, or possibly right-click context option.
Some (most?) of us actually want the image to always be 100% scaled, even if we paste in a huge 4k screenshot (for example), precisely because that way all of the detail in the image is clear. Using a horizontal scrollbar in such a scenario to move across the image works just fine.
Personally I think the current functionality, where you can right-click and destructively resize within Cherrytree, if you wish, is near perfect behaviour. Some people might prefer that it always retains the original image data, and allows you to do a "non-destructive" resize, but again, this should probably be a preference toggle, as if you've decided to explicitly scale down the image, storing the full size image would be considered a waste of storage in the Cherrytree database in that scenario. After all, if you still/also wanted to retain a full-size copy, you could also attach that within the node, but as a file attachment rather than as in-line displayed image.
from cherrytree.
Related Issues (20)
- [CTB] It's too slow/laggy or it takes a while when Undo (Ctrl Z) HOT 4
- Error Parsing the CherryTree Path: "!! sqlite3__prepare_v2: no such table: bookmark" HOT 1
- Regular expression help - dead url HOT 3
- Sync ~/.config/cherrytree/config.cfg with Recent Documents list in CT session. HOT 3
- Can't generate latex HOT 26
- A simple feature automatically collapse the node the next time you open the interface HOT 2
- "" changes into “” in Formatted text node HOT 2
- Duplicate text in File menu (Portuguese translation)
- [PowerPC] Segfault on launch: `KERN_PROTECTION_FAILURE at address: 0x00000014` HOT 2
- Where do the IMGs in .ctb or .ctd file? HOT 1
- Preview embed image from Internet link HOT 1
- [FR] Internet proxy configuration in menu Preferences missing HOT 9
- Add up and down keys to table cell navigation HOT 6
- All pictures/tables erased in a node HOT 1
- Add show / hide option to show in status bar full path of selected node HOT 6
- Cherrytree wont load last used file on next startup. HOT 4
- Node path to be accessed by means other than manual copying HOT 1
- Streamlining formatting of static code blocks (not CodeBoxes).
- No localization after last update HOT 11
- Setting for navigating the tree (nodes and subnodes) using up and down arrow keys? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cherrytree.