Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » About the GIF plug-in

This thread is locked; no one can reply to it. rss feed Print
About the GIF plug-in
keprast
Member #16,794
January 2018

I recently learned some:game loop,cpp.
My idea of using CPP to make node animations.And easy to use plug-ins.

For some reasons, for example GFW.I can get into this place, and it's lucky.
I can't open the wiki page of algif. :( So, I'm missing a lot of information.

My question is: how algif works on vs2015?
Does it only need to contain a header file? Or what else?
Because vs can't identify part of the symbol.

If you have time, the code is needed for the ignorant.thanks.

nshade
Member #4,372
February 2004

Allegro 5 had a GIF addon? I was thinking of using them for my project, but discovered that Allegro 5 doesn't use indexed colors and and only 24+alpha colorspace. (I just updated everything to 24 bit anyway and used PNG files.)

Cant you just use the video addon, or maybe just have each frame as it's own bitmap?

keprast
Member #16,794
January 2018

@nshade

No, unofficial, it's on the "algif" on the Allegro wiki.
But I can't use it because the compiler prompts for a lack of symbols.

What exactly is the video bitmap? Can you tell me?
In fact, I don't really understand the nouns in the Allegro.

Edgar Reynaldo
Member #8,592
May 2007
avatar

Keprast, I suggest you use a translation service such as translate.google.com or babelfish, or something. I can't understand half of what you say.

translate.google.com said:

Keprast,我建議你使用翻譯服務,比如translate.google.com或babelfish,等等。 我無法理解你說的一半。

Keprast said:

No, unofficial, it's on the "algif" on the Allegro wiki.
But I can't use it because the compiler prompts for a lack of symbols.

You don't need the video add-on. Tell us what your errors were. If you had undefined symbols that means you didn't link properly. You have to add the source code of algif to your project and compile it together. Tell us what your errors were and maybe we can help you. Quote them exactly please. As well, post the code it refers to if the error is on a specific line.

translate.google.com said:

你不需要視頻插件。 告訴我們你的錯誤是什麼。 如果你有未定義的符號,這意味著你沒有正確鏈接。 您必須將algif的源代碼添加到您的項目中並一起編譯。 告訴我們你的錯誤是什麼,也許我們可以幫助你。 請引用他們。 同樣,如果錯誤位於特定行上,則發布它所引用的代碼。

keprast
Member #16,794
January 2018

@Edgar Reynaldo

thank you for your help. :)
I made a mistake.It's like writing "= =" to "=".

However, I still want to know the role of video bitmaps.
Can you simply explain "video bitmap"?thanks.

Neil Roy
Member #2,229
April 2002
avatar

A video bitmap is a bitmap created in your video card's memory, as opposed to a memory bitmap which would be created in your system's normal memory. Video bitmaps are much faster due to being on your video card already.

keprast
Member #16,794
January 2018

@Neil Roy

The meaning is that: video bitmap will be created by the graphics card?Not cpu?

LennyLen
Member #5,313
December 2004
avatar

keprast said:

The meaning is that: video bitmap will be created by the graphics card?Not cpu?

Correct.

Go to: