Open doofus-01 opened 6 days ago
The scripts now fully function as intended. They do take a while to run, there is probably something that should be changed, but they should only need to be run once in a blue moon.
The image output is what really matters, but what I can post here are the output CSV of these two scripts. img-exif2csv_output.csv csv2img-exif_output.csv I'd like to proceed like this:
.webp
file sizes are significantly smaller after this, due to cwebp
.I requested Pentarctagon's review because it is derived from and functionally related to his copyrights script.
Should this still be marked as a draft?
Merge the image file updates in a subsequent PR (high risk, but is the real meat). Incidentally, the .webp file sizes are significantly smaller after this, due to cwebp.
While I know it's not part of this PR, I'm a bit concerned that the file sizes of existing webp images dropped significantly. This might be due to using lossy mode instead of lossless mode on webp images previously saved as being lossless?
This is the child of https://github.com/wesnoth/wesnoth/issues/8863
Figuring out how to do this without causing a lot of headaches isn't trivial - I will not address the actual image EXIF tag changes (all the images) here. The CI will also have to wait. For now, it's just getting these two maintenance scripts (derived from the existing
update_copyrights
script) to be ready.Ideally, the workflow goes like this:
copyrights.csv
and write that to the Exif tags of the wesnoth imagesThe initial run of
img-exif2csv
yields the attached CSV. img-exif2csv_output-original.csvcsv2img-exif
got hung up on some weird data in EI, so this isn't ready for prime-time.