RandomPatches (Forge)

RandomPatches (Forge)

56M Downloads

Crash when setting Logo

NielsPilgaard opened this issue ยท 6 comments

commented

Hello o/

I crashed while trying to set the Minecraft logo to a custom one - I'm guessing the png I tried this time was corrupt in some way, cause other pngs work. Anywho, I figured I would report it.

Java log, was put in my instance root after the crash:
https://gist.github.com/NillerMedDild/ab2c42273a72f803db21082ddc47c30e

Png I used for easier testing:
icon2

Version

  • randompatches-1.14.4-1.19.0.0
commented

The image I had trouble with already has a transparent background, I'm guessing that was lost when downloaded. I'm curious, how did you make it transparent? Maybe it's my method that's at fault.

commented

I believe my method messed up the picture, I just tried with a version I made transparent with photoshop, and that seems to work out of the box. Thanks for your help again.

commented

RandomPatches should correctly resize the icon now.

commented

Thanks!

commented

The crash is gone, but the resizing doesn't look quite right. Below is what the icon for the above image, with a transparent background, looks like.
billede

commented

I'm not sure why, but when the background is made transparent, the icon appears correctly. I'll investigate this soon.
Logo with transparent background:
image
Taskbar icon:
image
#65