OpenKh
OpenKh copied to clipboard
[BUG] - Image Viewer saves bloated fontimage.bar
OpenKH Build Release 1393
OpenKH Program OpenKh.Tools.ImageViewer
Describe the Bug Upon saving an edited fontimage.bar file, the size is increased from 233kb to 425kb.
To Reproduce Steps to reproduce the behavior:
- Open Image Viewer
- Replace one of the images in the file (in this case, sysfont, image index 0)
- Append 4-bpp change with pngquant enabled
- Save changed file
Expected behavior File should be 233kb.
Additional context I have verified through multiple attempts that the image size is 1:1 how it should be. In this case, 512x256, same as the unmodified fontimage file from the vanilla, untouched ISO. I will be including a zip with three files within:
- The modified png I wish to use
- The unmodified original bar file
- The saved bar file that I get upon going to File > Save
Will look into this.
Where is the ZIP file you said you would include?
msg.zip I am an idiot and forgot to include this. Hee hee...
Editing fontimage is not supported by the Image Editor yet. The issue you are having happens because the tool creates IMGD images instead of RAWBMP images.
We should address this somehow.
Tagged as 'not a bug' since it technically is not a bug. It's just the lack of a feature. I am too lazy to implement RAWBMP support, however. Someone else wanna take a gander? If nobody does... anything in a week, I will do so.
If nobody does... anything in a week, I will do so.
It has been over a week.
If nobody does... anything in a week, I will do so.
It has been over a week.
Will be addressed in the AvaloniaUI builds. Please follow #441 for more information.