Article View: pl.comp.lang.vbasic
Article #105040Decoding Images
From: Paul Lakin
Date: Fri, 02 Apr 1999 18:27
Date: Fri, 02 Apr 1999 18:27
80 lines
3735 bytes
3735 bytes
Hi, Ive got a problem. I need to make a program which can tell which pixles
in an image have changed. So for this to work I need the image to be in an
easy to use format:
e.g. Below is what it would look like in paint. (# = 1 Black Pixle)
(_, |, - is equal to border, not visible in paint)
_________________
| |
| ## ## |
| ## ## |
| ## ## |
| ########### |
| ########### |
| ## ## |
| ## ## |
| ## ## |
| |
----------------------------
And my program would decode that image into
00000000000000000
00011000000011000
00011000000011000
00011000000011000
00011111111111000
00011111111111000
00011000000011000
00011000000011000
00011000000011000
00000000000000000
where 0=white, 1=black.
So, I thought I could try just opening the image in paint, but all that was
there was giberish, in no particular order:
I have drawn a basic drawing of what the image looked like in Paint. (# = 1
Black Pixle)
1) This one has no black pixles on it, it is blank. In notepad it looks like
this:
BMN > ( t t ˙˙˙ đ đ đ °
Basic Drawing: ____
| |
| |
| |
| |
--------
2) This one has 1 black pixle in the top-left corner, the rest is blank. In
notepad it looks like this:
BMN > ( t t ˙˙˙ đ đ đ đ
Basic Drawing: ____
|# |
| |
| |
| |
--------
3) This one has 1 black pixle in the top-second pixle, the rest is blank. In
notepad it looks like this:
BMN > ( t t ˙˙˙ đ đ đ p
Basic Drawing: ____
| # |
| |
| |
| |
--------
4) This one has 2 black pixles in the top-left pixles, the rest is blank. In
notepad it looks like this:
BMN > ( t t ˙˙˙ đ đ đ 0
Basic Drawing: ____
|## |
| |
| |
| |
--------
If these images come out rubbish on your email client, tell me and I will
send you the origional Bitmaps. Can anyone help?
Thanks in Advance,
Paul Lakin
Technical Details
Message-ID:
<7e327q$lnh$1@newnews.global.net.uk>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!cyfronet!news.icm.edu.pl!nntp.primenet.com!news.maxwell.syr.edu!nntp.news.xara.net!xara.net!news.itg.net.uk!usenetShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!cyfronet!news.icm.edu.pl!nntp.primenet.com!news.maxwell.syr.edu!nntp.news.xara.net!xara.net!news.itg.net.uk!usenet From: "Paul Lakin" <p_lakin@email.com> Newsgroups: alt.binaries.cracks,alt.cracks,alt.fan.habanec,alt.global.chat,global.chat,global.test,microsoft.public.vb.controls,microsoft.public.vb.controls.internet,pl.comp.lang.vbasic,viwa.crack.and.hack Subject: Decoding Images Date: Fri, 2 Apr 1999 19:27:29 +0100 Lines: 82 Message-ID: <7e327q$lnh$1@newnews.global.net.uk> NNTP-Posting-Host: 194.126.84.228 X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit