AttributeError: 'NoneType' object has no attribute 'dpi'

Hi md05owais,

Thanks for sharing your question with the community! Check out our guidelines on how to post an effective question here – in particular, please update your post to include a code snippet so we can reproduce the issue and a link to the deployed app if possible.