hi again ,
1)i have problem with reading bmp file in 8 bit,do u know how can i load it in my program?
2) i still don't undrestand why the padding is
int padding = biWidth % 4;
:(
User Profile
Collapse
-
handling the image
Hi everybody,
Does anyone know how to crop bmp file?Last edited by Frinavale; Jul 4 '13, 01:29 PM. -
-
-
thanks Alex but where i put my path of file ? like this c:\document\d.d oc to open this file?Leave a comment:
-
get path
hi all i want to get the path of the file that i want to open it in argument of main() function how can i do it? -
At this point though, I gotta ask. Why can't you use the Image.FromFile method?
>>> where i can use it?Leave a comment:
-
in first code i use this befor the first loop>> int padding = biWidth % 4;<< and add this in the next loop >> fs.Seek(padding , SeekOrigin.Curr ent);<< beacuse the picture is shown Tilt .do u know why i could Division the biwidth on 4 ?Leave a comment:
-
do u know how i get bmp header and put pixel by pixel in arry then display it without using bitmap class, i don't have enough time :(Leave a comment:
-
do u know why this code don't work?
...Code:private void Form1_Load(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.ShowDialog(); FileStream fs = new FileStream(ofd.FileName, FileMode.Open, FileAccess.Read); BinaryReader br = new BinaryReader(fs); if (br.ReadChar().ToString() + br.ReadChar().ToString() == "BM")Leave a comment:
-
-
in this code at first we buffered the bmp then display it . i want to Simultaneous that we read the bmp, display it .Leave a comment:
-
thanks its work, i have another problem .
how to display bmp file pixel-by-pixel and line-by-line without buffering it? :)Leave a comment:
-
it's running but only get the path of file but don't display picture,sometim es say "this is not a bitmap file" .
i should get bmp file by its heder information then display it pixel-by-pixel
i have note enough time ,:(
thanksLeave a comment:
-
Display bmp in picturebox
...Code:PictureBox PictureBox1 = new PictureBox(); public void display(String filename) { FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read); BinaryReader br = new BinaryReader(fs); if (br.ReadChar().ToString() + br.ReadChar().ToString() == "BM") { int bfSize = br.ReadInt32(); -
how to read bmp file and show it in form
our master said we should write a program in c# language that receive or read byte byte of a bmp image then show it in form ,all this process should without using any ready component in VS .
I don't work with c# yet because of this reason I completely confused,
what i should to read?
how starting in this Little time?
what is the BKS format?
plz guid me.
...
No activity results to display
Show More
Leave a comment: