giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.37k stars 459 forks source link

Maintain images original size and quality when resizing them #226

Open casainho opened 7 years ago

casainho commented 7 years ago

I would prefer that images could maintain images original size and quality when resizing them. Right now, if I resize down an image, it will loose the quality and size of image - this means I can resize down it temporary and later If I try to see the full quality image, it will not be possible, it will be lost :-(

I would like to keep the original image to be able to have it in future - because it is like archiving the image, even if I prefer to see it with a small size inside a text, I will want to see the full details of image when needed. Maybe this could be as an option when inserting images...

OneNote works like this, keeping the original image, never loosing quality.

Thanks!!

kettenfett commented 7 years ago

I support this ;)

tinki-winki commented 6 years ago

I also support this, it is keeping me from using cherry tree. I will start using the application the moment that the issue is solved. Thank you!

ibrshv commented 6 years ago

I support this.

clement-lt commented 6 years ago

I support this. This would be an important feature for my use of cherrytree.

This is how it works in keepnote, and IMHO this is its only advantage over cherrytree.

kenantan32 commented 5 years ago

Yes, please I support this too. Only thing holding me back from using CherryTree.

kettenfett commented 5 years ago

I support this idea, but in my opinion, there will have to be some sort of compression, that is automatically applied in some cases. Because a user might paste a BMP. BMP quickly reach large filesizes (because they're uncompressed), and that can blow up the CherryTree database considerably. In these cases, it would probably be a good idea to at least convert them to PNG.

Regarding pasted/imported images in general, there should be options, like these in the preferences of CT:

dardoor commented 3 years ago

+1 to leaving the same quality/size. I also wish the files would stay in their original format. Currently when you add a JPG it gets converted to PNG, which is very wasteful, since it only makes the files bigger. I'm not sure if this is a bug or not, I'll open an issue just in case. [edit: https://github.com/giuspen/cherrytree/issues/1303]

@kettenfett: BMPs are already converted to PNG in CT. And I agree that's good, because it saves space and there are no downsides. But any other conversion (like PNG->JPG) is not needed, IMO. If a user adds a PNG file it's probably because he needs it in that format. And if it's PNG it's quite likely from a "computer" source like a screenshot, so saving to JPG might not even make the file smaller. I think it would add additional UI bloat and programming work for little or no benefit.