NATION

PASSWORD

GIF flags are automatically being converted to PNG

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
The Cosmic Mainframe
Ambassador
 
Posts: 1104
Founded: Jan 26, 2020
Psychotic Dictatorship

GIF flags are automatically being converted to PNG

Postby The Cosmic Mainframe » Tue May 05, 2020 2:11 pm

I was trying to use this GIF that I made as a flag: https://i.imgur.com/cQoeyom.gif

It's just under the 250KB size limit and well under the image size limit. The issue is that when after I submit the flag, the animation disappears, and the file seems to have been converted to PNG.

I tried doing this on another browser, specifically GNOME Web, and had the same issue. I also tried uploading a much smaller and shorter GIF (one second, 21KB) to a puppet nation, had the same issue.

Is it still possible to upload GIF flags? Anything I may have missed?
== BEGIN POSTSCRIPT ==
The Mainframe requires more processing power and storage.
Donate your computing devices or they will be taken by force.
== END POSTSCRIPT ==

UPDATES (earth-year 3345): International Subsystem scales up operations in 42E5 "New York," Earth, now the largest known concentration of androids.

Factbooks | About Me | NationStates Flag Bracket II | Bytes (card farming region) | MAINFRAMEWAVE
Feel free to telegram me about anything. I'll do my best to respond.
Canon is relative to the observer. Not using NS stats.
This nation does not represent my real views, and if it represents yours, I question your sanity.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10541
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Tue May 05, 2020 2:54 pm

The Cosmic Mainframe wrote:It's just under the 250KB size limit
According to the upload page:
Animated GIFs are possible if the filesize is under 150kB and the image fits within 321x213 pixels. So you can have a small animated GIF so long as the filesize isn't too big. In this case, the animation will only run on your nation's home page.
Doesn't explain your second file, though.

User avatar
FNU
Chargé d'Affaires
 
Posts: 461
Founded: Jan 21, 2020
Inoffensive Centrist Democracy

Postby FNU » Tue May 05, 2020 2:58 pm

ADVICE: Redownload you gif on your computer. You'll see something towards the bottom that will probaly look like this

Cute_puppy_dance.gif

Click on it to edit it so it looks like this:

Cute_puppy_dance.png
---
It will keep the animation
I write dumb things, ask and I'll vaguely explain them.

User avatar
The Cosmic Mainframe
Ambassador
 
Posts: 1104
Founded: Jan 26, 2020
Psychotic Dictatorship

Postby The Cosmic Mainframe » Tue May 05, 2020 3:01 pm

FNU wrote:ADVICE: Redownload you gif on your computer. You'll see something towards the bottom that will probaly look like this

Cute_puppy_dance.gif

Click on it to edit it so it looks like this:

Cute_puppy_dance.png
---
It will keep the animation

GIF and APNG are different formats aren't they?
Trotterdam wrote:
The Cosmic Mainframe wrote:It's just under the 250KB size limit
According to the upload page:
Animated GIFs are possible if the filesize is under 150kB and the image fits within 321x213 pixels. So you can have a small animated GIF so long as the filesize isn't too big. In this case, the animation will only run on your nation's home page.
Doesn't explain your second file, though.

After editing my GIF to make it even smaller it seems to have worked. Wish it didn't have to be this tiny though.
== BEGIN POSTSCRIPT ==
The Mainframe requires more processing power and storage.
Donate your computing devices or they will be taken by force.
== END POSTSCRIPT ==

UPDATES (earth-year 3345): International Subsystem scales up operations in 42E5 "New York," Earth, now the largest known concentration of androids.

Factbooks | About Me | NationStates Flag Bracket II | Bytes (card farming region) | MAINFRAMEWAVE
Feel free to telegram me about anything. I'll do my best to respond.
Canon is relative to the observer. Not using NS stats.
This nation does not represent my real views, and if it represents yours, I question your sanity.

User avatar
Frisbeeteria
Senior Game Moderator
 
Posts: 27796
Founded: Dec 16, 2003
Capitalizt

