Bitcoin Forum
April 18, 2024, 07:55:12 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Convert random file into image  (Read 1240 times)
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
June 30, 2011, 07:43:56 PM
 #1

Say I wanted to take a data file (like an excel file), and display it as an image.  I would imagine that it would just look like a bunch of white noise, but I've always been curious to see what kind of patterns develop.  I've already converted some excel files and other files to audio in the past, so I've listened to pictures and spreadsheets.  Anyway, how would I go about opening a file in a format that wouldn't cause an error (e.g. "This is not a valid .jpg format").  May a RAW?  Or BMP?
1713426912
Hero Member
*
Offline Offline

Posts: 1713426912

View Profile Personal Message (Offline)

Ignore
1713426912
Reply with quote  #2

1713426912
Report to moderator
1713426912
Hero Member
*
Offline Offline

Posts: 1713426912

View Profile Personal Message (Offline)

Ignore
1713426912
Reply with quote  #2

1713426912
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713426912
Hero Member
*
Offline Offline

Posts: 1713426912

View Profile Personal Message (Offline)

Ignore
1713426912
Reply with quote  #2

1713426912
Report to moderator
qbg
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
July 01, 2011, 02:03:13 AM
 #2

Say I wanted to take a data file (like an excel file), and display it as an image.  I would imagine that it would just look like a bunch of white noise, but I've always been curious to see what kind of patterns develop.  I've already converted some excel files and other files to audio in the past, so I've listened to pictures and spreadsheets.  Anyway, how would I go about opening a file in a format that wouldn't cause an error (e.g. "This is not a valid .jpg format").  May a RAW?  Or BMP?
Quick test to see if they might look like white noise: try compressing them -- if they don't compress very much at all, they will probably look very noisy.

If know a programming language, converting them to a bmp would be easy as it has a simple format.
bitplane
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250

Firstbits: 1gyzhw


View Profile WWW
July 01, 2011, 02:52:16 PM
 #3

Here's a tool I made for this, many years ago (it's for evading corporate mail filters, so it XORs the file)

http://bitplane.net/projects/misc/mail-filter-evasion/
bitlotto
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
July 01, 2011, 03:41:08 PM
 #4

http://www.ryanwestafer.com/stuff/bin2img.php

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
July 01, 2011, 04:30:47 PM
 #5

bitplane, nice tool!  Though a wallet file ends up being terrible unexciting....



bitlotto, I got your tool to work once or twice, but then couldn't get it to render a wallet file at width=100.  It only seemed to like the tall vertical strips, or would randomly output nothing at all.
Zncon
Jr. Member
*
Offline Offline

Activity: 46
Merit: 10


View Profile
July 01, 2011, 04:33:18 PM
 #6

Careful about posting that if you have coins in it... It's still convertible back to the file.
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
July 01, 2011, 04:34:41 PM
 #7

Feel free to convert it if you like.
bitlotto
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
July 01, 2011, 04:41:47 PM
 #8

but then couldn't get it to render a wallet file at width=100.
You uploaded your wallet!  Shocked If you have coins in them I'd put them in a different wallet now!

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
July 01, 2011, 04:49:57 PM
 #9

but then couldn't get it to render a wallet file at width=100.
You uploaded your wallet!  Shocked If you have coins in them I'd put them in a different wallet now!
I did indeed... unconvert it if you like.  Lot's o coins in there!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!