Is it possible to change texture canvas size?

For example.
I have image 500x500 px

Can I change it to 520x520px in blender?
Those additional pixels can be white, black or [best option] transparent.

can be done in Gimp !

happy bl