Status & Roadmap
Authors & License
Funding Ultimate++
Search on this site
Search in forums

SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » please add plugins/bpg
please add plugins/bpg [message #44519] Sat, 21 March 2015 15:38 Go to next message
piotr5 is currently offline  piotr5
Messages: 105
Registered: November 2005
Experienced Member
guess distros don't have this libbpg package yet so it's best to include it in u++ and compile it static anyway. for 16x16 images it isn't doing much good, but for example ide/theide48.bpg would take up 780 bytes at the ordinary compression. I know png isn't lossy, but a program with lots of pictures might consider to save on space this way.

according to http://bellard.org/bpg/ this format is offering better quality than jpeg at the same filesize. so you could consider it to be a better compression. maybe equipt icon-editor with that output-format and add an interface to tune the compression while displaying both versions side by side? of course the actual file-creation would only be performed during compilation, maybe directly into the ressource-file...
Re: please add plugins/bpg [message #44524 is a reply to message #44519] Sun, 22 March 2015 09:04 Go to previous message
mirek is currently offline  mirek
Messages: 13849
Registered: November 2005
Ultimate Member
In RM now. Would be nice to have...
Previous Topic: Simplest way to add jpg or png to a layout, for logos, image visble off/on for status, etc.
Next Topic: Refactoring of StdDisplayClass::Paint0()
Goto Forum:

Current Time: Sat Mar 25 08:51:00 CET 2023

Total time taken to generate the page: 0.02606 seconds