Twitter has announced that it will no longer allow Animated PNG (APNG) files to be posted by users so that people with sensitivity to motion and flashing imagery can feel more confident when using the service.

The decision comes just days after the Epilepsy Foundation revealed that its Twitter account had beenthe target of an attackthat used flashing images in a bid to trigger seizures.

Promotional image for Tech For Change. Person standing on solar panel looking at sunset.

Exposure to flashing lights and particular visual patterns can cause seizures in about 3% of those with epilepsy, according to the Epilepsy Foundation. “Photosensitive epilepsy,” as it’s known, is more common among children and adolescents.

The ability to configure Twitter to prevent videos and GIFs from autoplaying allows those with photosensitive epilepsy to protect themselves from flashing media, whether it’s been tweeted innocently or as part of a malicious act. ButTwitter Support saidthis week that APNG files are able to bypass Twitter’s autoplay settings, so it’s preventing them from being included in future posts.

Twitter saidit had made the decision “for the safety of people with sensitivity to motion and flashing imagery, including those with epilepsy.”

APNG files that have been posted in the past will remain in place, and PNG files will continue to be allowed.

As most people use GIFs to post animated images, Twitter’s move to prevent APNG posts on its platform should cause minimal disruption among its community.

The Epilepsy Foundation said last week that it had filed a formal criminal complaint in connection with the attack on its Twitter account. It’s not clear if the flashing media directed at its account triggered any seizures among those who viewed it.

‘We want people to feel safe’

Responding to the incident, a Twitter spokesperson told Digital Trends: “We want people to feel safe on our service. We provide people on Twitter with the option of preventing media from autoplaying in their timelines, as well as prevent any GIFs from appearing when someone searches for ‘seizure’ in GIF search.”

It added that whenever it finds an account that is dedicated to causing offline harm, it is permanently suspended.

Flashing images on Twitter have been known to cause seizures in those with photosensitive epilepsy. Ina high-profile case in 2016, for example, Maryland resident John Rayne Rivello was accused of using the microblogging platform to send a flashing image to American journalist and author Kurt Eichenwald, which had the effect of triggering a seizure. Rivello is due to appear in court in January 2020 when he will reportedly plead guilty to aggravated assault.

Want to turn off autoplay for videos and GIFs in Twitter? Tap on your profile picture, then onSettings and privacy. Next, tapData usageand thenVideo autoplay. Finally, selectNever.

Updated on August 03, 2025: Clarified that APNGs can no longer be posted, while those posted before the ban will remain in place.