1). using winrar to open your rom file (I m using winrar, maybe other unzip tools work fine too) but don't extract the files
2). Go to the folder system/app, find the camera samsungcamera.apk (I m using omega rom)
3). double click this apk file but dont extract it as well, rename your PNG file...