Search found 45 matches

by Imagic
Sat Mar 14, 2020 11:17 am
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

I created a pure Lua WebP library (using LuaJIT FFI) which implements the discussed features: topic
by Imagic
Sat Mar 14, 2020 11:14 am
Forum: Libraries and Tools
Topic: love-webp - WebP library [archived]
Replies: 12
Views: 15454

love-webp - WebP library [archived]

Following this topic where adding WebP support to LÖVE was discussed, I created this library as a proof of concept and utility before a potential native support. It features the loading of WebP images and animations (as a sequence or streamed from memory). The library is kind of experimental due to ...
by Imagic
Sun Mar 01, 2020 4:47 pm
Forum: Libraries and Tools
Topic: Luaseq - Asynchronous helper library
Replies: 9
Views: 17906

Luaseq - Asynchronous helper library

Here is another library I extensively use in my Lua projects. It's very simple and maybe hard to see how useful it can be. It's an abstraction layer on top of Lua coroutines to express asynchronous tasks in a simpler way (at least for me). Coroutines are amazing and prevent stuff like callbacks hell...
by Imagic
Sun Mar 01, 2020 4:22 pm
Forum: Libraries and Tools
Topic: ELScheduler - scheduler/timer library
Replies: 1
Views: 8690

ELScheduler - scheduler/timer library

Embeddable Lua Scheduler is a pure Lua library to manage timers. It's embeddable for game loops and features the creation of timers. It is implemented with a binary heap to manage timers, for performances; this results in a complexity of ~O(log₂n) for each trigger (or removal) and O(1) otherwise. I ...
by Imagic
Fri Feb 21, 2020 3:58 pm
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

On a side note, WEBP is not a free format, a ton of patents on it are owned by Google and other tech giants, they "promise" not to cause any trouble but sure enough if it's not codified in license/law they not gonna honor it, as soon as it becomes inconvenient to them this promise will be...
by Imagic
Thu Feb 13, 2020 3:26 pm
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

Nice.

I have added a page for readable formats (like for audio formats) on the wiki: Image Formats
by Imagic
Wed Feb 12, 2020 11:01 pm
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

Here is a pull request for a basic implementation, it may help.

It would be nice to have a wiki page listing all supported formats for decoding, if there isn't one.
by Imagic
Wed Feb 12, 2020 8:03 pm
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

JPEG has not been removed from love and I have no intention of doing so The wiki is not up-to-date ? https://love2d.org/wiki/ImageFormat Yes, AV1 is very interesting, especially with hardware optimizations. If it actually ends up becoming ubiquitous in the future my opinion will probably change, th...
by Imagic
Wed Feb 12, 2020 12:20 pm
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

WebP is not only about animation, especially since JPEG has been removed. it's an extra maintenance surface and an extra dependency for something that can already be done using existing methods. You're wrong. WebP has lossless/lossy alpha/color compression. It's royalty-free. Its official implementa...
by Imagic
Tue Feb 11, 2020 6:06 pm
Forum: Support and Development
Topic: [Proposal] Better multimedia formats.
Replies: 36
Views: 40870

Re: [Proposal] Better multimedia formats.

WebP and Opus are not some bloatware random formats. They have been designed to be open standards and you can find how they perform with a simple research.

Anyway, I will experiment with LÖVE and probably do a pull request for a basic implementation.