Page 2 of 2

Posted: Sun Sep 10, 2006 8:14 am
by DarkDragon
thamarok wrote:Sure these methods work too, but in my earlier post in this topic I said:
By the way, if GIF images are going to be officially supported by PureBasic, I think the support for animation is the first aim; meaning that 2D game development will get much easier and you don't need each frame of an image as a separate file.
The support for animated GIF images would save disk space needed by a game, because all frames are saved in one file...
Blah blah don't tell such a stupid shit. It is even possible to put all frames in one frameset you silly guy. Never heard of ClipSprite()? Professional games would always do it this way, none would put them into a gif file(wtf. you could make AVIs with 2D Positional Audio Sound, but that wouldn't be a dynamic way).

http://images.google.de/images?svnum=10 ... btnG=Suche


[EDIT]
Look at this one: http://www.lf2.net/ a fighting game, and all animations are in one file, but no animated files!

Posted: Sun Sep 10, 2006 8:32 am
by thamarok
I know about ClipSprite() and Little Fighter 2. You are right, but it was just an idea I was talking of.

Posted: Sun Sep 10, 2006 9:50 am
by Dare
AFAIK, gif also uses a frame dispose/overlay approach which can reduce size considerably.

Be neat if there was a way to do that with some other formats, which would really pull the size down. Or is there?



BTW, having a bad day, Darkdragon, or are you just plain rude?

Posted: Sun Sep 10, 2006 11:45 am
by Pantcho!!
YOU GUYS ARE STEPPING OUT OF THE SUBJECT

I dont develop games and clips and spirtes

for my knwolege it was available already in Danilo Sprite lib 4 years ago!

all i want is a animated gif support thats it!

any buyers???

Posted: Sun Sep 10, 2006 12:05 pm
by DarkDragon
Dare wrote:BTW, having a bad day, Darkdragon, or are you just plain rude?
Sorry, it's just annoying he said it isn't possible to load multiple frames out of one image. It is possible!

Maybe thefool is infecting me? Too much MSNM ... . :wink: :lol:

Posted: Sun Sep 10, 2006 12:12 pm
by thamarok
DarkDragon wrote:
Dare wrote:BTW, having a bad day, Darkdragon, or are you just plain rude?
Sorry, it's just annoying he said it isn't possible to load multiple frames out of one image. It is possible!

Maybe thefool is infecting me? Too much MSNM ... . :wink: :lol:
Well, it was not pretty nice to read your post. And I didn't say anything, I suggested some good ideas.

Posted: Mon Sep 11, 2006 6:04 am
by DarkDragon
thamarok wrote:Sure these methods work too, but in my earlier post in this topic I said:
By the way, if GIF images are going to be officially supported by PureBasic, I think the support for animation is the first aim; meaning that 2D game development will get much easier and you don't need each frame of an image as a separate file.
The support for animated GIF images would save disk space needed by a game, because all frames are saved in one file ...
Still after the example which showed you that it also works with only one bmp or jpg or png file you said it doesn't work. ;-)

Sorry for being rude :-) .

Posted: Mon Sep 11, 2006 12:56 pm
by thamarok
Well no problem, aren't we all sometimes rude for each other? That is the culture of programming.

(If someone has something to complain, then .... do what ever you want :) )

Posted: Mon Sep 11, 2006 2:52 pm
by Paul
Most people now adays want more than 256 colors in their image.

That being said, I also think PureBasic should support as many image formats as possible simply for flexability.

Posted: Mon Sep 11, 2006 2:57 pm
by NoahPhense
Paul wrote:Most people now adays want more than 256 colors in their image.

That being said, I also think PureBasic should support as many image formats as possible simply for flexability.
What is the current and complete list of encode & decodes that PB supports?

- np

Posted: Mon Sep 11, 2006 4:24 pm
by Paul
Look in Help File under "ImagePlugin"

Read
-------
BMP
JPG
PNG
TGA
TIF

(and according to help file TGA and PNG alpha channels are ignored so these formats are not fully supported... of course other parts of help file state that alpha channel is supported in TIF and PNG)


Write
-------
BMP
JPG
PNG

Posted: Mon Sep 11, 2006 4:57 pm
by NoahPhense
Paul wrote:Look in Help File under "ImagePlugin"

Read
-------
BMP
JPG
PNG
TGA
TIF

(and according to help file TGA and PNG alpha channels are ignored so these formats are not fully supported... of course other parts of help file state that alpha channel is supported in TIF and PNG)


Write
-------
BMP
JPG
PNG
Is there any future to there being more added? Even if it's just a library
set from Fred (or Crew). I know there are other DLL's and libraries out
there that I can use to get any format, either encode or decode. But I
don't want to ever have to worry about rights, etc.

- np