From: Gustavo S. B. <gu...@gs...> - 2004-05-25 15:46:06
|
Em Ter=E7a 25 Maio 2004 08:20, Dennis Smit escreveu: > On Mon, 2004-05-24 at 23:26 -0300, Gustavo Sverzut Barbieri wrote: > > Em Monday 24 May 2004 23:17, Dennis Smit escreveu: > > > Hello list, > > > > > > I need some comments on the following: > > > > > > I want to add an image loader to the visual_video system. > > > > > > The basic idea is to have some functions to load image content > > > from file into a VisVideo, this could be used to replace all these > > > home brew semi but not really working bmp loaders and could > > > be especially handy for openGL texture loading. However I'm not yet > > > decided which image format we want here. The image format needs to > > > be a simple one tho, and the main candidates are, in my opinion > > > xpm and bmp. I think bmp might be better because it's supported > > > in the windows world and by SDL. The xmms plugins i've seen mostly use > > > bmp. > > > > SDL_image support png and jpeg also, doesn't it? > > Make it an optional requirement and if it doesn't exist use bmp. > > Well i don't want to bloat this. And optional requirements mean that > some plugins will only work when the desired image loaders are there. why? the internal representation is the same. 32bpp (RGBA). > I personally rather just go for one >simple< format without any external > requirements. Make it optional, if user compile without it then it just read bitmaps. > But if we have to pick ONE format you agree that bmp would suite best > probably ? I don't like bitmap, but it's the easiest, so go with it. =2D-=20 Gustavo Sverzut Barbieri =2D-------------------------------------- Engenharia de Computacao 2001 - UNICAMP GPSL - Grupo Pro Software Livre Cell..: +55 (19) 9165 8010 Jabber: gsb...@ja... ICQ#: 17249123 GPG: 0xB640E1A2 @ wwwkeys.pgp.net |