Scaling the item-slot-image?

  • #1, by nmvhThursday, 26. May 2022, 08:04 2 years ago
    Here's a very concrete question: is there a simple way to adjust the size of the image of an item that appears in the inventory interface? I can't seem to find the setting.

    All my item-images are size 200x200, which, I now realize, is a bit too large.

    Of course I could open all the images in Paint, and save them as 120x120, but I want to know how to do it in Visionaire.

    Thanks in advance!

    Newbie

    38 Posts


  • #2, by afrlmeThursday, 26. May 2022, 11:13 2 years ago
    Scaling down in Visionaire because you've made the images too large is counter-productive in regards to making your game as optimized as possible.

    While it's possible to scale images & animations up or down with script in Visionaire, I would instead recommend checking out XnConvert & batch resizing them all down to the intended size - you can even convert them to webp format in the process which should reduce the file size down even further. wink

    Here is the link to the guide I wrote on how to use XnConvert for batch converting images & animation frames into webp format. You will have to lookup a tutorial elsewhere on how to transform the size of the image using the actions tab, but it's easy to figure out by yourself anyway. There's a link to the download page for XnConvert on the tutorial page - don't worry the program is 100% free & it's really good.

    Quick note: you don't have to use lossless export option for webp, feel free to use lossy if you want to even further reduce the file size of images & animation frames - however I can't guarantee the quality will be exactly the same standard as the original png if you use lossy option, but feel free to experiment.

    Imperator

    7278 Posts

  • #3, by nmvhSaturday, 28. May 2022, 07:27 A year ago
    I will certainly check XnConvert out, thanks for the suggestion!

    Newbie

    38 Posts