I suggest something slightly different but you need photoshop software.
Using photoshop you open a good quality fig (if bad quality it will not improve when you put it in 300 ppp)
Once opened with photoshop , you go to "image size" (top up in tools bat) and there is an option, you click in it and a display is opened in wich you select directly 300 ppp and the size. This image attached may help: you should click in one of the last 4 options (all are 300 ppp). Then "save as": tif without layers (no compressions are needed). In the attached fig "pulg" (4x6, 5x7 pulg..) refer to inches
I use IrfanView a free program https://www.irfanview.com/ for converting many photo . You can convert images between different formats, also batch crop, change size, set dpi, change color depth and more. From file menu chose batch conversion,rename/advanced/set new dpi and set it to 300 or more. As shewn in the following screenshots
For one Image you can use the following sequence, from file menu , open file, from image menu select resize/re-sample change dpi as you need. As shown in the following screenshots
Hi dear Mohammad Zakwan, you can simply create 300 dpi in MS power point. First you have to change MS power point setting (see the attached video reference).Simply paste the image or graph as editable (keep source formatting and embed workbook) and save as tiff or JPEG as per your requirement. It will show 300 dpi clear image.
I think using the Photoshop program is the best way to set the exact DPI value on your images. First, open your 96 DPI image in Photoshop. Then go to 'Image' tab and select "Image Size" and set the resolution on 300 DPI (Pixels/Inch) and then save it.
If you are still stuck with this, I would like to share my Python code for high resolution (default: 300 dpi) conversion.
Just place the script inside the PHOTOS folder like the idea of Kristofer Lasko Kristofer Lasko . With the installation of Python 3, all you need is simply run 'python high_resolution_conversion.py'. It will automatically change the resolution of all images to 300 DPl.
Here's the link to the code: https://drive.google.com/drive/folders/1IE--yuRS3KA1oMsvTcWKokuwnKiLz9wv?usp=sharing
Once I uploaded a figure, I couldn't withdraw it. When I pressed the convert button, I lost my figure without getting any outcome. I wouldn't recommend using the site.