Saving non-image files as PNG by renaming to RAW format

  • Thread starter Thread starter SF
  • Start date Start date
  • Tags Tags
    files Images
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
8 replies · 7K views
SF
No one thought something useful could be learned on 4chan, until now.

http://orz.4chan.org/hr/res/381892.html

Apparently renaming a file (such as an .mp3) to .raw and then saving it (using IrfanView or Photoshop) to PNG will allow you to retain the useful information in the image file.

When converting the PNG back to RAW and renaming it to have the original extension, you'll get the original file.
 
Last edited by a moderator:
Physics news on Phys.org
And why would that be useful? Why not just save it as its original file? Is it compressed more that way?
 
Well, that link is broken, so I can't comment on the source of your information. However, your description sounds like a pointless exercise.

Simply renaming a file does not change the file's structure -- "myfile.mp3" renamed as "myfile.raw" is still a mp3 file. Second problem, "RAW" files are uncompressed image files created by digital cameras. Once you convert a RAW file to PNG (or anything else) you have lost image data. Saving a PNG as "RAW" can't restore that lost data.
 
pantaz said:
Well, that link is broken, so I can't comment on the source of your information. However, your description sounds like a pointless exercise.

Simply renaming a file does not change the file's structure -- "myfile.mp3" renamed as "myfile.raw" is still a mp3 file. Second problem, "RAW" files are uncompressed image files created by digital cameras. Once you convert a RAW file to PNG (or anything else) you have lost image data. Saving a PNG as "RAW" can't restore that lost data.
Apparently it does.

I saved a PNG as .RAW, renamed it to MP3 and got an .mp3 of the Rick Roll.

Possible applications relate to hiding stuff.
 
Was the original png file really a picture? I'd certainly like to see a file which is both an image and can be played as an audio file.
 
http://www.mediafire.com/?n1b54zj5tgz .png
http://www.mediafire.com/?xbgdnt65v5z .tga

Open them with IrfanView or Photoshop and save them as .RAW, then rename to .MP3 so Winamp would play them.
 
Last edited by a moderator:
It works. But strangely, when I tried to do the reverse by taking one my own mp3 files and reversing the process and then applying this procedure the media player failed to play the decoded mp3 file.
 
Oh god, not 4Chan, the cesspool of the internet
 
vincentm said:
Oh god, not 4Chan, the cesspool of the internet

Ditto that!