I am working on creating an online image editing tool.Looking for some refernce how can I add an image with white space on right side.For example see this image
If anyone comes upon a similar problem, I would definitively recommend imgScalr. You can add padding with literally one line imageSource= Scalr.pad(imageSource,pad,Color.White);.