How to make gif-animation by means of Alaska+Express?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to make gif-animation by means of Alaska+Express?

#1 Post by Eugene Lutsenko »

How to make gif-animation by means of Alaska+Express?

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: How to make gif-animation by means of Alaska+Express?

#2 Post by Auge_Ohr »

Eugene Lutsenko wrote: Mon Dec 27, 2021 10:37 pm How to make gif-animation by means of Alaska+Express?
there is a Sample in Express++
c:\exp19\Samples\Animgif\playgif.PRG

it does need ActiveX (which must be installed)
greetings by OHR
Jimmy

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: How to make gif-animation by means of Alaska+Express?

#3 Post by Tom »

The PLAYGIFO.OCX control which is referenced in this 15 years old sample is not available anymore from the owner/distributor, and if you try to find it, you will end on several websites with horrible content.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How to make gif-animation by means of Alaska+Express?

#4 Post by rdonnay »

I wrote an application for a customer who still uses the PLAYGIFO.OCX.

This one is still working good for him.

http://bb.donnay-software.com/subscribe/playgif.zip
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: How to make gif-animation by means of Alaska+Express?

#5 Post by Eugene Lutsenko »

Many thanks to everyone!

And how to create a gif animation using Alaska +Express?
Is it possible to do this from jpg files and if there are very, very many of them, for example 10000?

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: How to make gif-animation by means of Alaska+Express?

#6 Post by Auge_Ohr »

hi Eugene,

here you find Structure of GIF89a Format
https://www.w3.org/Graphics/GIF/spec-gif89a.txt

have not "see" any Code to "make" a GIF using Xbase++

---

i can "play" a (very) "simple" GIF89a File with my CLASS DXE_GIF() using "pure" Xbase++
https://www.xbaseforum.de/viewtopic.php?f=16&t=12166

:idea:
you can "reverse" my Code to "write" a GIF File ...
greetings by OHR
Jimmy

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: How to make gif-animation by means of Alaska+Express?

#7 Post by Eugene Lutsenko »

Auge_Ohr wrote: Fri Dec 31, 2021 12:01 am hi Eugene,

here you find Structure of GIF89a Format
https://www.w3.org/Graphics/GIF/spec-gif89a.txt

have not "see" any Code to "make" a GIF using Xbase++

---

i can "play" a (very) "simple" GIF89a File with my CLASS DXE_GIF() using "pure" Xbase++
https://www.xbaseforum.de/viewtopic.php?f=16&t=12166

:idea:
you can "reverse" my Code to "write" a GIF File ...
Theoretically, I understand how to do this, but in practice I can hardly do it

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How to make gif-animation by means of Alaska+Express?

#8 Post by rdonnay »

Is it possible to do this from jpg files and if there are very, very many of them, for example 10000?
Yes, look at the sample program: \exp20\samples\animation\animation.prg.

/*
This sample program shows how to create an animation (similar to an animated GIF)
from a set of .JPG, .BMP, .GIF or .PNG files.

First, the set of files are stored in an XML file as binary data.
The file is created by the function AnimatedImageCreate().
This uses the eXpress++ DC_XmlNode() class to create the XML.

Then the animation is run by reading the XML and using the XbpBitmap:setBuffer()
method to paint each image. This is being run in another thread.
*/

You can run the animation forward or backward and even set the starting and ending frame.
The eXpress train is coming - and it has more cars.


Post Reply