You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great program! Thankyou!
Is there a way I can set the default dpi for the cropped images?
My original photos are JPEG 300dpi files but windows reads what comes out as 96dpi.
If possible, could you please point me in the direction of the line of code where I could adjust the default?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is a great program! Thankyou!
Is there a way I can set the default dpi for the cropped images?
My original photos are JPEG 300dpi files but windows reads what comes out as 96dpi.
If possible, could you please point me in the direction of the line of code where I could adjust the default?
Best guess... it's in cli.py
https://github.com/leblancfg/autocrop/blob/master/autocrop/cli.py
Changing line 29 from
img_new.save(output_filename)
To something like this
img_new.save(output_filename, dpi=(300,300))
Read about it here: https://stackoverflow.com/questions/9174338/programmatically-change-image-resolution
Beta Was this translation helpful? Give feedback.
All reactions