Return to Unfiction unforum
 a.r.g.b.b 
FAQ FAQ   Search Search 
 
Welcome!
New users, PLEASE read these forum guidelines. New posters, SEARCH before posting and read these rules before posting your killer new campaign. New players may also wish to peruse the ARG Player Tutorial.

All users must abide by the Terms of Service.
Website Restoration Project
This archiving project is a collaboration between Unfiction and Sean Stacey (SpaceBass), Brian Enigma (BrianEnigma), and Laura E. Hall (lehall) with
the Center for Immersive Arts.
Announcements
This is a static snapshot of the
Unfiction forums, as of
July 23, 2017.
This site is intended as an archive to chronicle the history of Alternate Reality Games.
 
The time now is Thu Nov 14, 2024 11:24 am
All times are UTC - 4 (DST in action)
View posts in this forum since last visit
View unanswered posts in this forum
Calendar
 Forum index » Archive » Archive: The Haunted Apiary (Let Op!) » The Haunted Apiary (Let Op!): Puzzles
[META] Distorted image text script
View previous topicView next topic
Page 1 of 1 [1 Post]  
Author Message
mbgNarnian
Boot

Joined: 26 Jul 2004
Posts: 15

[META] Distorted image text script

The following is a script for UNIX systems (and UNIX-based systems like Mac OS X) that will find the text in most of the distorted images without much noise to go along with it. It isn't perfect - some images have had text in them that fools strings. I don't know of a non-manual method for finding that yet.
Code:
#!/bin/sh

strings $1 > $1.STRINGS
strings $2 > $2.STRINGS
diff -u0 $1.STRINGS $2.STRINGS
rm $1.STRINGS $2.STRINGS

To use the script, you need the same image in its distorted and non-distorted form. Run the script from the command line with the images as the arguments. For example, if you name the script dtextfind and have BUTABOUT.gif and BUTABOUT-1.gif as the two images, run:
Code:
dtextfind BUTABOUT.gif BUTABOUT-1.gif

The output will look something like this:
Code:
--- BUTABOUT.gif.STRINGS        Wed Aug 25 10:22:00 2004
+++ BUTABOUT-1.gif.STRINGS      Wed Aug 25 10:22:00 2004
@@ -2 +1,0 @@
- as


PostPosted: Wed Aug 25, 2004 10:33 am
 View user's profile
 Back to top 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
View previous topicView next topic
 Forum index » Archive » Archive: The Haunted Apiary (Let Op!) » The Haunted Apiary (Let Op!): Puzzles
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
You cannot post calendar events in this forum



Powered by phpBB © 2001, 2005 phpBB Group