All the code is shared here for any image manipulation