|
|
|||||||
| Computers & Information Technologies « Everything related to computers and internet. » |
![]() |
|
|
Share | Thread Tools | Search this Thread |
|
|
#1 |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
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... Last edited by Google; 04-11-2008 at 06:51 PM. |
|
|
|
| The Following User Says Thank You to Google For This Useful Post: | Sheriff Ice (04-11-2008) |
|
|
#2 |
|
Super Moderator
Last Online: 02-16-2022
Join Date: May 2006
Posts: 5,580
Thanks: 1,888
Thanked 2,653 Times in 1,593 Posts
Groans: 55
Groaned at 35 Times in 32 Posts
|
tutorial please :P
__________________
click on 'Groan' to switch to my left testicle. |
|
|
|
|
|
#3 |
|
Vcoderz Team
Last Online: 04-23-2014
Join Date: Oct 2006
Posts: 2,263
Thanks: 3,359
Thanked 2,433 Times in 1,226 Posts
Groans: 12
Groaned at 5 Times in 5 Posts
|
Da Tutorial b 2owe Edgard
...raked![]() |
|
|
|
|
|
#4 |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
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 ... |
|
|
|
| The Following User Says Thank You to Google For This Useful Post: | Sogelec (04-11-2008) |
|
|
#5 | |
|
info@sync.com.lb
Last Online: 11-29-2020
Join Date: Apr 2006
Posts: 3,827
Thanks: 1,348
Thanked 2,391 Times in 1,306 Posts
Groans: 0
Groaned at 16 Times in 15 Posts
|
Quote:
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
__________________
http://www.gamync.com Lebanese Produced Mobiles Games by http://www.sync.com.lb |
|
|
|
|
| The Following User Says Thank You to Sheriff Ice For This Useful Post: | Sogelec (04-11-2008) |
|
|
#6 |
|
Registered Member
Last Online: 02-15-2012
Join Date: Oct 2007
Posts: 1,301
Thanks: 1,291
Thanked 663 Times in 428 Posts
Groans: 4
Groaned at 0 Times in 0 Posts
|
Mesh fehem shiiiiiiiiiiiii.................!!!!!
Tutorial please as sooon as possible............
|
|
|
|
|
|
#7 | |
|
Vcoderz Team
Last Online: 04-23-2014
Join Date: Oct 2006
Posts: 2,263
Thanks: 3,359
Thanked 2,433 Times in 1,226 Posts
Groans: 12
Groaned at 5 Times in 5 Posts
|
Quote:
??? lol
|
|
|
|
|
|
|
#8 |
|
info@sync.com.lb
Last Online: 11-29-2020
Join Date: Apr 2006
Posts: 3,827
Thanks: 1,348
Thanked 2,391 Times in 1,306 Posts
Groans: 0
Groaned at 16 Times in 15 Posts
|
or u write a script that can do this or u use a program that can do this :E
__________________
http://www.gamync.com Lebanese Produced Mobiles Games by http://www.sync.com.lb |
|
|
|
| The Following User Says Thank You to Sheriff Ice For This Useful Post: | Sogelec (04-11-2008) |
|
|
#9 |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
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! Last edited by Google; 04-11-2008 at 11:38 PM. |
|
|
|
| The Following 3 Users Say Thank You to Google For This Useful Post: |
|
|
#10 |
|
Registered Member
Last Online: 02-15-2012
Join Date: Oct 2007
Posts: 1,301
Thanks: 1,291
Thanked 663 Times in 428 Posts
Groans: 4
Groaned at 0 Times in 0 Posts
|
thanks man for the tutorial......
bas for sara7a, ma fhemet minna shi :P
|
|
|
|
![]() |
|
| Tags |
| art, bitmap, contest, exclusive, vcoderz |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|