APC is a simple Python script that help you to convert pixels between two different density resolution.