Save files as images

  • Thread starter SF
  • Start date
  • #1
SF
No one thought something useful could be learned on 4chan, until now.

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

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:

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,847
966
And why would that be useful? Why not just save it as its original file? Is it compressed more that way?
 
  • #3
586
2
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.
 
  • #4
SF
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.
 
  • #5
Defennder
Homework Helper
2,591
5
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.
 
  • #6
SF
http://www.mediafire.com/?n1b54zj5tgz [Broken] .png
http://www.mediafire.com/?xbgdnt65v5z [Broken] .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:
  • #7
Defennder
Homework Helper
2,591
5
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.
 
  • #8
323
3
Oh god, not 4Chan, the cesspool of the internet
 
  • #9
ranger
Gold Member
1,680
1
Oh god, not 4Chan, the cesspool of the internet

Ditto that!
 

Related Threads on Save files as images

Replies
1
Views
3K
Replies
1
Views
3K
G
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
770
Replies
3
Views
941
  • Last Post
Replies
4
Views
924
  • Last Post
Replies
11
Views
7K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
2K
Top