jarun / imgp

:camera_flash: Fast batch image resizer and rotator
GNU General Public License v3.0
1.03k stars 50 forks source link

Add in the ability to modify DPI #25

Closed sammarder closed 6 years ago

sammarder commented 6 years ago

I would really like to have the ability to modify this in an image but I am not sure how to alter the code to do so.

jarun commented 6 years ago

Changing DPI changes the metadata of the image and not the content. This is not in the scope of the project. However, you can write a small script in PIL to do the same. Here's some sample code.