getPixelsFromDensityAndDp

Return

an adjusted dimension in pixels for an image for display in big image push.

Parameters

dpi

dpi of the screen

dp

dimension of the original image