Hacker News new | ask | show | jobs
by jiehong 619 days ago
Do open source licences apply to SVGs? They are technically icon written in code.

I may be a bit naive, as it just occurred to me.

1 comments

Interesting question. I mean, one can claim that .png files are also written in code?..
A png is about as much code as a compiled binary. They aren’t code, they might be the result of some code being compiled, but open source licenses normally define the source as the format most useful for editing, which probably is the input that a png icon is generated from, not the png itself.
OK sure, bad example. A Photoshop .psd file then.
I am not entirely familiar with the .psd format. However, a rule of thumb is that if you can open an image file in a text editor, see readable code, and modifying the code affects the image, then the image is definitely written in code.
TIL that Excel saves files as source code, as xlsx is XML
Is that supposed to be sarcastic? If a HTML source counts as „source code“, the excel file should count, too, right?