Custom GUI Editor Add Image Not To Scale

Published by Conb0rg on
Issue description

I had the idea of making my own custom mod. And as a lot of other mods have, a custom book when you spawn into a new world. In order for me to do this I have to make my own custom GUI's for each page of the book. But when I click the "Add image" button and import my image, it does not fit. And when I resize my image and import it again, it just makes my image distorted and blurry. 

So that's why I would like for a feature to be added that would be able to edit images, resize them, and make it easier to make custom books in a mod.

 

   - Conborg

Issue comments

Images are resized to 256x256 so I suggest you to have the image you are importing in such dimensions. If the image is smaller, just fill the rest of the image with transparency. We do plan to improve this in the future updates.

Awesome thanks! I'll see what I can do, and have a good day!

2020.5:

  • Added option to select scale ratio of custom GUI images to 1X original or 2X Minecraft scale
  • Improved custom GUI image selection process and added edit option
  • [Bugfix] Overlay base textures did not scale properly in some cases
  • [Bugfix #57987] Custom GUIs could not be larger than 512x512 (256x256 in Minecraft scale)
  • [Bugfix #57987] GUI images could not be larger than 256x256 pixels