NATION

PASSWORD

Animated Banners?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Nerasian Empire
Envoy
 
Posts: 280
Founded: Jul 19, 2021
Iron Fist Consumerists

Animated Banners?

Postby Nerasian Empire » Sat Jan 04, 2025 8:51 pm

I was putting some new banners and saw that it accepted the Gif format, but sadly on the nation main page, it didn't worked, looks like a normal image. There is any way to put an gif or any animated format there?
The Nerasian Empire

Yes, we are the ones funding the downfall of Assad in Syria. Iran and Russia are next.

User avatar
Nerasian Empire
Envoy
 
Posts: 280
Founded: Jul 19, 2021
Iron Fist Consumerists

Postby Nerasian Empire » Thu Jan 09, 2025 2:13 pm

/bump
The Nerasian Empire

Yes, we are the ones funding the downfall of Assad in Syria. Iran and Russia are next.

User avatar
United Calanworie
Technical Moderator
 
Posts: 5175
Founded: Dec 12, 2018
Democratic Socialists

Postby United Calanworie » Thu Jan 09, 2025 5:07 pm

No.
@queerlyfe | She/Her/Hers
Getting Help Request (GHR) | One Stop Rules Shop (OSRS) | Routine Actions thread | NS Announcements Discord
Script Rules | API Documentation | Approved Image Hosts | How Bots are Regulated | NS Coders Discord

"...against all enemies, foreign and domestic..."
You are such a crybaby [...] all you do is lock threads and be a bitch to people, nobody likes you, you aren’t cool, you lock every thread for stupid reasons, often times not giving a reason, [...] all you do is sit on your computer all day on NationStates, locking threads at a rate 5x higher than any other mod [...] stop trying so hard to impress people, literally nobody like you.
Have a good day

User avatar
Falloa
Political Columnist
 
Posts: 3
Founded: Oct 23, 2020
Democratic Socialists

Postby Falloa » Fri Jan 10, 2025 9:19 am

United Calanworie wrote:No.
Why no? Cause I saw an animated flag on a Season 4 card.

User avatar
Nerasian Empire
Envoy
 
Posts: 280
Founded: Jul 19, 2021
Iron Fist Consumerists

Postby Nerasian Empire » Fri Jan 10, 2025 9:32 am

Falloa wrote:
United Calanworie wrote:No.
Why no? Cause I saw an animated flag on a Season 4 card.


The key word is Flag, I was talking about banners, I just don't know why Banners accept gif format in the first place.
The Nerasian Empire

Yes, we are the ones funding the downfall of Assad in Syria. Iran and Russia are next.

User avatar
Refuge Isle
Technical Moderator
 
Posts: 2592
Founded: Dec 14, 2018
Left-wing Utopia

Postby Refuge Isle » Fri Jan 10, 2025 2:36 pm

I'll elaborate on the previous...somewhat terse response.

Nerasian Empire wrote:
Falloa wrote: Why no? Cause I saw an animated flag on a Season 4 card.


The key word is Flag, I was talking about banners, I just don't know why Banners accept gif format in the first place.

In 90% of cases, no one cares what the format of their image file is, they just want that image as their flag. Flags accept gifs even if they won't display as gifs. If a flag is uploaded as a gif, but it doesn't meet our gif requirements, it's resized and loses its animation -- re-saved as a jpg. Similarly, nation banners always compress and save images as a jpg.

Jpgs are a reasonably efficient format for storing image files. Conversely, gifs are a notoriously poorly optimised format; out of the twenty or so most-used image formats I can immediately think of, I'd rate gifs as the third most hellish. If you wanted a 1400x400 animated banner, it would probably end up being some 30-50MB depending on the complexity of the image and frames of the animation. We don't have the capacity to store that much for 300,000 nations, and I suspect mobile users' data plans would not enjoy it either.

Since MP4s are vastly more efficient for displaying moving imagery, it's more likely we'd pursue that, but the format of nation banners themselves make this a little out of place. I can't see us implementing animation in banners unless NationStates' UI got a complete overhaul (to at least make the whole thing visible on all resolutions). In which case, that overhaul would be the priority and not this. Therefore we cannot pursue animated banners at this time.

User avatar
Nerasian Empire
Envoy
 
Posts: 280
Founded: Jul 19, 2021
Iron Fist Consumerists

Postby Nerasian Empire » Fri Jan 10, 2025 2:39 pm

Refuge Isle wrote:I'll elaborate on the previous...somewhat terse response.

Nerasian Empire wrote:
The key word is Flag, I was talking about banners, I just don't know why Banners accept gif format in the first place.

In 90% of cases, no one cares what the format of their image file is, they just want that image as their flag. Flags accept gifs even if they won't display as gifs. If a flag is uploaded as a gif, but it doesn't meet our gif requirements, it's resized and loses its animation -- re-saved as a jpg. Similarly, nation banners always compress and save images as a jpg.

Jpgs are a reasonably efficient format for storing image files. Conversely, gifs are a notoriously poorly optimised format; out of the twenty or so most-used image formats I can immediately think of, I'd rate gifs as the third most hellish. If you wanted a 1400x400 animated banner, it would probably end up being some 30-50MB depending on the complexity of the image and frames of the animation. We don't have the capacity to store that much for 300,000 nations, and I suspect mobile users' data plans would not enjoy it either.

Since MP4s are vastly more efficient for displaying moving imagery, it's more likely we'd pursue that, but the format of nation banners themselves make this a little out of place. I can't see us implementing animation in banners unless NationStates' UI got a complete overhaul (to at least make the whole thing visible on all resolutions). In which case, that overhaul would be the priority and not this. Therefore we cannot pursue animated banners at this time.


Honestly, after this I don't blame you, I wouldn't pursue this either, while is a improvement, is too much work for something that already is fine at is it, thanks for your time and you can close the topic if you want.
Last edited by Nerasian Empire on Fri Jan 10, 2025 2:56 pm, edited 1 time in total.
The Nerasian Empire

Yes, we are the ones funding the downfall of Assad in Syria. Iran and Russia are next.

User avatar
Verdant Haven
Director of Content
 
Posts: 3473
Founded: Feb 26, 2013
Left-wing Utopia

Postby Verdant Haven » Fri Jan 10, 2025 2:40 pm

Nerasian Empire wrote:I just don't know why Banners accept gif format in the first place.

While it's far from a great format, it was quite common 22 years ago when the game was made for websites to use the .gif format for still images. There's not much point in removing compatibility retroactively, so it sticks around as an option.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: First Nightmare, Frailty, Simonia

Advertisement

Remove ads