The shoutbox is currently out of service. Join us on Discord instead.

Dynamically generated GIF scrolltext

Started by DarkestEx, December 20, 2015, 10:14:58 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DarkestEx

December 20, 2015, 10:14:58 pm Last Edit: December 20, 2015, 10:16:54 pm by DarkestEx
Heya!

I was recovering the dynamic GIF generator for scrolling images that I wrote a few months back to generate my signature image on the fly.
Today I reworked the PHP script some more, made it even messier, but added a lot of new features. I will clean the code up one day.
I also changed my avatar to a dynamically generated version. If anybody wants to have a custom bar inside their signature or an animated avatar, I would love to help.
Those who want an avatar can give me a font and a background image, tell me the remaining settings and I will create them a dynamically changing avatar or one that is generated once that they can download.
At some point will I release the code or create a service for these images.

I hope you like them :)

p4nix

Really cool plans and really cool stuff you've made. How is it working exactly under the hood? Too lazy to dig into your webserver...

kegwaan

"If it's stupid and it works, it's not stupid."

alexgt

Quote from: kegwaan on December 20, 2015, 10:22:57 pm
So where to I go to ask for one?

I would say here ;)

That is really cool DarkestEx, I am going to stay with Iron Ninja Fancy Stache Man though :P

Juju

That looks quite nice, can I have the code?
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

DarkestEx

Quote from: p4nix on December 20, 2015, 10:22:05 pm
Really cool plans and really cool stuff you've made. How is it working exactly under the hood? Too lazy to dig into your webserver...

It has multiple modes. The text always scrolls, but the background might stay or move too. To generate the frames, the whole string is drawn first and cut into the individual frames. Then the frames are compiled into a gif and cached. The animation is only generated after a few hours or if I force it to rebuilt it. It is configured over an extensive config file.
PHP is the programming language. The .gif extension is archieved using Apache's .htaccess config

Quote from: kegwaan on December 20, 2015, 10:22:57 pm
So where to I go to ask for one?

Just PM me and discuss what features it should have, what font and background and if it should change or stay the same.
I can host it for you if you need it to be dynamic (e.g. countdown or often changing text). We can even read in RSS feeds and refresh the image on new updates.

Quote from: alexgt on December 20, 2015, 11:08:29 pm
Quote from: kegwaan on December 20, 2015, 10:22:57 pm
So where to I go to ask for one?

I would say here ;)

That is really cool DarkestEx, I am going to stay with Iron Ninja Fancy Stache Man though :P

Sure, but maybe a bar inside your signature could be cool ;)

Quote from: Juju on December 21, 2015, 12:11:20 am
That looks quite nice, can I have the code?

Yes, I will PM you the preliminary code.

alexgt

Yeah, I will think on what to put inside, could you get the Internets I have and display them as an example (the bar doesn't work very well it says I have 14 when I actually have 16 xD)

DarkestEx

Quote from: alexgt on December 21, 2015, 12:55:37 am
Yeah, I will think on what to put inside, could you get the Internets I have and display them as an example (the bar doesn't work very well it says I have 14 when I actually have 16 xD)

Yes, I can display your internets count whereever you want and even change it.

Juju

Heh, thanks.

Quote from: DarkestEx on December 21, 2015, 12:51:56 am
The .gif extension is archieved using Apache's .htaccess config
Or you stick a ?ext=.gif at the end, would work as well.
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

DarkestEx

Quote from: Juju on December 21, 2015, 01:00:01 am
Heh, thanks.

Quote from: DarkestEx on December 21, 2015, 12:51:56 am
The .gif extension is archieved using Apache's .htaccess config
Or you stick a ?ext=.gif at the end, would work as well.

Yea sure, but actually I wouln't even need the .gif. .php works fine as I am sending the gif content type.

alexgt

Quote from: DarkestEx on December 21, 2015, 12:57:21 am
Quote from: alexgt on December 21, 2015, 12:55:37 am
Yeah, I will think on what to put inside, could you get the Internets I have and display them as an example (the bar doesn't work very well it says I have 14 when I actually have 16 xD)

Yes, I can display your internets count whereever you want and even change it.

Awesome ;)

I will PM you when I give it a bit more thought  :thumbsup:

DJ Omnimaga

I like your new avatar DarkestEx. You should make a random :walrii: scroll inside the text.

DarkestEx

Quote from: DJ Omnimaga on December 21, 2015, 04:40:05 am
I like your new avatar DarkestEx. You should make a random :walrii: scroll inside the text.

Oh yea, that'd be nice

alexgt


c4ooo

I dont understand why the browser wont just cache it ???

Powered by EzPortal