How to edit a JPG?
A bitmap image is a data file, made up of a pixel grid or color dots. You can reduce the size without losing quality, however you will lose some quality if you increase the size of the image.
To edit this kind of resources, you will need an edition software like Adobe Photoshop, but there are plenty of online edition softwares that you can use to manipulate a JPG file.