Vcoderz Community

Vcoderz Community (http://forum.vcoderz.com/index.php)
-   Computers & Information Technologies (http://forum.vcoderz.com/forumdisplay.php?f=6)
-   -   Exclusive: The Bitmap Art Contest On Vcoderz!!! (http://forum.vcoderz.com/showthread.php?t=12293)

Google 04-11-2008 05:38 PM

Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Hello guys, by entering this thread you are invited to participate in the bitmap art contest!!!
Heda 2el contest houwe 2el 2awwal men naw3ou bel internet forums! and i'm glad to open it on vcoderz!
The winner is who creates the best bitmap picture with the best text content!
Ya3ne, you have to embed a text in a bitmap and try to give the bitmap a nice look!
In case you didn't understand what I said (I'm sure you didn't lol),
go and save this small picture on your pc (sosoblood.sitebooth.com/1.bmp), zoom it and view it then open it with notepad and see the text inside!
(Of course this is not my picture for this contest :P , it is just to give you the idea...)
I have put a 'V' above in the picture with some colors (I didn't want it to be blank), the real part is below the 'V' (this part contains the text) however, it doesn't look so specail, I want you to make something that looks special!!!
YA3NE BEL 3ARABE 2EL MSHABRA7, TRY TO MAKE A PICTURE FROM A TEXT!!!
The contest rules are:
1-Only a hex-editor is allowed to embed the text (no special programs!)...
2-The picture must be BMP 24-Bit 15x15 in pixels(we don't need images with large dimensions).
What you need to know for this contest is:
-How to convert between ascii and hex (you can use the conversion tool that i posted in : how do someone crack a software ).
-How to use a hex editor (I prefare to use Ultra-Edit).
In case, no one knows how to embed a text in a picture, I'll put a tutorial explain things...

Kingroudy 04-11-2008 06:34 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
tutorial please :P

Sogelec 04-11-2008 06:42 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Da Tutorial b 2owe Edgard:p...raked:p

Google 04-11-2008 06:43 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Ok ok, I guess 2ennou lezem 7et tutorial mishen ta 2el kell ya3ref kif yeshtegel w ykoun 3enna mounefase bi hal contest...
I'll put one but this may take some time...
So wait for the tutorial that talks about the RGB (Red Green Blue) :P and what is the structure of a pixel o the screen ...

Sheriff Ice 04-11-2008 07:13 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Quote:

Originally Posted by 454447415244 (Post 130459)
Ok ok, I guess 2ennou lezem 7et tutorial mishen ta 2el kell ya3ref kif yeshtegel w ykoun 3enna mounefase bi hal contest...
I'll put one but this may take some time...
So wait for the tutorial that talks about the RGB (Red Green Blue) :P and what is the structure of a pixel o the screen ...


i can help you, well guyz as you know the picture is composed of pixels and each pixel is 3 colors RGB (Red/Green/Blue) and each color is from 8 bits , so what we do is adding a 9th bit to the sequence so in this way we get a txt embeded into the picture without changing the pictur format :E

MARX ® 04-11-2008 07:15 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Mesh fehem shiiiiiiiiiiiii.................!!!!!

Tutorial please as sooon as possible............:):D

Sogelec 04-11-2008 07:17 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Quote:

Originally Posted by icemaker (Post 130462)
i can help you, well guyz as you know the picture is composed of pixels and each pixel is 3 colors RGB (Red/Green/Blue) and each color is from 8 bits , so what we do is adding a 9th bit to the sequence so in this way we get a txt embeded into the picture without changing the pictur format :E

And how do add the this 9th Bit Mr. Icemaker:Tawa:??? lol

Sheriff Ice 04-11-2008 07:22 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Quote:

Originally Posted by Sweets_HsN® (Post 130465)
And how do add the this 9th Bit Mr. Icemaker:Tawa:??? lol

or u write a script that can do this or u use a program that can do this :E :D

Google 04-11-2008 11:16 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
Each file in the computer has a header that discribes its type and attributes.
The header of a BMP 24-Bit file is 54 byte long...

Our BMP 24-Bit 15X15 header file will look like this:
42 4D 06 03 00 00 00 00 00 00 36 00 00 00 28 00
00 00 0F 00 00 00 0F 00 00 00 01 00 18 00 00 00
00 00 D0 02 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00

After this header we have the file data (in our case we have the pixel bytes)
Note that a pixel is a 'dot' on the screen...
Since we are dealing with a 24-Bit BMP picture, each pixel is represented by 3 bytes,
each byte is 8 bits long (3x8 = 24), and they are repectively RED, GREEN and BLUE.
Because one BYTE can represent 2 to the power of 8 (equaling 256) different values, one PIXEL can have 256 times 256 times 256 = 2 to the power of 24 = 16.777.216 different values !


#IN BINARY:
-A black pixel will look like:
red byte | green byte | blue byte
0 0 0 0 0 0 0 0 | 0 0 0 0 0 0 0 0 | 0 0 0 0 0 0 0 0
-A white pixel will look like:
red byte | green byte | blue byte
1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1
================================================== ==========
#IN DECIMAL:
-A black pixel will look like:
red byte | green byte | blue byte
0 | 0 | 0
-A white pixel will look like:
red byte | green byte | blue byte
255 | 255 | 255
================================================== ==========
#IN HEXADECIMAL:
-A black pixel will look like:
red byte | green byte | blue byte
00 | 00 | 00
-A white pixel will look like:
red byte | green byte | blue byte
FF | FF | FF

In our case we are interrested just in HEXADECIMAL because hex-editors deals only with hex
and we are going to write a picture using HEX!

After we create a blank white bitmap in 'MsPAINT.EXE' we open it in a hex editor
so it will look like this:

42 4D 06 03 00 00 00 00 00 00 36 00 00 00 28 00
00 00 0F 00 00 00 0F 00 00 00 01 00 18 00 00 00
00 00 D0 02 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. ..
.. ..
..
.ect.

Since you are beginner :P, don't change any byte in the header of the file!
All our work is on the bytes after the header...
Since each pixel have 3 bytes, if we want to get for example an orange color
we should then change 3 successive bytes to the following ==> FD 77 04 (This is
an orange pixel!), now click: file ==> save , and go check the picture, you should notice
that there is an orange pixel in the white bitmap!
You can change the color or make it more light or heavy by changing the numbers
(shaggel moukhayeltak!)
Note that you should take under consideration that not every successive 3 bytes you change belong
to the same pixel, because maybe the first byte belongs to the pixel before so in this case
changing these 3 bytes will result of changing the color of 2 pixels. So you should
trace each pixel, ya3ne the first, the second and the third byte directly after the header are the
bytes of the first pixel AND NOT the second, the third and the forth...(Got it?)

Now we come to the crucial part...
Like "FD 77 04" will give us the orange color, "4D 45 21" will give us another color!!!
The differance is that "FD 77 04" is a blablabla in ASCII (in real text) while "4D 45 21"
is equivalent to "ME!" in ASCII... So we should not use useless bytes, because we cannot write
a usefull text with them and embed it in the bitmap...

We should know that:
A=41 B=42 C=43 D=44 E=45 F=46 G=47 H=48 I=49 J=4A K=4B L=4C M=4D
N=4E O=4F P=50 Q=51 R=52 S=53 T=54 U=55 V=56 W=57 X=58 Y=59 Z=5A

a=61 b=62 c=63 d=64 e=65 f=66 g=67 h=68 i=69 j=6A k=6B l=6C m=6D
n=6E o=6F p=70 q=71 r=72 s=73 t=74 u=75 v=76 w=77 x=78 y=79 z=7A

0=30 1=31 2=32 3=33 4=34 5=35 6=36 7=37 8=38 9=39

@=40 .=2e !=21 ..................................

There are additional characters you may know...

This is the end of the tutorial i hope you enjoyed...
Now 2arjoune bara3etkon and try to make a meaningful picture from a text!!!
This is what the contest is about...
GOOD LUCK :P

Ma trou7 la b3id ya Icemaker, i'm not talking here about steganography, 2el 2essa hon ktir basita, bas yalle za3alne mennak 2ennak fehem 2el steganography galat, in steganography you don't add a 9th bit (khrabet 2el dene heik, we all know that the system is based on 2 so what the 9 have to do with it lol, we only have 8 bits and in steganography we change the least significant bit yalle houwe 2el bit 2el temen, w fi 2e7timel 2ennou ydal nafsou because houwe bikoun ya 1 ya 0...I think you didn't red the readme file i gave you with the program last time!

MARX ® 04-12-2008 09:32 PM

Re: Exclusive: The Bitmap Art Contest On Vcoderz!!!
 
thanks man for the tutorial......

bas for sara7a, ma fhemet minna shi :P :) :D


All times are GMT +1. The time now is 07:10 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger