Post #1662193
2026-04-17 11:41 UTC
@foxyoreos I mean like reproducible builds! :3 It's less about scripting Krita and more about knowing there isn't Nondeterministic Random Junk in our document, the way text files don't have Nondeterministic Random Junk.
Also 24x24 pixel art with a known color palette is pretty easy to get exact. :3
Replies (2)
-
@IceWolf@masto.brightfur.net 2026-04-17 11:46
@foxyoreos But yeah for version control, you don't need to deterministicify the UUIDs since they don't change. You do still have to zero out the timestamps though.
-
@foxyoreos@gulp.cafe 2026-04-17 11:47
@IceWolf right but to have a reproducible build, you have to be able to build, and I don't think Krita exposes enough of an API that you could build a document through the main program by scripting it. I dunno, it sounds like you're saying the file is the build target, but I would say the file is your *source code*, the exported png is your build target. To get a reproducible krita build, I would say construct a save file and directly manipulate it? I might be misunderstanding.