  The recent observations of the galactic center of the M87 galaxy have made
the field of observing black holes and calculating its shadow much more
intriguing. Approaching the question of calculating shadows, many
approximations are made in order to simplify the equations which makes the
considered case less realistic. Understanding the shadow of different
singularities under the influence of magnetic field is of more importance
astrophysically as the accreting matter around the singularity would generate
electromagnetic fields as it would be in plasma state due to the high tidal
effects. Here, we use Ernst technique to immerse spacetimes in uniform,
sourceless and asymptotic magnetic field. Later, we compare the effective
potential of null geodesics in magnetized and non-magnetized cases. This study
would be helpful in understanding the M87 shadow and the forthcoming image of
shadow of SagA*.
