The smallest 256x256 single-color PNG file, and where you've seen it (2015)
1–10 of 104 posts
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#2Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#3[1] https://docs.mapbox.com/data/tilesets/guides/access-elevatio...
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#4"oxipng" (my current preferred png optimizer) bring a plain 256x256 image created with imagemagick down to 179 bytes, as long as you tell it to strip all metadata objects.
Interlacing doesn't make any difference, it's the same size with it on or off.
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#5For OpenStreetMap 136 bytes
http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#6Convert to svg maybe? For OpenStreetMap 136 bytes http://www.w3.org/2000/svg " width="256" height="256" viewBox="0 0 256 256">
Also - pardon my ignorance, this may be a dumb question, is SVG universally supported in browsers these days? I’m not big up on image standards.
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#7Even better would be no image for the water tiles and set the background color of the container element.
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#8Convert to svg maybe? For OpenStreetMap 136 bytes http://www.w3.org/2000/svg " width="256" height="256" viewBox="0 0 256 256">
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#9This is one example where "zopfli" or other optimized zlib compressors don't help, the input data is too simple. "oxipng" (my current preferred png optimizer) bring a plain 256x256 image created with imagemagick down to 179 bytes, as long as you tell it to strip all metadata objects. Interlacing doesn't make any difference, it's the same size with it on or off.
Re: The smallest 256x256 single-color PNG file, and where you've seen it (2015)
#10Convert to svg maybe? For OpenStreetMap 136 bytes http://www.w3.org/2000/svg " width="256" height="256" viewBox="0 0 256 256">
The png is only 103 bytes though. Btw your svg can be decreased by changing viewBox to 0 0 1 1, and also by changing the path to a circle (implicitly positioned at 0, 0)