Get rid of black border around pictures?

Hey hey!

So, I have graphics that show up in my game, but when a picture shows up, there is a black border that obscures all the edges of the picture. This didn't occur earlier in the game but I don't know what I did differently to make there be a border. I at first thought it was because of the size of the map itself but making the map bigger didn't help at all. Help?

Also, yes I made sure to save the original image to the size of the screen (which I made to 640 x 480)

Below are screenshots of the issue, first one is what appears in the game and the second is a screenshot of the full image. (another thing I noticed is that later pictures lost a lot of quality and turned distorted and pixely. I don't know if it's related or not but figured I'd bring it up)

uhoh.PNG
original.PNG
Did you alter any default scripts?
Or did you add custom scripts?
Did you alter any default scripts?
Or did you add custom scripts?
A long time ago I added Yanfly's Base Core script and changed the resolution of the screen there.
Did you add that picture via Show Picture?
Or is it part of a custom script?
how big is your picture in pixels?
how large is the map when using show picture in tiles?
what is the screen size you set in yanfly's core?
are you using any form of zoom script?

Basically there are several possibilities that can have caused this, usually if one of the numbers is smaller than the others.

(another thing I noticed is that later pictures lost a lot of quality and turned distorted and pixely. I don't know if it's related or not but figured I'd bring it up)
it's not directly related, but it indicates that the picture was either zoomed or recalculated - make sure your show picture is set to 100%.
how big is your picture in pixels?
how large is the map when using show picture in tiles?
what is the screen size you set in yanfly's core?
are you using any form of zoom script?

Basically there are several possibilities that can have caused this, usually if one of the numbers is smaller than the others.


it's not directly related, but it indicates that the picture was either zoomed or recalculated - make sure your show picture is set to 100%.
The picture was resized to 640 by 480 in GIMP and then added to the game via Show Picture. (I wonder actually if it was because of the way i imported the pictures, that being through the program itself instead of manually putting it in the folder.) (update, it was not)

The screen size I set in Yanfly's core is 640 x 480.

I did add a Fullscreen ++ script yesterday, but that was to see if it solved the issue, so the problem was there before i added the script and did nothing to help it.

how big is your picture in pixels?
how large is the map when using show picture in tiles?
what is the screen size you set in yanfly's core?
are you using any form of zoom script?

Basically there are several possibilities that can have caused this, usually if one of the numbers is smaller than the others.


it's not directly related, but it indicates that the picture was either zoomed or recalculated - make sure your show picture is set to 100%.
I figured it out!! I just had to change the size of the map! I had done it before and it didn't work, but I accidentally goofed one of my transfers and it was taking me to the wrong map, but I figured ut out and it works great now! Thank you!!
I figured it out!! I just had to change the size of the map!
that is exactly why I asked for the map size in my list of questions above, because if the map is smaller than the picture the picture will be cut off.
that is exactly why I asked for the map size in my list of questions above, because if the map is smaller than the picture the picture will be cut off.
Thank you for your help! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/get-rid-of-black-border-around-pictures.168850/