Hacker News new | ask | show | jobs
by Nullabillity 922 days ago
> Real pixels do hold data, and vectorizing them will typically cause some data loss.

Chickens and eggs. If you have vector data already, it's better to distribute the raw vectors than to rasterize them. If you only have raster data, distribute the rasters (where viable) instead of trying to trace them. Lossy operations are lossy.

Vectors are largely preferable to rasters, but that doesn't mean you can reproduce them if you only have the rasters. Just like distributing source code is usually preferable to compiled binaries, but that doesn't mean that we just pump everything through Ghidra and call it a day.

2 comments

Yeah, exactly. The takeaway IMO is that there are different formats best for different kinds of data. There's no "best" or "ultimate" format, it just depends on your use case.
> Vectors are largely preferable to rasters

Not for continuous tone images like photographs, they're not. They are excellent however for line art.

If you have vector data already.