Postby Frisbeeteria » Tue May 05, 2020 5:19 pm

I've had a lot of luck manipulating GIFs at this site https://ezgif.com. Start by reducing the height or width to fit the 321x213 pixels limit. Then reducing the file size by experimenting with a limited color palette, doing a Lossy GIF, and fiddling with the transparency. Sometimes one or a combination have given me good results.

See this region for some examples.

User avatar
The Cosmic Mainframe
Ambassador
 
Posts: 1104
Founded: Jan 26, 2020
Psychotic Dictatorship

Postby The Cosmic Mainframe » Tue May 05, 2020 5:25 pm

Frisbeeteria wrote:I've had a lot of luck manipulating GIFs at this site https://ezgif.com. Start by reducing the height or width to fit the 321x213 pixels limit. Then reducing the file size by experimenting with a limited color palette, doing a Lossy GIF, and fiddling with the transparency. Sometimes one or a combination have given me good results.

See this region for some examples.

Seems that can actually manipulate APNG files, so I decided to lower the framerate a bit and switch to APNG format, and it looks much much better now.
== BEGIN POSTSCRIPT ==
The Mainframe requires more processing power and storage.
Donate your computing devices or they will be taken by force.
== END POSTSCRIPT ==

UPDATES (earth-year 3345): International Subsystem scales up operations in 42E5 "New York," Earth, now the largest known concentration of androids.

Factbooks | About Me | NationStates Flag Bracket II | Bytes (card farming region) | MAINFRAMEWAVE
Feel free to telegram me about anything. I'll do my best to respond.
Canon is relative to the observer. Not using NS stats.
This nation does not represent my real views, and if it represents yours, I question your sanity.

User avatar
Dhhfth Hg
Civil Servant
 
Posts: 9
Founded: Jul 23, 2023
Ex-Nation

Postby Dhhfth Hg » Tue Feb 20, 2024 6:34 am

I have the same problem.
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠴⢆⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⡖⠋⠀⠀⠀⢣⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⡀⠱⡀⠀⠀⠀⠀⠱⡄⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢉⣿⣿⣆⠀⠀⠀⠀⠈⢆⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡀⠤⠄⠒⠒⠛⢿⣽⠏⢧⡀⠀⠀⠀⠈⢣⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠔⢪⠉⠀⠀⠀⠀⠀⠀⠀⠈⢻⣦⣄⣳⡀⠀⠀⠀⠀⠱⡄⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠔⠋⠀⠀⠀⠳⡀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣷⣟⣿⣄⠀⠀⠀⢀⣹⠄
⠀⠀⠀⠀⠀⠀⠀⢀⡠⠖⠉⠀⠀⠀⠀⠀⠀⠀⠙⣄⠀⠀⠀⠀⠀⠀⢀⠞⠁⠀⣇⠈⢦⣠⠔⠉⠀⠀
⠀⠀⠀⠀⢀⡠⠖⠉⠀⠀⢀⣠⣤⣄⡀⠀⠀⠀⠀⠈⢦⠀⠀⠀⠀⡴⠃⠀⠀⠀⠈⠓⠋⠀⠀⠀⠀⠀
⠀⠀⣠⠖⠳⡀⠀⠀⠀⠀⡾⠥⣼⡤⠟⡆⠀⠀⠀⠀⠀⢣⡀⣠⠎⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⡰⠃⠀⠀⠹⣄⠀⠀⠀⢿⡞⠙⣏⣶⠇⠀⠀⠀⠀⢀⡠⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⢀⡇⠀⠀⠀⠀⠈⢦⠀⠀⠀⠈⠉⠉⠁⠀⠀⢀⡤⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠈⣇⠀⠀⠀⠀⠀⠀⢣⡀⠀⠀⠀⠀⢀⡠⠖⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠘⢦⠀⠀⠀⠀⠀⠀⠱⡄⢀⡤⠚⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠙⠢⠤⠀⠀⠠⠤⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Dirgonia, Norktopia, Outer Sparta, Pauline Bonaparte, Sevulia, Sudpommern, Verderiesdre

Advertisement

Remove ads