Issues with portraits

I have attempted to add portraits to my game, and while it worked, they ended up looking horrible, for the reasons:

1. 2 portraits ended up getting streched for some reason when I was resizing them to 96x96, while 2 others got sized to perfection (note that all of those portraits share the same pixel count for their canvases)

2. portrait ended up not being transparented in the making process, and making it transparent has been a HUGE issue, especially because I made this drawing in paint and I really dont know how to properly transparent it, So I used a greenbackground and told RPGmaker to make it transparent but that didnt really work because now there is a huge green crust in his portrait...

photos for all trouleshooting
It's a little late now, but I think the best solution to your problems is - draw the images using the correct settings in the first place. Make the canvas 96x96 and use GIMP or some image editor that supports a transparent background.

What were the actual dimensions of the original pictures? Can you post them here? If they're not square, then sizing them up to be square will stretch it. If they're rectangular, then you'd scale the largest dimension up to 96 then enlarge the canvas on the other dimension without scaling.

Similarly, why not use an actual image editor to remove the green and put the images on a transparent background?
It's a little late now, but I think the best solution to your problems is - draw the images using the correct settings in the first place. Make the canvas 96x96 and use GIMP or some image editor that supports a transparent background.

What were the actual dimensions of the original pictures? Can you post them here? If they're not square, then sizing them up to be square will stretch it. If they're rectangular, then you'd scale the largest dimension up to 96 then enlarge the canvas on the other dimension without scaling.

Similarly, why not use an actual image editor to remove the green and put the images on a transparent background?
their dimentions were rectangular indeed, im sorry but I didnt really get what you meant there...

honestly I did but only with the white BGs, I tried it now with the green background and it worked! sorry for being a little dense and not doing this lol, my brain was already pretty fried from resizing it I didnt think of much after...
because I made this drawing in paint
MS Paint does not support transparency, even in Win10 it destroys transparency on saving as PNG.
I don't know if they fixed that in Win11.

You should look for an alternative program, almost any other image program supports layers and transparency.
MS Paint does not support transparency, even in Win10 it destroys transparency on saving as PNG.
I don't know if they fixed that in Win11.

You should look for an alternative program, almost any other image program supports layers and transparency.
actually it does fully supports transparency, you have to make the canvas iself invisible right there in the layer system
I think the layer system was however only added on Win11 (dont quote me on that, Im assuming from things I have seen) , so I guess its a Win11 thing only
plus MS-Paint has the pixel tool that I like and gives drawings a certrain flair to them, but I never really searched for other programs that have it so :/
The original size for Agapi portrait is 1328x960.
If you resize it right away into 96x96, it'll look stretched.
Solution is to crop the original into 960x960 first, then resize into 96x96.

Here's what you did wrong:
Spoiler
Original - 1328x960
Agapi Example.jpg

Direct Resize - 96x96
Agapi Example Stretch.jpg

How to do it right:
Spoiler
Crop The Sides - 960x960
Agapi Example Crop.jpg

Resize - 96x96
Agapi Example Crop.jpg
The original size for Agapi portrait is 1328x960.
If you resize it right away into 96x96, it'll look stretched.
Solution is to crop the original into 960x960 first, then resize into 96x96.

Here's what you did wrong:
Spoiler
Original - 1328x960
View attachment 318339
Direct Resize - 96x96
View attachment 318340

How to do it right:
Spoiler
Crop The Sides - 960x960
View attachment 318341
Resize - 96x96
View attachment 318342
for agapi, its being kinda hard resizing in 960 because this would require me to crop his ears, am I still doing something wrong here? doing 960X960 on gimp makes him streched too
you need to get the picture into a square before resizing.
the easiest way would have been to crop 1328 to 960, but if that is not possible then you need two steps, first cropping 1328 to 1000 (or whatever is the needed number) and then increasing the canvas from 1000x960 to 1000 x 1000.

you can only resize after the dimensions are identical if you want to prevent distortions.

Original thread: https://forums.rpgmakerweb.com/threads/issues-with-portraits.172018/