does not increase resolution. This term is misleading. The change in this parameter does not change anything in the presentation of the bitmap, in its content. It only fills in metadata showing how many dots per inch does it have by default. In other words, it defines some default scaling of the image, which can be used, say, for printing. Please see:
Record User Activity
You want to increase the size of the bitmap in pixels. You are not even trying to do it: your bitmap is 3508x2480, and then you try to draw it as 3508x2480. Nothing changes. But if you really up-scaled the image, the quality of the result could be very poor. Actually, you cannot effectively enlarge the image by a considerable factor with good quality. More exactly, there are some "intellectual" algorithms for doing such things, such as fractal compression
]; yes, compression, in that sense, can help to enlarge images with better quality), but the results are still limited. And this is called "re-sampling".
Even though the size of the bitmap in pixels is often called "resolution" and is related to resolution, in fact, this stuff has nothing to do with "resolution". Resolution is the ability to resolve two separate features as separate in imagine. Let's say, if you have two closely located features of some object, and then make an image with certain lens and camera, these two features can look blurred together or distinct. Resolution is usually measured in lines per mm (or inch) and characterized the ability to reproduce some sample pattern, usually a periodic pattern of contrast straight lines…