Recent content by hadi amiri 4
-
H
How to Manipulate the LSB of Each Byte in a 24-Bit BMP Image?
what is wrong with this code? typedef unsigned long DWORD; typedef unsigned short WORD; typedef struct { int Signature; DWORD Size; DWORD Reserved; DWORD BitsOffset; } BITMAP_FILEHEADER; typedef struct { DWORD HeaderSize; DWORD Width; DWORD Height; WORD Planes...- hadi amiri 4
- Post #10
- Forum: Programming and Computer Science
-
H
How to Manipulate the LSB of Each Byte in a 24-Bit BMP Image?
Thank you Borek for this piece of code.i will go to implement it to what i want.and don't worry i will not bombard you with questions until i read it (the codes)carefully and check my courses stuff.but be ready !- hadi amiri 4
- Post #9
- Forum: Programming and Computer Science
-
H
How to Manipulate the LSB of Each Byte in a 24-Bit BMP Image?
Dear Borek Can you translate the last sentence into C language i would be very thankful:blushing:- hadi amiri 4
- Post #7
- Forum: Programming and Computer Science
-
H
How to Manipulate the LSB of Each Byte in a 24-Bit BMP Image?
in page http://en.wikipedia.org/wiki/BMP_file_format" at the bottom ther is a table which draws the contents of the a 2x2 bmp pictures the are in 0x :42 4D 46 00 00 00 00 00 36 00 ...00 FF 00 00 00 so they are separate numbers stored in bytes,and if i (for example) want to modify the LSB of...- hadi amiri 4
- Post #6
- Forum: Programming and Computer Science
-
H
How to Manipulate the LSB of Each Byte in a 24-Bit BMP Image?
I know the internal structure of .bmp and i know that it is made of headers which contains information about the .bmp like width,height ,bitdepth. but my problem is that how to open it into my program .i have seen lots of codes on the internet that are named for example "bitmaploader" or thing...- hadi amiri 4
- Post #4
- Forum: Programming and Computer Science
-
H
How to Manipulate the LSB of Each Byte in a 24-Bit BMP Image?
Hello every body : i am very new to programming ,i am trying to write a programme that will work on the LSB of each byte in a 24 bit picture. now my question is how to treat a .bmp file ,i mean can i consider it as an array of integers with leth (for example)800x600. and start to changing the...- hadi amiri 4
- Thread
- Picture
- Replies: 9
- Forum: Programming and Computer Science
-
H
The Next Step in Learning C Programming: Suggestions & Resources
Hello every body! I have read "The C Programming Language" and i want to know if i want to go further what is the next book you suggest?- hadi amiri 4
- Thread
- C programming Programming Resources Suggestions
- Replies: 1
- Forum: Programming and Computer Science
-
H
C# Can anyone explain what this c# code does or give a C equalivent?
These two functions are used for empadding and extracting the bits from a byte ,they are used for steganography with LSB method in 24-bit .bmp pics,i just wanted to kmow that how they work ,i mean with some examples.can anyone help?:biggrin:- hadi amiri 4
- Post #5
- Forum: Programming and Computer Science
-
H
C# Can anyone explain what this c# code does or give a C equalivent?
C# vs c ! Hello every body! can anyone explain what this c# code does or give a C equalivent? public static void Replace(ref byte b, int pos, byte value) { b = (byte) (value == 1 ? b | (1 << pos) : b & ~(1 << pos)); } public static byte...- hadi amiri 4
- Thread
- Code Explain
- Replies: 5
- Forum: Programming and Computer Science
-
H
Graduate How Can You Solve This Challenging Integral Evaluation Problem?
your solution seems nice honestly i thought it is a hard one,becouse i picked it form "A coures of pure mathematics"- hadi amiri 4
- Post #3
- Forum: Calculus
-
H
Graduate How Can You Solve This Challenging Integral Evaluation Problem?
Evaluate \int\frac{arctan(x)dx}{(1+x^2)^\frac{3}{2}}- hadi amiri 4
- Thread
- Integral
- Replies: 2
- Forum: Calculus
-
H
Program that can steganograph a picture (BMP)?
a 24 bit pticture uses 3 bytes for a pixel like this(11111111,11111111,11111111) but a 8 bit picture uses a byte for showing a pixel like this (11111111) the question is that in 24 bit pics first 8 bits are (?) for blue and next 8 bits for green and finally for red. how the RGB is for 8bit...- hadi amiri 4
- Post #21
- Forum: Programming and Computer Science
-
H
Program that can steganograph a picture (BMP)?
thanks for you'r suggestions i will come back soon with:wink: new questions.- hadi amiri 4
- Post #20
- Forum: Programming and Computer Science
-
H
Program that can steganograph a picture (BMP)?
how languages treat the bmp files? do they treat diffrently? i mean how a language like c treat a bmp file?- hadi amiri 4
- Post #16
- Forum: Programming and Computer Science
-
H
Program that can steganograph a picture (BMP)?
LSB method has a simple explanation but when we want to implement it to a BMP image with C it doesen't become as easy as you said i don't know how to start and how should i start coding i have no starting point and that's terrible! can anyone give more help please?:blushing:- hadi amiri 4
- Post #14
- Forum: Programming and Computer Science