Is it possible to add borders to bitmap objects?

Hello everyone, good afternoon. Let me see, this is the default battleback:
Spoiler
Please ignore the graphics. It's just a test.
mRvgHjN.png
As you can see, the image is well shifted on a black background. Is it possible to add some type of border in these maps? In this case, in the battleback image? Perhaps a single contour line could improve slightly visually. I'm trying to reproduce something similar to the Dragon Warrior's battle by just changing the positions of the windows on the RMVX Ace's standard battle system.
I personally have border fill method on my basic module (as well as entire fill)
Code:
class Bitmap
 
  # Fill entire bitmap with color
  def entire_fill(color = Color.new(0,0,0,150))
    fill_rect(self.rect,color)
  end
 
  # Fill bitmap edge only
  def border_fill(color = Color.new(255,255,255))
    fill_rect(0,0,width,1,color)
    fill_rect(0,0,1,height,color)
    fill_rect(width-1,0,1,height,color)
    fill_rect(0,height-1,width,1,color)
  end
 
end
Flawless! Could I use this snippet of code?
Of course!
Thank you very much! Problem solved. 😀

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-add-borders-to-bitmap-objects.92698/