Spyke
lemmy.world

GIFs have transparency, but not alpha blending so it would have jagged edges. When PNGs were first supported by IE, you had to do some crazy ActiveX scripting calls to make it work.

At the time, Microsoft had shut down the IE team since they had beaten Netscape in the browser wars. If it hadn’t been for Firefox, we would be stuck with that crappy PNG implementation!

57
gruereply
lemmy.world

Neither do today's adults, since gifs always allowed up to 256 colors. (The "8" you're probably thinking of was the number of bits per pixel.)

32

the only time i think I ever interacted with targa files was with team fortress 2, and probably valve games in general

11
lemmy.ml

Back in the day I was a graphics professional. A targa file with alpha was the way. I'm old. 😄

2
frezikreply
midwest.social

GIF doesn't have transparency (Edit: more accurately, ranges of transparency). I thought that was the joke.

6

My favourite in simplicity is still xpm (X PixMap) format. You can draw that in your text editor. XFCE's window manager still uses it for borders.

3
lemmy.world

PNG was built to replace GIF and TIFF.

The Portable Network Graphics (PNG) format was designed to replace the older and simpler GIF format and, to some extent, the much more complex TIFF format.

And it stands to this day, with the exception of animation:

One GIF feature that PNG does not try to reproduce is multiple-image support, especially animations; PNG was and is intended to be a single-image format only.

Though APNG came later, and we even have MP4.

http://www.libpng.org/pub/png/pngintro.html

Bonus:

No detail was too small for consideration in the authors' quest for a near-perfect image format; yea, verily, even the acronym and pronunciation were major topics of discussion. The reason, of course, is the GIF format; some pronounce it with a soft G like giraffe, some with a hard G like gift, and no one really knows what they're talking about. (For the record, the soft G is correct; it is how the author of the format pronounces it.)

"PNG" is always spelled* "PNG" (or "Portable Network Graphics") and always pronounced "ping" in English, not "pinj" or "pee en gee" or any other multi-syllabic disaster. (For non-English speakers, the three-letter pronunciation is fine, however.)

15
Ventreply

Never heard anyone pronounce it ping, lol! P-N-G is a better pronunciation anyway. Less ambiguous, there's already something called ping that is super common in computing.

22
Obireply
sopuli.xyz

If they wanted me to pronounce it ping they should've spelled it ping.

22

Odd they bring up TIFF. That one is more like a container format that can hold many different types of images.

4

Funfact: APNG is now stadardized as part of third edition of PNG spec

4

with the exception of animation.

Funny you should mention that… From the GIF89 specification, Appendix D:

Animation - The Graphics Interchange Format is not intended as a platform for animation, even though it can be done in a limited way.

2
frezikreply
midwest.social

Back in the 90s, I was asked to critique a local business web site. I noticed a picture wasn't loading correctly on Netscape Navigator when it was working fine on IE. Turned out, the designer had stuck in a 5MB BMP image. This when a whole lot of people were still on 56K modems.

6
lemmy.dbzer0.com

My scanner defaults to .tiff for some reason if I scan from the button and it cannot be changed. Have to scan from gnome-document-scanner if I want different formats.

6
Damagereply
slrpnk.net

TIFF was invented for scanners and is lossless, out at least less lossy than jpg

6

Good to know, didn't realize it was lossless! For me the format I usually need my scans in is pdf, but that is useful info!

1
lemmy.world

Anyone else remember when people hated PNG like they hate WEBP today, for the same reason; namely lack of wide-spread software support?

15
Ventreply
lemm.ee

JpegXL is definitely better overall, especially for its texture-preserving features, but it's even less supported than webp :(

4

PNG mainly lacked support from Microsoft (Internet Explorer) and Adobe (Photoshop). IE didn't handle PNG transparency, while Photoshop had a shitty PNG implementation that tended to produce files larger than an equivalent GIF. Held back widespread adoption for almost a decade.

4

That was the world long after PNG was invented since IE didn't support it for years, and the majority of people and all the businesses used IE.

12

Nah, they just had the interns rotoscoping everything manually

10
lemmy.world

And we still can't agree on how to pronounce PNG. The inventer says PNG... case closed degenerates.

5

They should have put superman after the plane. “It’s a bird…it’s a plane…it’s… its” was literally things we said in the 1990s.

4

PNG once appeared as likely to succeed as Firefox does now (not very). I can’t believe it finally achieved wide adoption.

But where’d the MNG and APNG go?

2

Pro-Tip: it's still that way today, just smaller blocks. :-D

::: spoiler spoiler It's pixels all the way down. :-P :::

1