-
For posterity's sake, the link should probably be changed to https://github.com/zepouet/Xee-xCode-4.5/blob/83394493f51991...
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
My favourite is wm4's rant about C locales. It's quite impressive.
https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02...
-
FWIW here's the original SimCity save function, which I've long since cleaned up and put in byte swapping to make it portable, but yes it is just writing out some big buffer of memory with a function that swaps bytes:
https://github.com/SimHacker/micropolis/blob/master/Micropol...
Here's some original SimCity 2000 Mac code that saves the city into Mac resources:
Boolean DoSave(short VolNum,Byte *name){
-
PSD is horrible, that is certainly true. And underdocumented. And dumb... And we needed to implement read/write support for that in Krita.
But Painttool Sai's format is actively evil, with different kinds of encryption for different size layers and things like that: https://github.com/Wunkolo/libsai/issues/6 (We tried to use that library to implement sai file format support for Krita, but then ran into trouble...)
Manga Studio/Clip Studio Paint's file format is interesting as well: it's just an SQLite database, with raster data stored as blobs. Not going to implement that for Krita either.