The generated size is the next thing on my list, i tried before but had some problems. Will look again in godot 4.1.
Edit: Strange thing is i AM compressing the images. The generated spritesheets have much smaller size. I really can't say why adding them by code is making it so large.