Write some Software

What I have doed myself is (see attachment):

1, I load a 32-bit-depth PNG file (1 pixel 4 byte) into a byte array.

2, I manipulate the byte array thus changing the pixels.

so far everything works... but what I can't seem to do is:

3, Take this manipulated byte array and save it back into a new PNG file.

So in short, your task is to write me a code snippet, a function, that

1, takes a byte array (containing the pixel data of a loaded 32 bit depth PNG file)

2, takes a string containing the Directory bath + the file name of the new png file.

3, creates this 32-bit-depth PNG file in the specified directory.

The code should be as simple and clean as possible. Nothing too fancy... I am a newbie programmer and would love to easily understand it.

Thank you.

The byte array - that needs to be saved - contains the picture data in
"Blue (1byte), Green (1byte), Red (1byte), Alpha(1byte)" format
(so 4 byte / pixel)

Keahlian: Pemrograman C#

Lihat lebih lanjut: write program reads strings characters determines string palindrome, task write program java graphical user interface calculate display mortgage payment amount user input amount mortgage term mortg, search function iphone directory, indian industrial data directory, free software kitchen bath planning, data directory, best data directory format, definition design data directory project, extract data directory server, design data directory, extract data directory, uae business data directory excel format, add data directory, task write essay topic immigration

Tentang Pemberi kerja:
( 1 ulasan ) Mosonmagyarovar, Hungary

ID Proyek: #11723515

Diberikan kepada:


Hello! You can save byte array in such way: SaveFileDialog SFD = new SaveFileDialog(); [url removed, login to view] = "File PNG|*.png"; if ([url removed, login to view]() == true) { Lebih banyak

€12 EUR dalam 1 hari
(2 Ulasan)

8 freelancer menawar dengan rata-rata €23 untuk pekerjaan ini


Hello sir. I red your problem. Please share your code i'll take look on it and try to fix it. Regards Usman Shery

€23 EUR dalam 1 hari
(36 Ulasan)

I will save byte array to png image. Please give me more detail ther further any changes you want. I have done masters in image processing over the GPU using CUDA. So, i can fix this your problem better.

€19 EUR dalam 1 hari
(8 Ulasan)
€23 EUR dalam 1 hari
(0 Ulasan)

Hi, I think this code should work. If it does, please accept my bid, if not send me your code. private void button1_Click(object sender, EventArgs e) { //image to byteArray Image im Lebih banyak

€14 EUR dalam 2 hari
(4 Ulasan)
€25 EUR dalam 1 hari
(32 Ulasan)
€20 EUR dalam 2 hari
(0 Ulasan)

Dear hiring manager, I am a full stack software developer with 12+ years experience with software development, 8+ years experience with .net framework and sql server and 6+ years experience with mvc I got Lebih banyak

€50 EUR dalam 1 hari
(36 Ulasan)