All Projects → DavidBuchanan314 → Tweetable Polyglot Png

DavidBuchanan314 / Tweetable Polyglot Png

Licence: mit
Pack up to 3MB of data into a tweetable PNG polyglot file.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tweetable Polyglot Png

Sockethub
A protocol gateway for the Web.
Stars: ✭ 329 (+10.03%)
Mutual labels:  polyglot, twitter
StegX
Steganography (BMP, PNG, WAV, MP3, AVI, FLV)
Stars: ✭ 22 (-92.64%)
Mutual labels:  png, steganography
stegjs
Encrypt message to PNG image.
Stars: ✭ 18 (-93.98%)
Mutual labels:  png, steganography
Cosmopolitan
build-once run-anywhere c library
Stars: ✭ 6,324 (+2015.05%)
Mutual labels:  zip, polyglot
Leanify
lightweight lossless file minifier/optimizer
Stars: ✭ 694 (+132.11%)
Mutual labels:  zip, png
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-84.62%)
Mutual labels:  zip, png
Stegify
🔍 Go tool for LSB steganography, capable of hiding any file within an image.
Stars: ✭ 927 (+210.03%)
Mutual labels:  png, steganography
Dareblopy
Data Reading Blocks for Python
Stars: ✭ 82 (-72.58%)
Mutual labels:  zip, png
Twitter Clone
Twitter clone. The target is learning Vue framework and technique of backend to implement a SPA website.
Stars: ✭ 87 (-70.9%)
Mutual labels:  twitter
Twitter Word Cloud
Twitter word cloud generator
Stars: ✭ 91 (-69.57%)
Mutual labels:  twitter
Yourfukurou
Hackable YoruFukurou alternative Twitter client
Stars: ✭ 85 (-71.57%)
Mutual labels:  twitter
Refined Twitter
Browser extension that simplifies the Twitter interface and adds useful features
Stars: ✭ 1,279 (+327.76%)
Mutual labels:  twitter
Bot Followers
🍊 Find out how many bots follow any given Twitter acount
Stars: ✭ 91 (-69.57%)
Mutual labels:  twitter
Pentesting toolkit
🏴‍☠️ Tools for pentesting, CTFs & wargames. 🏴‍☠️
Stars: ✭ 1,268 (+324.08%)
Mutual labels:  steganography
Twitter Sentiment Analysis
This script can tell you the sentiments of people regarding to any events happening in the world by analyzing tweets related to that event
Stars: ✭ 94 (-68.56%)
Mutual labels:  twitter
Fake Tweet
Tweet React Component
Stars: ✭ 85 (-71.57%)
Mutual labels:  twitter
Pyfilesystem2
Python's Filesystem abstraction layer
Stars: ✭ 1,256 (+320.07%)
Mutual labels:  zip
Socialauthhelper
Easy social network authorization for Android. Supports Facebook, Twitter, Instagram, Google+, Vkontakte. Made by Stfalcon
Stars: ✭ 94 (-68.56%)
Mutual labels:  twitter
Icotar
A free colorful icon avatar generator.
Stars: ✭ 94 (-68.56%)
Mutual labels:  png
Django Graphql Social Auth
Python Social Auth support for Graphene Django
Stars: ✭ 90 (-69.9%)
Mutual labels:  twitter

tweetable-polyglot-png

Pack up to 3MB of data into a tweetable PNG polyglot file.

See it in action here: https://twitter.com/David3141593/status/1371974874856587268

How?

Twitter strips unnecessary data from PNG uploads, however, they do not strip trailing data from the DEFLATE stream inside the IDAT chunk, provided that the overall image file meets the requirements to avoid being re-encoded.

Why?

Dunno.

Cover image requirements

The cover image must compress well, such that the compressed filesize is less than (width * height) - size_of_embedded_file. If the cover image does not have a palette, then it must have at least 257 unique colours (otherwise twitter will optimise it to use a palette).

The resolution can be up to 4096x4096, however, be aware that twitter will serve a downscaled version by default, for images greater than 680x680 (depending on your display DPI, etc.).

The image should not have any unecessary metadata chunks. I used these export settings in GIMP:

image

Embedded file requirements

The total output file size must be less than 3MB (maybe 5MB?), otherwise twitter will convert the PNG to a JPEG.

If the embedded file is a .zip, then the offsets are automatically adjusted so that the overall file is still a valid zip. For any other file formats, you're on your own (many will work without any special handling, notably .pdf, .mp3).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].