Page 2 of 4

Re: LÖVE Formats

Posted: Wed Nov 19, 2008 6:08 pm
by qubodup
  • PNG, SVG (I wish!)
  • FLAC, Vorbis (OGG)
  • Theora (I wish again..)

Re: LÖVE Formats

Posted: Wed Nov 19, 2008 8:36 pm
by Green_Hell
rude wrote:Should LÖVE support all the image and sound formats the software world has to offer? Or should we restrict ourselves to only the most popular ones?
I'm for as much as possible. But I know it'd be counterproductive.

My list matches the currently supported formats. So I'm posting only tops of my charts:

Sound:
  1. OGG
  2. WAVE
  3. MP3
  4. ...
Music:
  1. Modules XM, IT, MOD (all of them)
  2. MIDI
  3. OGG
  4. ...
Images:
  1. PNG
  2. JPG
  3. GIF
  4. BMP
  5. ...

Re: LÖVE Formats

Posted: Wed Nov 19, 2008 8:45 pm
by appleide
MP3, OGG, FLAC, WAV, MIDI, XM, IT, MOD or anyone supported by SDL_sound.
PNG, GIF, JPEG, TGA, BMP or anyone supported by DevIL.
OGG, WAV, MIDI, (MP3)
PNG, JPEG, BMP

Re: LÖVE Formats

Posted: Thu Nov 20, 2008 10:25 am
by u9_
qubodup, you're right, gif was patented, but it has expired now.

In order of likely use:
mp3, wave, ogg, midi.

png, jpg, tga.

Re: LÖVE Formats

Posted: Fri Nov 21, 2008 10:53 pm
by surtic
In my (humble) opinion, file formats should only be included if
1. The format itself is popular
2. It has advantages that other formats don't
3. It cannot be easily converted to other formats

Taking image formats as an example, I see a point in having PNG (transparency, lossless) and JPG (small files). BMP is popular, but it can be converted to PNG (or JPG) easily, so there's no point in supporting BMP.

Converting MP3 to OGG loses quality, plus MP3 is hugely popular, so there's definitely a point in having it (of course, legal issues should not be ignored).

I'm in favour of having less formats, but please (rude) could you please please add "image from buffer" at some point? (discussed for 0.4.0, then for 0.5.0). Then we could use PPM and TGA if we wanted to, without polluting the love namespace.

Re: LÖVE Formats

Posted: Fri Dec 19, 2008 12:25 pm
by Sardtok
You only need a license for mp3s if it's something commercial, and you actually make some money.
Thomson and Frauenhofer wrote:However, no license is needed for private, non-commercial activities (e.g., home-entertainment, receiving broadcasts and creating a personal music library), not generating revenue or other consideration of any kind or for entities with associated annual gross revenue less than US$ 100 000.00.

Re: LÖVE Formats

Posted: Fri Dec 19, 2008 1:32 pm
by Tabasco
I use PNG, TGA, and OGG, pretty much whether I'm toying around with love, c, or whatever. I wouldn't be opposed to MP3, but for that lander game I just loaded up Audacity and converted everything to ogg files.
There are plenty of tools available for converting images and audio to just about any format a person could imagine, so it seems to me that a few moments of extra work on the part of the programmer would be better than increasing dependencies and complexity in love.

Re: LÖVE Formats

Posted: Fri Dec 19, 2008 7:37 pm
by qubodup
Sardtok wrote:You only need a license for mp3s if it's something commercial, and you actually make some money.
This topic is pretty intercoursed up.

Lol, those **ck*ards use images to display text.
blah blah blah blah... Note: No license fees are due if less than 5000 copies of a particular game title are distributed.
(found out about this via this tigsource thread.)

Re: LÖVE Formats

Posted: Sat Dec 20, 2008 1:11 am
by Sardtok
qubodup wrote:
Sardtok wrote:You only need a license for mp3s if it's something commercial, and you actually make some money.
This topic is pretty intercoursed up.
Wuzzef0x?
They made an exception for games? It doesn't even say in their license, just their price page? That's farking retarded.

Re: LÖVE Formats

Posted: Sat Dec 20, 2008 11:28 pm
by farvardin
Löve should only support opensource formats, because there is more love in them.
And besides, there is no use to support too many formats (who cares about gif anymore ?) especially when they have a better equivalent or you can find some free converters. Löve should remain simple and portable.
I fear mp3 should raise some legal issues one day so it's better to avoid it.